EAI_AGAIN when installing express from npm on Windows 7

I am using Windows 7 for development. I have installed node.js 0.12.4 and npm installed 2.10.1.

now i am performing

npm intall express --save

      

but the following error message appears:

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nnode_modules\\npm\\bin\\npm-cli.js" "install" "express" "--save"
npm ERR! node v0.12.4
npm ERR! npm  v2.10.1
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! syscall getaddrinfo

npm ERR! getaddrinfo EAI_AGAIN
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!     d:\meandev\chat\npm-debug.log

      

Can anyone please help?

+3


source to share


1 answer


I found a solution here.

This is a network problem. my previous network has a proxy setting. I tried to install it without a proxy, it worked fine.



link https://github.com/npm/npm/issues/7348

+4


source







All Articles