Skip to content

Instantly share code, notes, and snippets.

@newswim
Created August 13, 2015 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newswim/d8c3ada9cdc6cddd2390 to your computer and use it in GitHub Desktop.
Save newswim/d8c3ada9cdc6cddd2390 to your computer and use it in GitHub Desktop.
parallels@ubuntu:~/Documents/savi-reboot/packages/npm-container$ sudo npm install reboot
/
> reboot@0.0.1 install /home/parallels/Documents/savi-reboot/packages/npm-container/node_modules/reboot
> node-gyp rebuild
make: Entering directory `/home/parallels/Documents/savi-reboot/packages/npm-container/node_modules/reboot/build'
CXX(target) Release/obj.target/reboot_bindings/src/reboot.o
make: g++: Command not found
make: *** [Release/obj.target/reboot_bindings/src/reboot.o] Error 127
make: Leaving directory `/home/parallels/Documents/savi-reboot/packages/npm-container/node_modules/reboot/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.13.0-61-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/parallels/Documents/savi-reboot/packages/npm-container/node_modules/reboot
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Linux 3.13.0-61-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "reboot"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! reboot@0.0.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reboot@0.0.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the reboot 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 reboot
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/parallels/Documents/savi-reboot/packages/npm-container/npm-debug.log
parallels@ubuntu:~/Documents/savi-reboot/packages/npm-container$ npm owner ls reboot
egorfine <me@egorfine.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment