我正在尝试在下载节点js后使用命令 npm install -g weinre
通过windows powershell在Windows 7中安装weinre,但是它会抛出以下错误
PS C:\windows\system32> npm install -g weinre
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node
tall" "-g" "weinre"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! syscall getaddrinfo
npm ERR! getaddrinfo EAI_AGAIN registry.npmjs.
npm ERR!
npm ERR! If you need help, you may report this
npm ERR! <https://github.com/npm/npm/issue
npm ERR! Please include the following file wit
npm ERR! C:\windows\system32\npm-debug.log
答案 0 :(得分:0)
这是一篇讨论EAI_AGAIN问题的博文 - 看来它通常是您机器上的某种网络问题:http://www.codingdefined.com/2015/06/nodejs-error-errno-eaiagain.html