Who can help me? install bitcore. npm err fetch failed


(xie) #1

i have install nvm.

nvm use 4

not root user run
npm install bitcore -g

but it failed

note:

npm ERR! fetch failed registry.npmjs.org/bn.js/-/bn.js-2.0.4.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=socket hang up
npm ERR! fetch failed registry.npmjs.org/bs58/-/bs58-2.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=socket hang up
npm ERR! fetch failed registry.npmjs.org/buffer-compare/-/buffer-compare-1.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=socket hang up
npm ERR! fetch failed registry.npmjs.org/elliptic/-/elliptic-3.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=socket hang up
npm ERR! fetch failed registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=socket hang up
npm ERR! fetch failed https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz
npm WARN retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=socket hang up