Alles anzeigenpi@raspberrypi:~ $ sudo npm install -g --unsafe-perm homebridge@latest
/usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge
updated 2 packages in 43.566s
pi@raspberrypi:~ $ homebridge
/usr/local/lib/node_modules/homebridge/node_modules/bindings/bindings.js:96
throw err
^
Error: Could not locate the bindings file. Tried:
? /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/build/ed25519.node
? /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/build/Debug/ed25519.node
? /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/build/Release/ed25519.node
? /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/out/Debug/ed25519.node
? /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/Debug/ed25519.node
? /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/out/Release/ed25519.node
? /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/Release/ed25519.node
? /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/build/default/ed25519.node
? /usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/compiled/9.8.0/linux/arm/ed25519.node
at bindings (/usr/local/lib/node_modules/homebridge/node_modules/bindings/bindings.js:93:9)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/ed25519-hap/index.js:1:99)
at Module._compile (module.js:662:30)
at Object.Module._extensions..js (module.js:673:10)
at Module.load (module.js:575:32)
at tryModuleLoad (module.js:515:12)
at Function.Module._load (module.js:507:3)
at Module.require (module.js:606:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:8:15)
Rebuild gemacht?
(Ausführen in:
cd /usr/lib/node_modules/ oder cd /usr/local/lib/node_modules/
sudo npm rebuild