我无法使用npm install
我尝试了多少。
npm:2.14.12
node:v4.2.4
这是我得到的错误:
$ npm install --no-bin-links
npm ERR! fetch failed https://registry.npmjs.org/gulp/-/gulp-3.9.0.tgz
npm WARN retry will retry, error on last attempt: Error: connect EADDRINUSE 23.235.43.162:443 - Local (undefined:undefined)
npm ERR! fetch failed https://registry.npmjs.org/gulp/-/gulp-3.9.0.tgz
npm WARN retry will retry, error on last attempt: Error: connect EADDRINUSE 23.235.43.162:443 - Local (undefined:undefined)
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "E:\\Program Files\\nodejs\\node.exe" "E:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--no-bin-links"
npm ERR! node v4.2.4
npm ERR! npm v2.14.12
npm ERR! code EADDRINUSE
npm ERR! errno EADDRINUSE
npm ERR! syscall connect
npm ERR! connect EADDRINUSE 23.235.43.162:443 - Local (undefined:undefined)
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! E:\xampp\htdocs\projects\??????\intern\npm-debug.log
我尝试npm install
,npm install --production
和npm install --no-bin-links
我尝试删除node_modules文件夹和npm cache clear
,然后再尝试其中任何命令。
我试图查找IP,这就是结果。
$ nslookup 23.235.43.162
*** 23.235.43.162 wurde von google-public-dns-a.google.com nicht gefunden: Non-existent domain.
Server: google-public-dns-a.google.com
Address: 8.8.8.8
这是我的package.json
{
"private": true,
"devDependencies": {
"gulp": "^3.8.8",
"laravel-elixir-sass-compass": "^0.5.0"
},
"dependencies": {
"laravel-elixir": "^4.0.0",
"bootstrap-sass": "^3.0.0"
}
}
这是--verbose
输出
...
npm info retry fetch attempt 1 at 15:19:47
npm info attempt registry request try #1 at 15:19:47
npm http fetch GET https://registry.npmjs.org/laravel-elixir/-/laravel-elixir-4.2.0.tgz
npm info retry will retry, error on last attempt: Error: connect EADDRINUSE 23.235.43.162:443 - Local (undefined:undefined)
...
我有一个月的问题,但当时我在Windows 7上运行,我最近升级到了Windows 10。
我希望有人能够帮助我。