truffle-box / bare-box

Truffle Box for a bare-minimum Truffle project (`truffle init`)
21 stars 25 forks source link

I am having an issue with truffle init command . version - 4.0.4 #15

Closed Harshitb1 closed 5 years ago

Harshitb1 commented 5 years ago

On using truffle init , i am getting the following-

Downloading... 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. at Request._callback (C:\Users\Harshit\AppData\Roaming\npm\node_modules\truffle\build\cli.bundled.js:313432:23) at Request.self.callback (C:\Users\Harshit\AppData\Roaming\npm\node_modules\truffle\build\cli.bundled.js:284800:22) at emitTwo (events.js:126:13) at Request.emit (events.js:214:7) at Request. (C:\Users\Harshit\AppData\Roaming\npm\node_modules\truffle\build\cli.bundled.js:285777:10) at emitOne (events.js:116:13) at Request.emit (events.js:211:7) at IncomingMessage. (C:\Users\Harshit\AppData\Roaming\npm\node_modules\truffle\build\cli.bundled.js:285699:12) at Object.onceWrapper (events.js:313:30) at emitNone (events.js:111:20)

ahetrick22 commented 5 years ago

Just had the same issue happen to me - was able to fix by downloading the newest version of Truffle which was just released a couple days ago (https://truffleframework.com/blog/truffle-v5-has-arrived). so do: npm install truffle -g and then try truffle init again. Worked for me.

ouoabcde commented 5 years ago

I had same error, too. Others recommend to use new Truffle version, but I want to use Truffle v4 because I use this version on other projects.

vibern0 commented 5 years ago

@ouoabcde AFAIK the only problem is with truffle init, the other commands should keep working. So you are fine if you update. And if you have problems you can go back to any version at any time. But I would try to update.

@Harshitb1 try to put the title in the description a write a small title. Would be much easier to understand.