问题描述
我在github上download了一个项目,在安装npm install时却安装不了Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND ... ...:80报了这个错误npm ERR! Windows_NT 10.0.14393npm ERR! argv 'D:Program Filesnodejsnode.exe' 'D:Program Filesnodejsnode_modulesnpmbinnpm-cli.js' 'install'npm ERR! node v6.10.1npm ERR! npm v3.10.10npm ERR! code ECONNRESET
npm ERR! network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND ... ...:80npm ERR! network This is most likely not a problem with npm itselfnpm 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! networknpm ERR! network If you are behind a proxy, please make sure that thenpm ERR! network ’proxy’ config is set properly. See: ’npm help config’
请问该怎么解决呢
问题解答
回答1:麻烦给出那个github的地址
回答2:好像是 VPN 的问题,把 VPN 关掉重新安装一下