New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed node-hid #17
Comments
could you try Also here are some tips to make it work node-hid/node-hid#144
|
Hi, I don't know if you're having problems building node-hid or can help, but this is what I actually get after npm install node-hid (and having just upgraded nodejs to latest version): root@sergio-GE72-6QD:/home/sergio/msi-klm# npm install node-hid
node-pre-gyp ERR! Tried to download(404): https://github.com/node-hid/node-hid/releases/download/0.5.2/HID-v0.5.2-node-v51-linux-x64.tar.gz npm ERR! node-hid@0.5.2 install: node-pre-gyp install --fallback-to-build npm ERR! Please include the following file with any support request: this is the ubuntu distro I'm using: root@sergio-GE72-6QD:/home/sergio/msi-klm# lsb_release -a and of course I have installed libusb-1.0-0-dev It seems as if all this is due to https://github.com/node-hid/node-hid/releases/download/0.5.2/HID-v0.5.2-node-v51-linux-x64.tar.gz is no longer available, right? I don't quite understand any of this. I posted the same in the thread you referenced. I followed all these three tips and it doesn't work yet. I don't know what I'm is wrong. All this worked me some months ago. Best regards |
I reported this node-hid/node-hid#175 |
Hi, I tried installing manually node-hid just as @todbot commented in https://github.com/node-hid/node-hid#compiling-from-source under /msi-keyboard-CLI/node_modules by following the steps
It seems to be installed successfully. Now trying again npm install this is what I get: `root@sergio-GE72-6QD:/home/sergio/msi-klm/msi-keyboard-CLI# npm install npm ERR! git /home/sergio/msi-klm/msi-keyboard-CLI/node_modules/node-hid: Appears to be a git repo or submodule. npm ERR! Please include the following file with any support request: Regards. |
Hi @sergy8612, For instance:
|
Please try this |
None of the suggestions here helped so far, I'm getting this error:
|
solved this error with downgrading from 10 to 8 node version with |
Hi,
after following installation instructions, then clone git project and after npm-install I got the following message, I leave a capture of my shell, I'm using Ubuntu 16.04 Xenial
root@sergio-GE72-6QD:/home/sergio/msi-klm/msi-keyboard-CLI# npm install
/usr/bin/env: «node»: No existe el archivo o el directorio
msi-keyboard-cli@1.3.3 /home/sergio/msi-klm/msi-keyboard-CLI
└── minimist@1.2.0
npm ERR! Linux 4.4.0-57-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! node-hid@0.5.2 install:
node-pre-gyp install --fallback-to-build
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the node-hid@0.5.2 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-hid 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 information on how to open an issue for this project with:
npm ERR! npm bugs node-hid
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-hid
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/sergio/msi-klm/msi-keyboard-CLI/npm-debug.log
I also provide the npm-debug.log https://s3-eu-west-1.amazonaws.com/trantor-files/npm-debug.log
Any help will be appreciated. Thank you for your work.
The text was updated successfully, but these errors were encountered: