Kwaadpepper / msi-keyboard-CLI

Just a nodejs cli to control https://github.com/stevelacy/msi-keyboard
http://freethepepper.com
GNU General Public License v2.0
64 stars 13 forks source link

msi GE62 : not working #4

Closed jcplu closed 8 years ago

jcplu commented 8 years ago

Hello,

I tried to install it but not working. Can you help me ?

root@GE62:/# npm install msi-keyboard-cli -g

npm WARN engine node-hid@0.5.1: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) |

node-hid@0.5.1 install /usr/local/lib/node_modules/msi-keyboard-cli/node_modules/msi-keyboard/node_modules/node-hid node-pre-gyp install --fallback-to-build

/usr/bin/env: node: Aucun fichier ou dossier de ce type npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm ERR! node-hid@0.5.1 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the node-hid@0.5.1 install script. npm ERR! 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 their info via: npm ERR! npm owner ls node-hid npm ERR! There is likely additional logging output above.

npm ERR! System Linux 4.4.0-0.bpo.1-amd64 npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "msi-keyboard-cli" "-g" npm ERR! cwd / npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /npm-debug.log npm ERR! not ok code 0

jcplu commented 8 years ago

problem was in nodejs. Installation ok after :

curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install nodejs