最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

运维笔记admin12浏览0评论

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

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

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'配置。见:

[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

需要帮助!

回答如下:

看起来你有安全问题与github交谈。创建文件:

.tsdrc

以下内容:

{
     "strictSSL": false
}

然后再试一次。

发布评论

评论列表(0)

  1. 暂无评论