0

我试图npm install -g weinre在下载节点js后使用命令通过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

请点击这里查看屏幕截图

4

1 回答 1

0

这是一篇讨论 EAI_AGAIN 问题的博客文章 - 似乎它通常是您机器上的某种网络问题:http: //www.codingdefined.com/2015/06/nodejs-error-errno-eaiagain.html

于 2017-03-16T13:03:52.967 回答