NEWS
[gelöst]Zigbee Adapter lässt sich nicht installieren
-
Moin,
habe heute meinen cc2531 bekommen und wollte "mal eben" den Zigbee Adapter dazu installieren….pustekuchen.
Die Installation endet mit einem:
compilation terminated. make: *** [Release/obj.target/serialport/src/serialport_unix.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) gyp ERR! System Linux 4.14.49-unRAID gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/serialport gyp ERR! node -v v6.14.3 gyp ERR! node-gyp -v v3.4.0gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm ERR! Linux 4.14.49-unRAID npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zigbee" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.14.3 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the serialport@6.2.2 install script 'prebuild-install || node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the serialport package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! prebuild-install || node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs serialport npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls serialport npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log npm ERR! code 1 host.7d365858df26 install adapter zigbee ERROR: host.7d365858df26 Cannot install zigbee ERROR: process exited with code 13Vollständiges Log unter: https://www.dropbox.com/s/rylf3ihembnix … l.log?dl=0
Es handelt sich um einen Dockercontainer.
Ich bin kein Linux experte drum steinige man mich nicht gleich….. "nodejs -v" liefert ein "not found"
Das war aber schon immer so und hat auch noch nie gestört...muss ich das noch installieren??
Ansonsten habe ich diverse andere Adapter laufen und es gab bisher nie eine Problem mit der Installation.
Hat jemand einen Tip für mich?
Gruss
Sky
-
-
Hmmm….ich zieh mir mal die Eselsmütze auf.
Wie update ich das?
Wie gesagt ist ein Docker Container auf AlpinLinux Basis...erstellt von Bluefox. :)
D.h. wenn es die 8 sein muss währe es am einfachsten Bluefox aktualisiert den Docker und verweist auf "mhart/alpine-node:8"
Ist es sicher das es an der Node/npm Version liegt?
Gruss
Sky
-