NEWS
Keine Installation Zigbee Adapter , Fehler 13
-
Liebe Mitstreitende,
ziehe gerade ioBroker von einen Raspi auf einen Odroid C2 unter dietPi um. Ich richte alles von Null neu ein.
Soweit läuft alles, bekomme nur den Zigbee Adapter einfach nicht installiert. Nachfolgend das Log des Installationsversuches. Vielleicht kann einer der Experten etwas sehen und mich in die richtige Richtung schicken. Vorab Danke
$ ./iobroker add zigbee –host ioBroker
NPM version: 4.6.1
npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 8, in <module>import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
ImportError: No module named compiler.ast
gyp ERR! configure error
gyp ERR! stack Error:
gyp
failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)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 3.16.57+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/unix-dgramgyp ERR! node -v v6.14.4
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
prebuild-install
WARN
install No prebuilt binaries found (target=6.14.4 runtime=node arch=arm64 platform=linux)
Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 8, in <module>import gyp.input
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
ImportError: No module named compiler.ast
gyp
ERR! configure error
gyp
ERR!
stack Error:
gyp
failed with exit code: 1gyp
ERR! stack
at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)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 3.16.57+
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.4
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
npm
WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
npm WARN
optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install:
node-gyp rebuild
npmWARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm
ERR! code ELIFECYCLEnpm
ERR! errno 1
npm ERR! serialport@6.2.2 install:
prebuild-install || node-gyp rebuild
npm ERR! Exit status 1npm ERR!
npm ERR! Failed at the serialport@6.2.2 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! /root/.npm/_logs/2018-11-23T20_46_37_540Z-debug.log
host.ioBroker install adapter zigbee
NPM version: 4.6.1
npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 8, in <module>import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
ImportError: No module named compiler.ast
gyp
ERR! configure error
gyp
ERR! stack Error:
gyp
failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)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 3.16.57+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/unix-dgram
gyp ERR! node -v v6.14.4gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
prebuild-install WARN install No prebuilt binaries found (target=6.14.4 runtime=node arch=arm64 platform=linux)
Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 8, in <module>import gyp.input
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
ImportError: No module named compiler.ast
gyp ERR! configure error
gyp ERR! stack Error:
gyp
failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
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 3.16.57+
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.4
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install:
node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm
ERR! code ELIFECYCLEnpm ERR! errno 1
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.
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! /root/.npm/_logs/2018-11-23T20_48_31_539Z-debug.log
host.ioBroker install adapter zigbee
NPM version: 4.6.1
npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
Traceback (most recent call last):
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 8, in <module>import gyp.input
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
ImportError: No module named compiler.ast
gyp
ERR! configure error
gyp ERR! stack Error:
gyp
failed with exit code: 1gypERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)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 3.16.57+
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/unix-dgram
gyp ERR! node -v v6.14.4
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
prebuild-install WARN install No prebuilt binaries found (target=6.14.4 runtime=node arch=arm64 platform=linux)
Traceback (most recent call last): File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>import gyp
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 8, in <module>import gyp.input
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>from compiler.ast import Const
ImportError: No module named compiler.ast
gyp
ERR! configure error
gyp ERR! stack Error:
gyp
failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)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 3.16.57+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.4
gyp ERR! node-gyp -v v3.6.0
gyp ERR!
not ok
npm
WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install:
node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm
ERR! code ELIFECYCLEnpm ERR! errno 1
npm ERR! serialport@6.2.2 install:
prebuild-install || node-gyp rebuild
npm ERR! Exit status 1npm ERR! npm ERR! Failed at the serialport@6.2.2 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! /root/.npm/_logs/2018-11-23T20_50_28_858Z-debug.log
host.ioBroker install adapter zigbee
ERROR: host.ioBroker Cannot install zigbee
ERROR: process exited with code 13</module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module></module>
-
Sind die Build-essentials installiert?
Gesendet vom Handy …
-
Ja, node, npm und build essentials sind installiert
node 8, habe auch node 6 probiert
npm 4
und
sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
-
Versuch mal npm 6.4.1+
Gesendet vom Handy …
-
Habe es auch mit npm 6 versucht. gleiches Ergebnis.
Versuche es nun mit einem anderen Betriebssystem, Ubuntu 18.04
-
Schonmal gegoogelt?
Gesendet vom Handy …
-
Ja, aber wahrscheinlich nicht nach der richtigen Begriffspaarung. Worauf spielst Du an?
Unter Ubuntu läßt sich der Zigbee Adapter installieren, keine Fehlermeldungen.
Nur funktioniert jetzt die Autostart von iobroker nicht, aber das ist ein anderes Problem und dazu habe ich schon einiges gefunden
-
der Autostart ist nicht das Problem.. da gibbet auch ein Thread zu
-
Ja, aber wahrscheinlich nicht nach der richtigen Begriffspaarung. Worauf spielst Du an?
Unter Ubuntu läßt sich der Zigbee Adapter installieren, keine Fehlermeldungen.
Nur funktioniert jetzt die Autostart von iobroker nicht, aber das ist ein anderes Problem und dazu habe ich schon einiges gefunden `
Die relevante Fehlermeldung … das mit compiler.ast ...Gesendet vom Handy ...