-1
我想應該使用下面的命令來安裝:NPM安裝給錯誤
npm install --save-dev should
但得到以下錯誤每次:
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\gyanendra_nath\\
AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save-dev
" "should"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! syscall getaddrinfo
npm ERR! getaddrinfo EAI_AGAIN registry.npmjs.org:443
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\gyanendra_nath\Node\Supertest\npm-debug.log
-----------------------------------------------------------------------
我甚至試圖改變在環境變量PATH
值,也刪除代理使用以下命令:
npm config rm proxy
npm config rm https-proxy
npm config get proxy
>> got this as a response " http://domain/username:[email protected]:80"
請幫我解釋如何解決這個問題。
我想知道下面的解決方案是否解決了您的問題? – notionquest