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

Pre-installations exits with non-zero status in 2.0.8 #13

Closed
slavafomin opened this issue Jul 14, 2016 · 4 comments
Closed

Pre-installations exits with non-zero status in 2.0.8 #13

slavafomin opened this issue Jul 14, 2016 · 4 comments

Comments

@slavafomin
Copy link

Hello there!

I have a Node.js application with a lot of dependencies, and it seems that one of them is using this module: typechecker@2.0.8. The problem is when I do npm i --production it fails on typecheker's pre-install script. Here's the output:

$ npm i --production
npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated lodash@2.4.1: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated grunt-lib-contrib@0.7.1: DEPRECATED. See readme: https://github.com/gruntjs/grunt-lib-contrib
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated native-or-bluebird@1.1.2: 'native-or-bluebird' is deprecated. Please use 'any-promise' instead.

> typechecker@2.0.8 preinstall /tmp/testdrive-1.11.15-1468538515188/node_modules/.staging/typechecker-e85842ba
> node ./cyclic.js

And here's the dependency tree:

$ npm ls typechecker
testdrive@1.11.15 /home/sfomin/projects/testdrive
└─┬ sails@0.12.3
  └─┬ i18n@0.8.1
    └─┬ messageformat@0.3.1
      └─┬ watchr@2.4.13
        ├─┬ extendr@2.1.0
        │ └── typechecker@2.0.8 
        ├─┬ extract-opts@2.2.0
        │ └── typechecker@2.0.8 
        ├─┬ taskgroup@4.3.1
        │ └─┬ ambi@2.5.0
        │   └── typechecker@4.3.0 
        └── typechecker@2.1.0

It also looks, like the problem is not occurring every time, in some rare moments it works, I don't know why.

Please advise, any help will be highly appreciated. Thank you!

@slavafomin
Copy link
Author

slavafomin commented Jul 14, 2016

@bevry, @balupton, maybe you could update the dependencies or help otherwise?

@balupton
Copy link
Member

Will update watchr shortly.

balupton added a commit to balupton/messageformat.js that referenced this issue Jul 15, 2016
A dep of watchr is causing installs to fail, as per bevry/typechecker#13

I've released v2.5.0 of watchr, so this will need to be updated. Watchr follows semver, so changed ~ to ^
@balupton
Copy link
Member

v2.5.0 of watchr is being released, so this will fix this - however, messageformat v0.3.1 is tied to v2.4 of watchr, so I've created this issue for it messageformat/messageformat#151

SlexAxton pushed a commit to messageformat/messageformat that referenced this issue Jul 15, 2016
A dep of watchr is causing installs to fail, as per bevry/typechecker#13

I've released v2.5.0 of watchr, so this will need to be updated. Watchr follows semver, so changed ~ to ^
@slavafomin
Copy link
Author

@balupton thanks for a quick solution! Keep up the good work!

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

2 participants