foundry icon indicating copy to clipboard operation
foundry copied to clipboard

failed to extract foundry config: foundry config error

Open Godtide opened this issue 6 months ago • 8 comments

I need help fixing the error below, after adding [dependencies] OpenZeppelin = { git = "https://github.com/OpenZeppelin/openzeppelin-contracts", tag = "v4.4.1" } to the foundry.toml file and running forge build. I get the error
The application panicked (crashed). Message: failed to extract foundry config: foundry config error: data did not match any variant of untagged enum SoldeerDependencyValue for setting dependencies.OpenZeppelin

Location: crates/config/src/lib.rs:559

Screenshot 2024-08-10 at 15 15 00

before adding the dependency I got the error Compiler run failed: Error (6275): Source "lib/ajna-core/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol" not found: Screenshot 2024-08-10 at 15 26 42

Godtide avatar Aug 10 '24 14:08 Godtide