OpenZWave / open-zwave

a C++ library to control Z-Wave Networks via a USB Z-Wave Controller.
http://www.openzwave.net/
GNU Lesser General Public License v3.0
1.05k stars 918 forks source link

Problem with Open-wave plugin installation #2604

Open bubblefreddo opened 3 years ago

bubblefreddo commented 3 years ago

Hi,

Look at that log: CMD: sudo -E -n npm install -g homebridge-openzwave@latest

openzwave-shared@1.7.2 preinstall /usr/local/lib/node_modules/homebridge-openzwave/node_modules/openzwave-shared node lib/install-ozw.js

openzwave-shared@1.7.2 install /usr/local/lib/node_modules/homebridge-openzwave/node_modules/openzwave-shared node-gyp rebuild

grep: /usr//include/value_classes: No such file or directory gyp: Call to 'grep -r GetTypeNameFromEnum /usr//include/value_classes | wc -l' returned exit status 0 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Linux 5.4.83-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/homebridge-openzwave/node_modules/openzwave-shared gyp ERR! node -v v14.16.1 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! openzwave-shared@1.7.2 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the openzwave-shared@1.7.2 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2021-05-01T13_44_39_922Z-debug.log

Command failed. Please review log for details.

Is anybody can help me please? Have a good day!! ;-)

Fred

bubblefreddo commented 2 years ago

up!