I'm getting the error message below. I searched for the self signed certificate problem and I got to this answer, but I did everything that is mentioned here. I'm just going around and still no success.
What I did so far:
Questions:
where the .typingsrc file should be placed in Windows 7?
Where can I find a documentation about properties of .typingsrc file? It is always just mentioned and there is no example with parameters.
Is .typingsrc a JSON file or something else?
Still no success.
Do you have a solution for this?
{
"rejectUnauthoriozed":false,
"httpProxy": "",
"httpsProxy": "",
"insecure":true,
"strict-ssl":false
}
Error message:
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>
Go to command prompt or terminal depending on your machine(tip: hit Win + R and type cmd). In the command prompt type the following command npm config set proxy http://<username><password>@proxy-server-url>:<port> then config set https-proxy http://<username><password>@proxy-server-url>:<port> .
My .typingsrc
file is located at the project root level (where typings.json is located).
It simply contains:
proxy="http://xxx.xxx.xxx:80"
rejectUnauthorized=false
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With