typings error following Angularjs 2 quickstart tutorial
I got the following error when i tried npm install on the Angularjs 2/ng2 quickstart example:
typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/core-js/tags/0.0.0%2B20160317120654"
typings ERR! caused by connect ECONNREFUSED 104.24.112.177:443
When i tried connecting to https://api.typings.org/entries/dt/core-js/tags/0.0.0%2B20160317120654 from my browser, it works fine. So the issue? Proxy problem!
Create a .typingsrc file in the root directory of the project with the following content:
proxy="http://proxy:port/"
rejectUnauthorized=false
and npm install will install with Warning, which as the quickstart example suggests can be ignored.
ng2 quickstart example can be found at: https://angular.io/docs/ts/latest/quickstart.html
typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/core-js/tags/0.0.0%2B20160317120654"
typings ERR! caused by connect ECONNREFUSED 104.24.112.177:443
When i tried connecting to https://api.typings.org/entries/dt/core-js/tags/0.0.0%2B20160317120654 from my browser, it works fine. So the issue? Proxy problem!
Create a .typingsrc file in the root directory of the project with the following content:
proxy="http://proxy:port/"
rejectUnauthorized=false
and npm install will install with Warning, which as the quickstart example suggests can be ignored.
ng2 quickstart example can be found at: https://angular.io/docs/ts/latest/quickstart.html
Comments