node-hid: NPM install fails
I install libusb-dev, it used to work before, but few people reported me that it fails to install*; I installed it myself:
node-hid@0.5.2 install: node-pre-gyp install --fallback-to-build
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (7 by maintainers)
Commits related to this issue
- fix gypfile module path location to hopefully address issues #175, #174, #170, and others, maybe #155 and #150 — committed to node-hid/node-hid by todbot 7 years ago
Hi @6pm, that is a warning from npm (specifically the node-pre-gyp tool) as it’s looking for a pre-built binary. If it doesn’t find one (and there often won’t be especially for Linux or newer versions of Node), then npm will use the node-gyp tool to build node-hid for your platform.