Replies: 1 comment 6 replies
-
If you run However, the actual path of the file is probably So you'll want to update your remappings so it can find the file |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I a having issues writing a simple test, quite new to Foundry.
Here is my
remappings.txt
fileHere is my foundry.toml
Here is my test file:
But i am getting an error here:
[⠊] Compiling...
Error:
Failed to resolve file: "/home/joedakwa/joe/foundry/hello_foundry/lib/openzeppelin-contracts-upgradeable/contracts-upgradeable/access/OwnableUpgradeable.sol": No such file or directory (os error 2).
Check configured remappings..
--> "/home/joedakwa/joe/foundry/hello_foundry/src/alloSettings.sol"
"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"
Can anyone advise me ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions