npm install -g< package>错误EADDRINUSE [英] npm install -g <package> error EADDRINUSE

查看:88
本文介绍了npm install -g< package>错误EADDRINUSE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试通过SublimeLinter-jshint所需的npm安装jshint.

I have been trying to install jshint through npm that is required for SublimeLinter-jshint.

我正在运行Windows 7(64位).错误消息似乎总是失败:

`C:\Users\Ephekz>npm install -g jshint
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files (x86)\nodejs\\node.exe" "C:\Program Files (
x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "jshint"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
npm ERR! code EADDRINUSE
npm ERR! errno EADDRINUSE
npm ERR! syscall connect

npm ERR! connect EADDRINUSE
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\Ephekz\npm-debug.log`

到目前为止,我已经尝试过:

  1. 禁用AVG防病毒软件
  2. 禁用Windows防火墙
  3. 使用netstat -aon:findstr:443检查端口443是否被其他服务使用. (该端口上没有监听)
  4. 尝试了不同版本的nodejs v.5.6.0,v.4.3.0,v.0.1.24
  5. 尝试了多个Internet连接,还尝试了没有路由器的Internet连接
  6. 尝试清理npm缓存"
  7. 尝试"npm配置设置注册表https://registry.npmjs.org/"和"npm配置设置注册表http://registry.npmjs.org/"
  8. 我尝试安装另一个成功的软件包(bower).
  9. 我没有通过代理运行
  1. disabling AVG antivirus
  2. disabling windows Firewall
  3. checking if port 443 is in use by another service using netstat -aon : findstr:443. (nothing is listening in on that port)
  4. tried different versions of nodejs v.5.6.0, v.4.3.0, v.0.1.24
  5. tried multiple internet connections, also tried internet connection with no router
  6. tried "npm cache clean"
  7. tried "npm config set registry https://registry.npmjs.org/" and also "npm config set registry http://registry.npmjs.org/"
  8. I have tried installing a different package (bower) which was successful.
  9. I am not running through a proxy

我真的不确定从这里开始如何做这项工作.任何建议将不胜感激.我在下面的调试日志中附加了一个链接:

I am not really sure what to do from here to make this work. Any suggestions would be greatly appreciated. I have attached a link to the debug log below:

https://github.com/npm/npm/files/133529/npm-debug.txt

推荐答案

万一有人遇到类似问题,我可以通过为我的网络适配器重新安装驱动程序来解决此问题.

In case anyone is experiencing a similar issue, I was able to resolve this issue by reinstalling the driver for my network adapter.

这篇关于npm install -g< package>错误EADDRINUSE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆