import "./filename.sol"

output Error: not found SimpleStorage.sol

  • 1
    Share the file structure. It's impossible to detect the reason with this much of information provided. Nov 19 at 12:49

1 Answer 1


Without the folder and file structures, exact names of the contracts, it is hard to find the issue. Anyway you can try these,

  1. Try using absolute file path instead of the relative file path. (Anyway the relative path also should work fine)
  2. Check the contract names as it is case-sensitive.

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