Npm 未安装的软件包-“安装”;错误:无法建立隧道套接字";

Npm 未安装的软件包-“安装”;错误:无法建立隧道套接字";,npm,Npm,Debian Squence(通过Tor运行的Internet连接),从当前源构建的nodejs-错误刚刚开始发生: root@...# npm install coffee-script npm http GET https://registry.npmjs.org/coffee-script npm http GET https://registry.npmjs.org/coffee-script npm http GET https://registry.npmjs.org/coffee-

Debian Squence(通过Tor运行的Internet连接),从当前源构建的nodejs-错误刚刚开始发生:

root@...# npm install coffee-script
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/coffee-script
npm ERR! Error: tunneling socket could not be established, cause=socket hang up
npm ERR!     at ClientRequest.onError (/usr/local/lib/node_modules/npm/node_modules/request/tunnel.js:161:17)
npm ERR!     at ClientRequest.g (events.js:193:14)
npm ERR!     at ClientRequest.EventEmitter.emit (events.js:93:17)
npm ERR!     at CleartextStream.socketErrorListener (http.js:1330:9)
npm ERR!     at CleartextStream.EventEmitter.emit (events.js:93:17)
npm ERR!     at SecurePair.exports.connect.cleartext._controlReleased (tls.js:1298:15)
npm ERR!     at SecurePair.EventEmitter.emit (events.js:93:17)
npm ERR!     at SecurePair.error (tls.js:952:10)
npm ERR!     at EncryptedStream.CryptoStream._done (tls.js:432:17)
npm ERR!     at EncryptedStream.CryptoStream._pull (tls.js:577:12)
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!     <npm-@googlegroups.com>

npm ERR! System Linux 3.2.0-3-486
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "coffee-script"
npm ERR! cwd /home/...
npm ERR! node -v v0.8.11
npm ERR! npm -v 1.1.62
npm ERR! code ECONNRESET
npm ERR! 
...
npm ERR! not ok code 0
root@...#npm安装咖啡脚本
npm http GEThttps://registry.npmjs.org/coffee-script
npm http GEThttps://registry.npmjs.org/coffee-script
npm http GEThttps://registry.npmjs.org/coffee-script
npm错误!错误:无法建立隧道套接字,原因=套接字挂起
npm错误!在ClientRequest.onError(/usr/local/lib/node_modules/npm/node_modules/request/tunnel.js:161:17)
npm错误!在ClientRequest.g(events.js:193:14)
npm错误!在ClientRequest.EventEmitter.emit(events.js:93:17)
npm错误!在CleartextStream.socketErrorListener上(http.js:1330:9)
npm错误!在CleartextStream.EventEmitter.emit(events.js:93:17)
npm错误!在SecurePair.exports.connect.cleartext.\u controlReleased(tls.js:1298:15)
npm错误!位于SecurePair.EventEmitter.emit(events.js:93:17)
npm错误!位于SecurePair.error(tls.js:952:10)
npm错误!在EncryptedStream.CryptoStream.\u完成(tls.js:432:17)
npm错误!在EncryptedStream.CryptoStream
npm错误!如果需要帮助,您可以在以下位置报告此日志:
npm错误!
npm错误!或通过电子邮件发送至:
npm错误!
npm错误!系统Linux 3.2.0-3-486
npm错误!命令“/usr/local/bin/node”“/usr/local/bin/npm”“安装”“咖啡脚本”
npm错误!cwd/home/。。。
npm错误!节点-v v0.8.11
npm错误!npm-V1.1.62
npm错误!代码ECONREET
npm错误!
...
npm错误!不正常代码0
Iceweasel还显示了的无效安全证书错误


有人知道这里少了什么吗?(它在过去发生过,但由于一些奇怪的原因自行修复。)

尝试设置
ca
严格的ssl
配置选项(分别为null和false),但都不起作用,但是,将
注册表
配置选项设置为,并且软件包正在重新安装-那么这应该是ssl域吗?

刚刚遇到了相同的问题。为什么默认设置不适用于MacOSX小牛,但适用于Windows7?