-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cannot find module './build/Release/shell' #27
Comments
I have the same problem! The problem is that your system doesn't make the build:
In my case the problem appear today, yesterday all worked fine and the repository hasn't been updated. ¿? |
Hi, In my case:
damm! |
I had same problem than @olanod. Solved by simple 'node-gyp rebuild' |
We hit this too. There was no way we could fix. Running node-gyp did not fix the problem. |
Also affects me |
Digging a little on the net I've found that this is affecting only guys that are using Python 3.x as their default python executable ( see nodejs/node-gyp#526 and atom/atom#1933 ). To fix this issue ( call it a workaround) you should do this on the project you're having this issue: npm config set python /usr/bin/python2.7
npm install Make sure that you're having Python 2 installed as a package in your distro ( my solution is based on Ubuntu 14.10 ). Have fun :) |
@julianxhokaxhiu unfortunately, this doesn't solved my problem. Besides that, the most annoying thing about that bug is that it appears out of a sudden. Yesterday everything worked perfectly. Can everyone come up with an idea for an explanation? |
@scheffield are you sure? For me it worked also two days ago on Arch Linux where I did my new dev server (same error, same fix and now working awesome). Try to remove your |
We resolved this a short time ago. Turned out my coworker who was hitting this problem had a rogue, custom build of make in his path. Sorry for the confusion. |
Also getting this issue, and I'm running Python 2.7.6. Running This also did not fix the issue:
|
Also running in this issue. I have tried all of the suggestions above and still no luck. |
I am facing the same issue. Tried the above suggestions but of no help. |
I would suggest to use exec-sync from now on, compatible with nodejs 0.12.x and anyway it doesn't depend on libc, python or stuff like this :) |
I am still getting the same error even after using sudo npm install exec-sync Any other solution to it? |
Clean reinstall NPM and remove all |
No solution works. |
No solution works to me too |
No solution here either. |
Only solution is switching to https://www.npmjs.com/package/exec-sync |
@webpolis Using a 3rd party library, |
@webpolis Wound up just forking and updating manually. |
These are some alternatives: |
It may be worth noting that you can have issues using node v0.12 instead of v0.10 for example, try downgrading it using |
Easily solved on a Mac: run |
@aclowes' solution worked for me. Thanks pal! 👍 |
@aclowes thanks, that worked for us. |
Time to close this @mgutz ? |
After installing with
npm install execSync
I gotCannot find module './build/Release/shell'
error.I had to go into the node_modules directory and build it myself passing the flag
--python python2
to thenode-gyp rebuild
command.The text was updated successfully, but these errors were encountered: