2015-11-07 196 views
0

的錯誤,這是錯誤我得到每次:多發生由於網絡錯誤節點問題:NPM是給我各種

npm ERR! Windows_NT 10.0.10240 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "express" "-g" 
npm ERR! node v5.0.0 
npm ERR! npm v3.3.6 
npm ERR! code ECONNRESET 
npm ERR! errno ECONNRESET 
npm ERR! syscall read 

npm ERR! network read ECONNRESET 
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' 

npm ERR! Please include the following file with any support request: 
npm ERR!  C:\Users\uche\npm-debug.log 

enter image description here

+0

我也收到了解決這個問題相同的輸出,但在10.0.10586。我正在使用全新的Surface Book(實際上是一天之內)或非代理連接。 – Sampson

回答

0

此錯誤。

確保您的網絡連接起來,沒有任何限制,由於防火牆,VPN等

0

可以通過運行該命令

npm cache clean