-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi,
trieing to install npm i will get following error and i cannot find any solution. Thanks for your help
root@raspberrypi:~/xiaomi-zb2mqtt# npm install
npm WARN package.json [email protected] No README data
/
[email protected] install /root/xiaomi-zb2mqtt/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport
node-pre-gyp install --fallback-to-build
sh: 1: node-pre-gyp: Permission denied
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! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] install script.
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! System Linux 4.9.35-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /root/xiaomi-zb2mqtt
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! /root/xiaomi-zb2mqtt/npm-debug.log
npm ERR! not ok code 0