Closed mrks1337 closed 5 months ago
I am adding here the full log, hopefully this helps :)
I just update to latest Node LTS (20.12.0) but I receive the same error:
USER: loxberry
DIR: /usr
CMD: sudo -E -n npm install -g homebridge-loxone-proxy@1.9.1
(##################) ⠸ reify:rxjs: timing reifyNode:node_modules/homebridge-loxone-pro
> bufferutil@4.0.8 install
> node-gyp-build
(##################) ⠦ reify:rxjs: timing reifyNode:node_modules/homebridge-loxone-pro
make: Entering directory '/usr/lib/node_modules/homebridge-loxone-proxy/node_modules/bufferutil/build'
CC(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.nodeodules/homebridge-loxone-pro
make: g++: No such file or directory
make: *** [bufferutil.target.mk:132: Release/obj.target/bufferutil.node] Error 127
make: Leaving directory '/usr/lib/node_modules/homebridge-loxone-proxy/node_modules/bufferutil/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)
gyp ERR! System Linux 6.1.21-v8+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/homebridge-loxone-proxy/node_modules/bufferutil
gyp ERR! node -v v20.12.0
gyp ERR! node-gyp -v v10.0.1
gyp ERR! not ok
npm ERR! code 1
npm ERR! path /usr/lib/node_modules/homebridge-loxone-proxy/node_modules/bufferutil
npm ERR! command failed
npm ERR! command sh -c node-gyp-build
npm ERR! A complete log of this run can be found in: /opt/loxberry/.npm/_logs/2024-03-28T14_37_36_162Z-debug-0.log
Operation failed with code 1.
You can download this log file for future reference.
See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.
Hello! I am running Homebridge on my Loxberry and wanted to give this plugin a try. During npm installation I get the following error:
These errors are happening for v1.9.1 and v1.10.0-beta-5.