NEWS
Probleme Zigbee adapter zu installieren
-
**Hallo an Alle, ich bekomme folgenden Log angezeigt wenn ich den Zigbee Adapter installieren/hinzufügen möchte.
Ich habe zudem npm aktualisiert. Zuvor, als ich npm nicht aktualisiert hatte, hat es auch nicht funktioniert.
Meine Daten:
ioBroker-RasPi
Typ: js-controller
Titel: JS controllerEingerichtet: 1.4.2Folgende Fehlermeldung:**
-
nodejs 11 = keine LTS Version = Dev Version = unsupported ... bitte auf 8 oder 10 runtergehen!
-
Bin auf 10.15 runter gegangen kommt aber immer noch die selbe Fehlermeldung
-
zeig nochmal
-
$ ./iobroker add zigbee 1 --host ioBroker-RasPi
NPM version: 6.4.1
npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
In file included from /usr/include/linux/errno.h:1:0, from /usr/include/arm-linux-gnueabihf/bits/errno.h:24,
from /usr/include/errno.h:35,
from /home/pi/.node-gyp/10.15.3/include/node/uv/errno.h:25,
from /home/pi/.node-gyp/10.15.3/include/node/uv.h:48,
from ../../nan/nan.h:50,
from ../authenticate_pam.cc:23:
/usr/include/arm-linux-gnueabihf/asm/errno.h:1:31: fatal error: /usr/include/asm-generic/errno.h: Die Struktur muss bereinigt werden
#include <asm-generic/errno.h>
^
compilation terminated.make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
gyp ERR! build error gyp
ERR!stack Error:
make
failed with exit code: 2gyp
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:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.14.62-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gypERR!
cwd /opt/iobroker/node_modules/authenticate-pamgyp ERR! node -v v10.15.3
gyp
ERR! node-gyp -v v3.8.0gyp ERR! not okprebuild-install
WARN install No prebuilt binaries found (target=10.15.3 runtime=node arch=arm libc= platform=linux)
In file included from /usr/include/linux/errno.h:1:0, from /usr/include/arm-linux-gnueabihf/bits/errno.h:24,
from /usr/include/errno.h:35,
from /home/pi/.node-gyp/10.15.3/include/node/uv/errno.h:25,
from /home/pi/.node-gyp/10.15.3/include/node/uv.h:48,
from ../node_modules/nan/nan.h:52,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/usr/include/arm-linux-gnueabihf/asm/errno.h:1:31: fatal error: /usr/include/asm-generic/errno.h: Die Struktur muss bereinigt werden
#include <asm-generic/errno.h>
^
compilation terminated.make: *** [Release/obj.target/bindings/src/serialport.o] Fehler 1
gypERR! build error gyp
ERR! stack Error:make
failed with exit code: 2gyp 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:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.62-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 /opt/iobroker/node_modules/@serialport/bindingsgyp ERR! node -v v10.15.3gyp ERR! node-gyp -v v3.8.0
gyp ERR! not oknpm
WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install:node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm
ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! @serialport/bindings@2.0.7 install:
prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @serialport/bindings@2.0.7 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:npm ERR! /home/pi/.npm/_logs/2019-03-08T09_49_45_656Z-debug.log
host.ioBroker-RasPi install adapter zigbee
NPM version: 6.4.1
npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
In file included from /usr/include/linux/errno.h:1:0, from /usr/include/arm-linux-gnueabihf/bits/errno.h:24,
from /usr/include/errno.h:35,
from /home/pi/.node-gyp/10.15.3/include/node/uv/errno.h:25,
from /home/pi/.node-gyp/10.15.3/include/node/uv.h:48,
from ../../nan/nan.h:50,
from ../authenticate_pam.cc:23:
/usr/include/arm-linux-gnueabihf/asm/errno.h:1:31: fatal error: /usr/include/asm-generic/errno.h: Die Struktur muss bereinigt werden
#include <asm-generic/errno.h>
^compilation terminated.
make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
gypERR! build error
gyp ERR! stack Error:make
failed with exit code: 2gyp
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:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.62-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 /opt/iobroker/node_modules/authenticate-pam
gyp ERR!
node -v v10.15.3gyp ERR! node-gyp -v v3.8.0
gyp ERR! not okprebuild-install
WARN install No prebuilt binaries found (target=10.15.3 runtime=node arch=arm libc= platform=linux)
In file included from /usr/include/linux/errno.h:1:0, from /usr/include/arm-linux-gnueabihf/bits/errno.h:24,
from /usr/include/errno.h:35,
from /home/pi/.node-gyp/10.15.3/include/node/uv/errno.h:25,
from /home/pi/.node-gyp/10.15.3/include/node/uv.h:48,
from ../node_modules/nan/nan.h:52,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/usr/include/arm-linux-gnueabihf/asm/errno.h:1:31: fatal error: /usr/include/asm-generic/errno.h: Die Struktur muss bereinigt werden
#include <asm-generic/errno.h>
^
compilation terminated.make: *** [Release/obj.target/bindings/src/serialport.o] Fehler 1
gyp
ERR! build error
gyp ERR! stack Error:make
failed with exit code: 2gyp 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:189:13)
gyp
ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.62-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 /opt/iobroker/node_modules/@serialport/bindings
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v
v3.8.0gyp ERR! not oknpm
WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install:node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm ERR! code ELIFECYCLEnpm ERR! errno 1
npm ERR! @serialport/bindings@2.0.7 install:
prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @serialport/bindings@2.0.7 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-03-08T09_50_26_729Z-debug.loghost.ioBroker-RasPi install adapter zigbee
NPM version: 6.4.1
npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
In file included from /usr/include/linux/errno.h:1:0, from /usr/include/arm-linux-gnueabihf/bits/errno.h:24,
from /usr/include/errno.h:35,
from /home/pi/.node-gyp/10.15.3/include/node/uv/errno.h:25,
from /home/pi/.node-gyp/10.15.3/include/node/uv.h:48,
from ../../nan/nan.h:50,
from ../authenticate_pam.cc:23:
/usr/include/arm-linux-gnueabihf/asm/errno.h:1:31: fatal error: /usr/include/asm-generic/errno.h: Die Struktur muss bereinigt werden
#include <asm-generic/errno.h>
^
compilation terminated.make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
gyp
ERR! build error
gyp ERR! stack Error:make
failed with exit code: 2gyp 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:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.62-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 /opt/iobroker/node_modules/authenticate-pamgyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not okprebuild-install WARN install No prebuilt binaries found (target=10.15.3 runtime=node arch=arm libc= platform=linux)
In file included from /usr/include/linux/errno.h:1:0, from /usr/include/arm-linux-gnueabihf/bits/errno.h:24,
from /usr/include/errno.h:35,
from /home/pi/.node-gyp/10.15.3/include/node/uv/errno.h:25,
from /home/pi/.node-gyp/10.15.3/include/node/uv.h:48,
from ../node_modules/nan/nan.h:52,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/usr/include/arm-linux-gnueabihf/asm/errno.h:1:31: fatal error: /usr/include/asm-generic/errno.h: Die Struktur muss bereinigt werden
#include <asm-generic/errno.h>
^compilation terminated.
make: *** [Release/obj.target/bindings/src/serialport.o] Fehler 1
gypERR! 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:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.14.62-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 /opt/iobroker/node_modules/@serialport/bindings
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not oknpm
WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install:
node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm
ERR! code
ELIFECYCLE
npm
ERR! errno 1
npm ERR! @serialport/bindings@2.0.7 install:prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm
ERR! Exit status 1npm ERR!
npm ERR! Failed at the @serialport/bindings@2.0.7 install script.
npm
ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:npm ERR! /home/pi/.npm/_logs/2019-03-08T09_51_07_881Z-debug.log
host.ioBroker-RasPi install adapter zigbee
ERROR: host.ioBroker-RasPi Cannot install zigbee
ERROR: process exited with code 13 -
apt-get install python-dev
und den adapter nochmal