0

So a bit of a N00b problem,
enter image description here Error (6275): Source "/root/solidity-course/src/SimpleStorage.sol" not found: File not found. Searched the following locations: "/root/solidity-course". ParserError: Source "/root/solidity-course/src/SimpleStorage.sol" not found: File not found. Searched the following locations: "/root/solidity-course". --> script/DeploySimpleStorage.s.sol:6:1:

1
  • Please share your directory structure. What's inside your solidity-course folder? You can use this command in terminal ls /root/solidity-course. Apr 9 at 9:32

1 Answer 1

1

If you didn't change the default folder structure of your Foundry project,

import {SimpleStorage} from "src/SimpleStorage.sol"

should be the right path.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.