When I run truffle compile, it throws the following error: Invalid input source specified.

enter image description here


That is typically caused by a bad import statement. Check that something isn't being included incorrectly. A good example would be something like:

import 'MyContract.sol';

as opposed to

import './MyContract.sol';

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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