d:\Angular2_SampleExamples\typings>tsd install angular2 es6-promise rx rx-lite --save
[ERR!] cwd : d:\Angular2_SampleExamples\typings
[ERR!] os : Windows_NT 6.1.7600
[ERR!] argv : "node" "C:\\Users\\WG97\\AppData\\Roaming\\npm\\node_modules\\tsd\\build\\cli.js" "install" "angular2" "es6-promise" "rx" "rx-lite" "--save"
[ERR!] node : v0.10.35
[ERR!] tsd : 0.6.4
[ERR!] Error: tunneling socket could not be established, cause=6436:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c
:795:
[ERR!] CODE : ECONNRESET
[ERR!] tunneling socket could not be established, cause=6436:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:795:这很可能不是tsd本身的问题,而是与网络连接有关。在大多数情况下,您处于代理之后或具有错误的网络设置。
如果您在代理服务器之后,请确保“proxy”配置设置正确。请参阅:https://github.com/DefinitelyTyped/tsd#tsdrc
[ERR!] tsd.json could not be retrieved
[ERR!] .tsdrc could not be retrieved
[ERR!] Please include the following file with any support request:
d:\Angular2_SampleExamples\typings\tsd-debug.log需要帮助!
发布于 2015-10-24 04:51:44
看起来你在和github聊天时遇到了安全问题。创建文件:
.tsdrc
内容如下:
{
"strictSSL": false
}然后重试。
https://stackoverflow.com/questions/32481304
复制相似问题