Skip to content

Instantly share code, notes, and snippets.

@nebrius
Created November 25, 2015 23:24
Show Gist options
  • Save nebrius/a57c0ea52236943b3793 to your computer and use it in GitHub Desktop.
Save nebrius/a57c0ea52236943b3793 to your computer and use it in GitHub Desktop.
nodebots-interchange, Raspbian Jesse, node 4.2.1 armv7 error
make: Entering directory '/home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport/build'
make: *** No rule to make target '../.node-gyp/4.1.2/include/node/common.gypi', needed by 'Makefile'. Stop.
make: Leaving directory '/home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.1.7-v7+
gyp ERR! command "/usr/local/node/bin/node" "/usr/local/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport/build/Release/node-v46-linux-arm/serialport.node" "--module_name=serialport" "--module_path=/home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport/build/Release/node-v46-linux-arm"
gyp ERR! cwd /home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport
gyp ERR! node -v v4.1.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/node/bin/node /usr/local/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport/build/Release/node-v46-linux-arm/serialport.node --module_name=serialport --module_path=/home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport/build/Release/node-v46-linux-arm' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:172:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:818:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Linux 4.1.7-v7+
node-pre-gyp ERR! command "/usr/local/node/bin/node" "/home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport
node-pre-gyp ERR! node -v v4.1.2
node-pre-gyp ERR! node-pre-gyp -v v0.6.13
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/node/bin/node /usr/local/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport/build/Release/node-v46-linux-arm/serialport.node --module_name=serialport --module_path=/home/pi/nodebots-hcsr04/node_modules/nodebots-interchange/node_modules/serialport/build/Release/node-v46-linux-arm' (1)
npm ERR! Linux 4.1.7-v7+
npm ERR! argv "/usr/local/node/bin/node" "/usr/local/bin/npm" "install" "ajfisher/nodebots-interchange"
npm ERR! node v4.1.2
npm ERR! npm v2.14.4
npm ERR! code ELIFECYCLE
npm ERR! serialport@2.0.5 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the serialport@2.0.5 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/nodebots-hcsr04/firmware/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment