Monday, 22 May 2017

error on doing "Truffle init"

I am new to smart contract programming, recently installed truffle using npm on Node(version: 6.10.3) When I run the command truffle init first time, I received this error:

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: connect ETIMEDOUT 151.101.8.133:443
    at Object.exports._errnoException (util.js:1018:11)
    at exports._exceptionWithHostPort (util.js:1041:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)

The next time I run truffle init, I got ths error:

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at exports._errnoException (util.js:1018:11)
    at TLSWrap.onread (net.js:568:26)

Any idea on how to resolve this



via mx_pc

No comments:

Post a Comment