I'm trying to initialize a directory with truffle init, but I'm getting the following error:

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.

The git repository at https://github.com/truffle-box/bare-box.git does exist, so I'm not sure what the problem is. Any help?

3 Answers 3


I found out on Truffle's Gitter channel that something must have broken in version 4. I upgraded to version 5 and the issue is resolved.

How to upgrade (more information here):

npm uninstall -g truffle
npm install -g truffle
  • Thanks Joel - This was driving me nuts. Appreciate it.
    – Pat Doyle
    Jan 5, 2019 at 17:17
  • 1
    You could mark this answer as the accepted one. Aug 8, 2019 at 16:52

I had the same issue when my truffle version was 4.1.14. When I upgraded to version 4.1.15 the issue was solved. I just had to run npm i -g truffle@4.1.15


You can also upgrade to maintenance release of truffle v4 as below.

sudo npm uninstall -g truffle 
sudo npm install -g truffle@4.1.15

Truffle unbox and other command remains same.

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.