-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
gyp_main.py: error: no such option: --no-parallel #426
Comments
I've the same since I upgraded to Ubuntu 14.04 |
there are two ways to solve this problem:
OR
|
Thanks for the hack, it works. |
This is the commit that added the https://code.google.com/p/gyp/source/detail?r=1773&path=/trunk/pylib/gyp/__init__.py# |
Hi. Is this hack still the best option? |
@AaronM04 upgrading gyp from source solved the compilation error for me and the hack was not necessary. (I am running Fedora 20.) |
Ah cool. I'll try that :) |
If anyone is experiencing this problem on ubuntu, I hadn't realized that ubuntu has their own gyp package in the repositories that at some point got installed, as soon as I removed that, the npm version kicked I had installed in and this error went away(i.e. apt-get remove gyp) |
Would it be too much to ask that node-gyp run |
@aviynw, thanks man, this solve my problem in Ubuntu 14.04! |
@aviynw +1 |
OS : amazon Linux 3.14.23-22.44.amzn1.x86_64 I am using mongoose. ├─┬ mongoose@3.8.20 be shown error message below when run node. { [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' } |
removing gyp helped me, thanks @aviynw |
@JeremyWei none of them worked for me,
apm install git-projects
Installing git-projects to /home/iyogeshjoshi/.atom/packages ✗
> git-utils@3.0.0 install /tmp/apm-install-dir-115227-7025-16poy8t/node_modules/git-projects/node_modules/git-utils
> node-gyp rebuild
Usage: gyp_main.py [options ...] [build_file ...]
gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 2
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.16.0-33-generic
gyp ERR! command "node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-115227-7025-16poy8t/node_modules/git-projects/node_modules/git-utils
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Linux 3.16.0-33-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/iyogeshjoshi/.atom/.apm/.apmrc" "--userconfig" "/home/iyogeshjoshi/.atom/.apmrc" "install" "/tmp/d-115227-7025-esxv5v/package.tgz" "--target=0.21.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! git-utils@3.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the git-utils@3.0.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the git-utils package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls git-utils
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-115227-7025-16poy8t/npm-debug.log |
@iyogeshjoshi from your logs, i think the right path of your |
@JeremyWei yes that worked thanks 👍 . |
@aviynw thanks, that worked for me, too |
@aviynw Uninstalling the |
I tried to remove the gyp module, hack the configure.js file and it is still showing the same error. I also tried to remove the ~/.node-gyp folder. Still nothing. I am using Debian Wheezy of BeagleBone Black |
I ran into this problem and solved it via |
@ekg worked for me as well. Thanks! |
@aviynw removing it worked for me too, thanks! |
Upgrading the version of gyp used by npm worked for me:
https://github.com/nodejs/node-gyp/wiki/Updating-npm%27s-bundled-node-gyp |
Upgrading bundled node-gyp didn't work for me, but removing OS gyp did. Thanks, @aviynw ! I tried to dig a little deeper into this. It just seems so wrong that you need to poke internals of bundled package or remove system packages. Looks like
But apparently that isolation effort fails. Looks like a bug to me. |
It seems like upgrading |
Hello,
When I try to install pg or bcrypt, I get the following error:
Regards,
The text was updated successfully, but these errors were encountered: