Basically, after I installed the truffle the command: nom truffle -g . Then I went to set up the metamask on the google chrome. Once the metamask is set up then I try the command: truffle develop and I get this: Could not find suitable configuration file. Any suggestions ? Please Thank you.

enter image description here

  • You need to initialize an empty directory with truffle init. But If you are just starting it is better to start from a tutorial like @SurbhiAudichya is pointing that already have the correct configuration.
    – Ismael
    Oct 10 '18 at 21:19

https://truffleframework.com/tutorials/pet-shop to find out all dependencies to use truffle and metamask.


There could be few reason to this 1. Either you would have somehow mistakenly deleted the package.json or package-lock.json ( In my case it was package-lock.json) .So try to do "npm i" in order to install all the necessary packages, then try again. 2. Do check if you have truffle-config.js

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.