-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