question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"truffle init" get Error: Error making request. Please check the format of the requested resource: https://raw.githubusercontent.com/truffle-box/bare-box/master/truffle.js

See original GitHub issue

use “truffle init” command, and get error:

truffle init
Downloading...
Error: Error making request. Please check the format of the requested resource: https://raw.githubusercontent.com/truffle-box/bare-box/master/truffle.js
    at Request._callback (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:314206:23)
    at self.callback (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:285576:22)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at Request.onRequestError (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:286268:8)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at TLSSocket.socketErrorListener (_http_client.js:387:9)
    at emitOne (events.js:116:13)
    at TLSSocket.emit (events.js:211:7)

I am using truffle 4.0.5 on mac 10.13.2

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:31 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
gz65555commented, Feb 12, 2018

I got the same problem. I am using truffle 4.0.6 on windows 10.

1reaction
ben-nyllabscommented, Feb 12, 2018

@cgewecke YES, there is! Should have been obvious, thank you! I just manually created the files/folders that truffle init makes, which only took like 30 seconds anyways… and now all is good

Read more comments on GitHub >

github_iconTop Results From Across the Web

truffle init Error making request. Please check the format of the ...
I got the same issue and figured out that my browser blocking the URL: https://raw.githubusercontent.com. Once my admin unblock the URL and ...
Read more >
3 Answers - 3 - Ethereum Stack Exchange
I found out on Truffle's Gitter channel that something must have broken in version 4. I upgraded to version 5 and the issue...
Read more >
【truffle init】Got error: getaddrinfo ENOENT raw ... - CSDN博客
Got error : getaddrinfo ENOENT raw.githubusercontent.com. Please check the format of ... Please check the format of the requested resource.
Read more >
@truffle/core - npm
Truffle is a development environment, testing framework and asset pipeline for Ethereum, aiming to make life as an Ethereum developer easier ...
Read more >
Truffle init throw er Unhandled error event | Edureka Community
The next time I run truffle init, I got ths error: events.js:160 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found