torandreroland / homebridge-sony-audio-control

Sony Audio Control of STR-DN1080 for Homebridge: https://github.com/nfarina/homebridge
ISC License
12 stars 10 forks source link

Update Error #22

Closed det-box closed 10 months ago

det-box commented 10 months ago

Hello, when updating in config-ui-x (4.5.21), I get the following error:

`USER: root DIR: /usr/local CMD: sudo -E -n npm install -g homebridge-sony-audio-control@2.5.0

(##################) ⠼ reify:es5-ext: timing reifyNode:node_modules/homebridge-sony-au

bufferutil@4.0.8 install node-gyp-build

(##################) ⠇ reify:es5-ext: timing reifyNode:node_modules/homebridge-sony-au make: Verzeichnis „/usr/local/lib/node_modules/homebridge-sony-audio-control/node_modules/bufferutil/build“ wird betreten CC(target) Release/obj.target/bufferutil/src/bufferutil.o ../src/bufferutil.c:2:10: fatal error: assert.h: Datei oder Verzeichnis nicht gefunden 2 | #include | ^~~~~~ compilation terminated.reify:es5-ext: timing reifyNode:node_modules/homebridge-sony-au make: *** [bufferutil.target.mk:111: Release/obj.target/bufferutil/src/bufferutil.o] Fehler 1 make: Verzeichnis „/usr/local/lib/node_modules/homebridge-sony-audio-control/node_modules/bufferutil/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23) gyp ERR! System Linux 6.1.58-v8+ 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-sony-audio-control/node_modules/bufferutil gyp ERR! node -v v20.9.0 gyp ERR! node-gyp -v v10.0.0 gyp ERR! not ok npm ERR! code 1 npm ERR! path /usr/local/lib/node_modules/homebridge-sony-audio-control/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: /root/.npm/_logs/2023-11-07T12_59_22_105Z-debug-0.log

Operation failed. Please review log for details. ` i am using node v20.9.0 npm v10.2.2

what can I do. thanks in advance

det-box commented 10 months ago

Done, works now. Copied to /usr/include/ Folder /arm-linux-gnueabihf/* Files: assert.h features.h stdc-predef.h stdint.h and g++ installed Thank you very much