search

Home  >  Q&A  >  body text

node.js - npm install reports an error tunneling socket could not be established. Please help.

I downloaded a project on github, but it could not be installed when installing npm install
Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND... ...:80
Reported this Error
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli. js" "install"
npm ERR! node v6.10.1
npm ERR! npm v3.10.10
npm ERR! code ECONNRESET

npm ERR! network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND ... ...:80
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

How to solve it

PHPzPHPz2756 days ago1021

reply all(2)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-05-16 13:36:08

    Please give me the github address

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 13:36:08

    It seems to be a VPN problem, turn off the VPN and reinstall it

    reply
    0
  • Cancelreply