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

npm WARN cannot run in wd [email protected] node-gyp rebuild #3

Open
spacesuitdiver opened this issue Oct 20, 2015 · 5 comments
Open

Comments

@spacesuitdiver
Copy link

When attempting to install bcrypt-as-promised on nodesource/trusty Docker container I get the following error:

npm WARN cannot run in wd [email protected] node-gyp rebuild (wd=/usr/src/app/node_modules/bcrypt-as-promised/node_modules/bcrypt)

Using bcrypt as normal works fine. I wonder if bcrypt just needs to be upgraded.

@phated
Copy link

phated commented Oct 20, 2015

The semver range picks up the latest bcrypt version. I'm not sure why you are getting a rebuild on install. Was this a fresh install? If not, you might need to remove and reinstall from scratch.

@spacesuitdiver
Copy link
Author

Yes this is a clean install new build from Docker. Something screwy with npm (0.12.6) maybe. This also happens with bcrypt-then.

@lishoulong
Copy link

I encounter the same problem, "493 error Failed at the [email protected] install script 'node-gyp rebuild'." I am on the windows 8 platform. And I tried for several times.

@darkn3rd
Copy link

Trying from Ubuntu 14.04 Trusty Tahr (running using vagrant on OS X) and trying to run this in a container, get it freezes w/o any further information:

> [email protected] install /gobalto/node_modules/bcrypt
> node-gyp rebuild

@TomFreudenberg
Copy link

Maybe you check here npm/npm#8862 (comment), this solved my issue

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

5 participants