node.js - npm install 時報錯tunneling socket could not be established求大神幫忙
PHPz
PHPz 2017-05-16 13:34:08
0
2
961

我在github上download了一個專案,在安裝npm install時卻安裝不了
Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND ... ...:80
#報了這個錯誤
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#net#netnf#net 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 beh. make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

請問該怎麼解決呢

PHPz
PHPz

学习是最好的投资!

全部回覆(2)
我想大声告诉你

麻煩給那個github的地址

洪涛

好像是 VPN 的問題,把 VPN 關掉重新安裝一下

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!