after install truffle -g

try to run console.log by import "truffle/Console.sol" from


get error on import line - not found. how can i import this file?

Source "truffle/Console.sol" not found: File import callback not supported

try to install truffle again in my folder but nothing happen.

try to find the source code in GitHub to import manually - didn't find

1 Answer 1


The GitHub thread points to the "Consol.sol" file being removed from the project repo.. See here: https://github.com/trufflesuite/truffle-logger-example/issues/3#issuecomment-916759451

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.