Truffle: Error while doing `truffle init`

Created on 20 Dec 2018  路  6Comments  路  Source: trufflesuite/truffle

  • [x] I've asked for help in the Truffle Gitter before filing this issue.

Issue

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.

Steps to Reproduce

mkdir mytest
cd mytest
truffle init

Expected Behavior

To generate the basic Truffle project folders (migrations/, contracts/, etc...)

Actual Results

Got an error.

Environment

  • Operating System: MacOS Mojave 10.14.1
  • Ethereum client:
  • Truffle version (truffle version) : v4.1.14
  • node version (node --version): v10.9.0
  • npm version (npm --version): 6.4.1

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.

All 6 comments

I 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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

abcoathup picture abcoathup  路  3Comments

TOMOAKI12345 picture TOMOAKI12345  路  3Comments

rotcivegaf picture rotcivegaf  路  3Comments

ysfAskri picture ysfAskri  路  4Comments

tcurdt picture tcurdt  路  3Comments