Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed at the angular2-mdl@1.7.1 postinstall script 'typings install'. #91

Closed
cmermingas opened this issue Sep 16, 2016 · 4 comments
Closed

Comments

@cmermingas
Copy link

It would be great if you could add to the documentation to run this before installing angular2-mdl

npm install typings -g
@BenoitFroment
Copy link

BenoitFroment commented Sep 29, 2016

Unable to update angular2-mdl with typings installed globally

FR-D2200779+user@FR-D2200779 MINGW64 ~/workspace/romes_demo/romes (master)
$ npm i angular2-mdl

 angular2-mdl@1.8.1 postinstall C:\Users\user\workspace\romes_demo\romes\node_modules\angular2-mdl
 typings install

typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/es6-shim/tags/0.31.2%2B20160317120654"
typings ERR! caused by connect ETIMEDOUT 104.24.112.177:443

typings ERR! cwd C:\Users\user\workspace\romes_demo\romes\node_modules\angular2-mdl
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user\\AppData\\Roaming\\npm\\node_modules\\typings\\dist\\bin.js" "install"
typings ERR! node -v v6.5.0
typings ERR! typings -v 1.4.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>
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\user\workspace\romes_demo\romes\node_modules\boxen\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\user\workspace\romes_demo\romes\node_modules\babel-traverse\package.json'
npm WARN @angular/compiler-cli@0.6.3 requires a peer of @angular/compiler@2.0.1 but none was installed.
npm WARN @angular/compiler-cli@0.6.3 requires a peer of @angular/core@2.0.1 but none was installed.
npm WARN @angular/platform-server@2.0.1 requires a peer of @angular/core@2.0.1 but none was installed.
npm WARN @angular/platform-server@2.0.1 requires a peer of @angular/common@2.0.1 but none was installed.
npm WARN @angular/platform-server@2.0.1 requires a peer of @angular/compiler@2.0.1 but none was installed.
npm WARN @angular/platform-server@2.0.1 requires a peer of @angular/platform-browser@2.0.1 but none was installed.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "i" "angular2-mdl"
npm ERR! node v6.5.0
npm ERR! npm  v3.10.7
npm ERR! code ELIFECYCLE

npm ERR! angular2-mdl@1.8.1 postinstall: `typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-mdl@1.8.1 postinstall script 'typings install'.
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-mdl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular2-mdl
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular2-mdl
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\user\workspace\romes_demo\romes\npm-debug.log

FR-D2200779+user@FR-D2200779 MINGW64 ~/workspace/romes_demo/romes (master)
$ typings --version
1.4.0

@BenoitFroment
Copy link

ok u just don't use the npm proxy config... why download typings if it's already installed ?

@mseemann
Copy link
Owner

this was a requirement with typescript 1.8. now it is no longer needed but i didn't have the time to change the complete build system. this will come in version 2.0. see #110.

@BenoitFroment
Copy link

ok thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants