TooTallNate / ref

Turn Buffer instances into "pointers"
http://tootallnate.github.com/ref
453 stars 141 forks source link

no such option: --no-parallel #44

Closed Andrewiski closed 8 years ago

Andrewiski commented 8 years ago

Can't seem to get ref to build

ref@1.2.0 install /usr/lib/node_modules/ref 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/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355: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.8.13-bone71.1 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/ref gyp ERR! node -v v0.10.40 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm ERR! Linux 3.8.13-bone71.1 npm ERR! argv "node" "/usr/local/bin/npm" "install" "ref@latest" npm ERR! node v0.10.40 npm ERR! npm v3.3.6 npm ERR! code ELIFECYCLE

npm ERR! ref@1.2.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ref@1.2.0 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the ref 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 ref npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /usr/lib/node_modules/npm-debug.log

Andrewiski commented 8 years ago

https://github.com/fivdi/onoff/wiki/Node.js-v0.10.29-and-native-addons-on-the-BeagleBone-Black

The no such option: --no-parallel error is a known issue with node-gyp and can be resovled by editing /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js and removing this line:

argv.push('--no-parallel')