npm在Windows上安装错误EADDRINUSE

时间:2016-05-05 17:44:31

标签: node.js windows npm firebase

我使用npm在Windows 7上安装firebase-tools,我收到以下错误:

C:\Users\Txell>npm install -g firebase-tools
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "firebase-tools"
npm ERR! node v4.4.3
npm ERR! npm  v2.15.1
npm ERR! code EADDRINUSE
npm ERR! errno EADDRINUSE
npm ERR! syscall connect

npm ERR! connect EADDRINUSE 185.31.19.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!     C:\Users\Txell\npm-debug.log

npm-debug.log显示:

1260 verbose afterAdd C:\Users\Txell\AppData\Roaming\npm-cache\uuid\2.0.2\package\package.json written
1261 verbose about to build C:\Users\Txell\AppData\Roaming\npm\node_modules\firebase-tools
1262 verbose unlock done using C:\Users\Txell\AppData\Roaming\npm-cache\_locks\firebase-tools-246a529772905b3d.lock for C:\Users\Txell\AppData\Roaming\npm\node_modules\firebase-tools
1263 verbose stack Error: connect EADDRINUSE 185.31.19.162:443 - Local (undefined:undefined)
1263 verbose stack     at Object.exports._errnoException (util.js:870:11)
1263 verbose stack     at exports._exceptionWithHostPort (util.js:893:20)
1263 verbose stack     at connect (net.js:849:16)
1263 verbose stack     at net.js:984:7
1263 verbose stack     at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:64:16)
1263 verbose stack     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:83:10)
1264 verbose cwd C:\Users\Txell
1265 error Windows_NT 6.1.7601
1266 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "firebase-tools"
1267 error node v4.4.3
1268 error npm  v2.15.1
1269 error code EADDRINUSE
1270 error errno EADDRINUSE
1271 error syscall connect
1272 error connect EADDRINUSE 185.31.19.162:443 - Local (undefined:undefined)
1273 error If you need help, you may report this error at:
1273 error     <https://github.com/npm/npm/issues>
1274 verbose exit [ 1, true ]

我不确定发生了什么。我不认识ip,我没有任何服务在443端口上收听。

0 个答案:

没有答案