Failed at the usb@1.1.2 install script 'node-pre-gyp install --fallback-to-build'.
See original GitHub issueHi,
I keep getting this issue above when I try to npm install. I have the latest version of node and npm and am running this on a raspberry pi. See terminal output below. Any help would be great - thanks:
Failed to execute ‘/usr/local/bin/node /home/pi/arm/owi-robot-arm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/arm/owi-robot-arm/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/home/pi/arm/owi-robot-arm/node_modules/usb/src/binding’ (1) npm ERR! Linux 3.18.11+ npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” npm ERR! node v6.2.1 npm ERR! npm v3.9.5 npm ERR! code ELIFECYCLE
npm ERR! usb@1.1.2 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the usb@1.1.2 install script ‘node-pre-gyp install --fallback-to-build’.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (2 by maintainers)
I installed the package libudev-dev and then tried to install usb and the problem was fixed
node-pre-gyp is no longer used as of https://github.com/tessel/node-usb/pull/300 , so this can be closed too.