Getting the following error when doing truffle init:
Error: Truffle Box at URL https://github.com/truffle-box/bare-box.git doesn't exist. If you believe this is an error, please contact Truffle support.
It was working fine yesterday and the day before that, so could be related to the recent v5 release as that came out around yesterday.
mkdir mytest
cd mytest
truffle init
To generate the basic Truffle project folders (migrations/, contracts/, etc...)
Got an error.
truffle version) : v4.1.14node --version): v10.9.0npm --version): 6.4.1I had the same problem which was solved by updating truffle to its latest version (uninstall and install).
yes, that problem is solved if you update. I knew about the release but hadn't updated yet, and when I got the error was easy to find out. So, updated to v5.
Yes, upgrading to version 5 will do the trick.
We recommend the upgrade, but in the case that you need to continue using version 4, we put out a maintenance release that fixed the issue.
https://github.com/trufflesuite/truffle/releases/tag/v4.1.15
I am also getting the same issue. I updated by using $ npm uninsrall -g truffle and reinstalled by $ npm install -g truffle. Still I got same error.
This helps: npm install -g truffle
I uninstalled and reinstalled it and got the same error
npm reinstalled version 4.0.4 again
Even when i specify "npm install -g [email protected]", it still installs version 4.1.15
Most helpful comment
I am also getting the same issue. I updated by using $ npm uninsrall -g truffle and reinstalled by $ npm install -g truffle. Still I got same error.