首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >由于以下错误,无法安装tsd包

由于以下错误,无法安装tsd包
EN

Stack Overflow用户
提问于 2015-09-09 21:46:02
回答 1查看 1.8K关注 0票数 1
代码语言:javascript
复制
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

代码语言:javascript
复制
[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

需要帮助!

EN

回答 1

Stack Overflow用户

发布于 2015-10-24 04:51:44

看起来你在和github聊天时遇到了安全问题。创建文件:

.tsdrc

内容如下:

代码语言:javascript
复制
{
     "strictSSL": false
}

然后重试。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32481304

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档