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

gyp_main.py: error: no such option: --no-parallel #434

Closed
dibu28 opened this issue Apr 24, 2014 · 6 comments
Closed

gyp_main.py: error: no such option: --no-parallel #434

dibu28 opened this issue Apr 24, 2014 · 6 comments

Comments

@dibu28
Copy link

dibu28 commented Apr 24, 2014

"gyp_main.py: error: no such option: --no-parallel"
"Error: gyp failed with exit code: 2"

Then I try to install pm2 or sleep packages. "npm install pm2 -g"

Or then I try to run "node-gyp configure"

How to fix this?

@ghost
Copy link

ghost commented May 1, 2014

got the same problem

@0xcaff
Copy link

0xcaff commented May 6, 2014

Ref: #426

@discordianfish
Copy link

Same here

@JoergFF
Copy link

JoergFF commented May 14, 2014

I try build https://github.com/atom/atom.

Under Ubuntu 14.04 and Debian sid I get:

#############
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 (/tmp/buildd/atom-0.95.0/build/node_modules/npm/node_modules/node-gyp/lib/configure.js:340:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.11.0-15-generic
gyp ERR! command "node" "/tmp/buildd/atom-0.95.0/build/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/buildd/atom-0.95.0/apm/node_modules/atom-package-manager/node_modules/runas
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
#################

The workaround from #426 does not work because node-gyp is loaded during builds

@Trott
Copy link
Member

Trott commented Apr 4, 2018

@nodejs/node-gyp Should this remain open?

@bnoordhuis
Copy link
Member

No, should be fixed. If anyone still encounters this, make sure you don't have an old copy of gyp (not node-gyp) on your path.

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

6 participants