Installation of typings error while setting up the Angular2 Typescript environment as in the documentation

474 views
Skip to first unread message

Biswajeet Nayak

unread,
May 24, 2016, 9:35:11 AM5/24/16
to AngularJS
Hi,

I'm trying to setup the typescript Angular2 environment. but its constantly failing when it tries to install typings. Below is the error i get constantly trying all the methods possible.

typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/co
re-js/tags/0.0.0%2B20160317120654"
typings ERR! caused by connect ETIMEDOUT 104.24.112.177:443

typings ERR! cwd C:\Users\nayakb\workspace\AngularJS2\angular2-tutorial
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\nayakb\\w
orkspace\\AngularJS2\\angular2-tutorial\\node_modules\\typings\\dist\\bin.js" "i
nstall"
typings ERR! node -v v5.9.1
typings ERR! typings -v 1.0.4
typings ERR! code EUNAVAILABLE

typings ERR! If you need help, you may report this error at:

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fseve
n...@1.0.12
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\nayakb\\AppData\
\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v5.9.1
npm ERR! npm  v3.9.2
npm ERR! code ELIFECYCLE
npm ERR! angula...@0.0.0 postinstall: `typings install && gulp check.version
s && npm prune && gulp webdriver`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angula...@0.0.0 postinstall script 'typings install &
& gulp check.versions && npm prune && gulp webdriver'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular2-seed package
,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     typings install && gulp check.versions && npm prune && gulp webdriv
er
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular2-seed
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular2-seed
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\nayakb\workspace\AngularJS2\angular2-tutorial\npm-debug.lo
g

is there any work around?

Thanks in advance :)

Lesley Markesbery

unread,
May 25, 2016, 11:54:32 AM5/25/16
to AngularJS
If you are behind a corporate proxy, this is likely a proxy issue. You can try adding a .typingsrc file as discussed here.
Reply all
Reply to author
Forward
0 new messages