當我試圖通過節點安裝快車它顯示我以下錯誤:快速安裝錯誤
D:\NodeJS\express>npm install express
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/express
npm ERR! Error: tunneling socket could not be established, cause=getaddrinfo ENOENT
npm ERR! at ClientRequest.onError (C:\Program Files\nodejs\node_modules\npm\node_modules\request\tunnel.js:161:17)
npm ERR! at ClientRequest.g (events.js:192:14)
npm ERR! at ClientRequest.EventEmitter.emit (events.js:96:17)
npm ERR! at CleartextStream.socketErrorListener (http.js:1394:9)
npm ERR! at CleartextStream.EventEmitter.emit (events.js:96:17)
npm ERR! at Socket.onerror (tls.js:1318:17)
npm ERR! at Socket.EventEmitter.emit (events.js:126:20)
npm ERR! at Socket.connect.require.lookup.addressType (net.js:699:16)
npm ERR! at process.startup.processNextTick.process._tickCallback (node.js:244:9)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "express"
npm ERR! cwd D:\NodeJS\express
npm ERR! node -v v0.8.17
npm ERR! npm -v 1.2.0
npm ERR! code ECONNRESET
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! D:\NodeJS\express\npm-debug.log
npm ERR! not ok code 0
D:\NodeJS\express>
我也試圖與-g安裝,但它不工作! 請幫我在這裏...
我想我的公司防火牆阻止的東西 – 2013-03-19 11:35:21
權,感謝反正點:) – ExxKA 2013-03-19 12:58:57