【问题标题】:Installing weinre gives me some error安装 weinre 给了我一些错误
【发布时间】:2017-03-16 05:12:58
【问题描述】:

我试图在下载节点 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

Please click here for the screenshot

【问题讨论】:

  • 好像你在代理后面或者由于某些限制 DNS 服务器无法解析 npm 注册表的 ip 地址。

标签: node.js weinre


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2020-01-03
    • 1970-01-01
    • 1970-01-01
    • 2014-05-02
    • 1970-01-01
    • 2014-12-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-15
    相关资源
    最近更新 更多