Hi,
zuerst einmal ich bin neu hier. Also falls ich irgendwo einen Fehler mache bezüglich der Nutzung des Forums gerne drauf hinweisen !
Ich versuche auf meinem Raspberry Pi 3B+ mit Raspbian und HomeKit das folgende Plugin zu installieren:
https://www.npmjs.com/package/homebridge-magic-blue-bulb
zum installieren verwende ich root und den Befehl: "sudo npm install -g homebridge-magic-blue-bulb --unsafe-perm" jedoch kommt immer erst eine Warnmeldung:
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://github.com/tessel/node…node-v67-linux-arm.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, glibc) (falling back to source compile with node-gyp)
und dann nach einigem text der Error:
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:197:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 4.14.98-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 /root/.npm-global/lib/node_modules/homebridge-magic-blue-bulb/node_modules/bluetooth-hci-socket
gyp ERR! node -v v11.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-magic-blue-bulb/node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/homebridge-magic-blue-bulb/node_modules/bluetooth-hci-socket):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
updated 1 package in 53.339s
Kann mir jemand helfen bzw. hat jemand Erfahrung mit dem Plugin und hat es zum laufen bekommen? Alternativ gibt es noch ein ähnliches Plugin (https://www.npmjs.com/package/homebridge-magic-blue-bulb-mac) aber auch hier kommt die gleiche Fehlermeldung.
Vielen Dank im Voraus für die Hilfe
und noch einen schönen Abend euch
SeiD