我收到以下错误消息。我搜索了自签名证书问题并得到了这个答案,但我做了这里提到的所有事情。我只是四处走动,仍然没有成功。
到目前为止我做了什么:
- 我的 %USERPROFILE% 目录中有一个 .typingsrc,其中包含以下示例
- 我的项目根目录中有另一个 .typingsrc 文件,其中包含以下示例
- 我已经尝试了以下示例的所有组合
问题:
.typingsrc 文件应该放在 Windows 7 的什么位置?
在哪里可以找到有关 .typingsrc 文件属性的文档?它总是被提及,没有参数的例子。
.typingsrc 是 JSON 文件还是其他文件?
仍然没有成功。
您对此有解决方案吗?
{
"rejectUnauthoriozed":false,
"httpProxy": "",
"httpsProxy": "",
"insecure":true,
"strict-ssl":false
}
错误信息:
C:\..\src\UI.Spa>typings install dt~angular --global --save
typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/angular/versions/latest"
typings ERR! caused by self signed certificate in certificate chain
typings ERR! cwd C:\..\src\UI.Spa
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\..\\AppData\\Roaming\\npm\\node_modules\\typings\\dist\\bin.js" "install" "dt~angular" "--global" "--save"
typings ERR! node -v v5.10.1
typings ERR! typings -v 1.1.0
typings ERR! code EUNAVAILABLE
typings ERR! If you need help, you may report this error at:
typings ERR! <https://github.com/typings/typings/issues>