NEWS
[Gelöst] Adapter installation nicht möglich - Exit 13
-
Hi zusammen,
ich habe meinen Rock64 neu aufgesetzt und nun das problem, dass ich einige Adapter nicht installieren kann.
Folgende Konstellation:
Rock 64 mit Debian Stretch
NPM 6.4.1
Node 8.12.0
Git ist installiert und libcap-dev auch. Folgende Fehlermeldung bekomme ich immer (am Beispiel des Yahia Adapters):
! $ ./iobroker add yahka
! NPM version: 6.4.1
! npm install iobroker.yahka –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:gypfailed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
! gyp ERR! stack at emitTwo (events.js:126:13)
! gyp ERR! stack
! at ChildProcess.emit (events.js:214:7)gyp
! ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)gyp
! ERR! System Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524gyp 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/curve25519-ngyp ERR! node -v v8.12.0
! gyp ERR! node-gyp -v
! v3.8.0gyp ERR! not ok
! npm
! ERR! code ELIFECYCLEnpm
! ERR! errno 1
! npm
! ERR! curve25519-n@1.4.0 install:node-gyp rebuildnpm ERR! Exit status 1
! npm
! ERR! npm ERR! Failed at the curve25519-n@1.4.0 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-09-21T21_13_44_713Z-debug.log
! host.rock64 install adapter yahka
! NPM version: 6.4.1
! npm install iobroker.yahka --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:gypfailed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
! gyp ERR! stack at emitTwo (events.js:126:13)
! gyp ERR! stack at ChildProcess.emit (events.js:214:7)
! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
! gyp ERR! System Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524gyp 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/curve25519-ngyp ERR! node -v v8.12.0
! gyp ERR! node-gyp -v v3.8.0
! gyp ERR! not ok
! npm
! ERR! code ELIFECYCLEnpm ERR!
! errno 1
! npm
! ERR! curve25519-n@1.4.0 install:node-gyp rebuildnpm ERR! Exit status 1
! npm ERR! npm ERR! Failed at the curve25519-n@1.4.0 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-09-21T21_14_23_302Z-debug.log
! host.rock64 install adapter yahka
! NPM version: 6.4.1
! npm install iobroker.yahka --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:gypfailed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
! gyp ERR! stack at emitTwo (events.js:126:13)
! gyp ERR! stack at ChildProcess.emit (events.js:214:7)
! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
! gyp ERR! System Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524gyp 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/curve25519-n
! gyp ERR! node -v v8.12.0
! gyp ERR! node-gyp -v v3.8.0
! gyp ERR! not ok
! npm
! ERR! code ELIFECYCLEnpm
! ERR! errno 1
! npm
! ERR! curve25519-n@1.4.0 install:node-gyp rebuildnpm ERR! Exit status 1
! npm
! ERR! npm ERR! Failed at the curve25519-n@1.4.0 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-09-21T21_15_01_667Z-debug.log
! host.rock64 install adapter yahka
! ERROR: host.rock64 Cannot install yahka
! ERROR: process exited with code 13</module></module></module></module></module></module></module></module></module>und einen gleichen Fehler auch beim Amazon Dash Adapter, hier hatte ich es als root in der console direkt probiert:
! root@rock64:~# iobroker add amazon-dash 1
! NPM version: 6.4.1
! npm install iobroker.amazon-dash –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:gypfailed with exit code: 1
! gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
! gyp ERR! stack at emitTwo (events.js:126:13)
! gyp ERR! stack at ChildProcess.emit (events.js:214:7)
! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
! gyp ERR! System Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524
! 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/socketwatcher
! gyp ERR! node -v v8.12.0
! gyp ERR! node-gyp -v v3.8.0
! gyp ERR! not ok
! npm ERR! code ELIFECYCLE
! npm ERR! errno 1
! npm ERR! socketwatcher@0.3.0 install:node-gyp rebuild
! npm ERR! Exit status 1
! npm ERR!
! npm ERR! Failed at the socketwatcher@0.3.0 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-09-21T20_59_54_852Z-debug.log
! host.rock64 install adapter amazon-dash
! NPM version: 6.4.1
! npm install iobroker.amazon-dash --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:gypfailed with exit code: 1
! gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
! gyp ERR! stack at emitTwo (events.js:126:13)
! gyp ERR! stack at ChildProcess.emit (events.js:214:7)
! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
! gyp ERR! System Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524
! 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/socketwatcher
! gyp ERR! node -v v8.12.0
! gyp ERR! node-gyp -v v3.8.0
! gyp ERR! not ok
! npm ERR! code ELIFECYCLE
! npm ERR! errno 1
! npm ERR! socketwatcher@0.3.0 install:node-gyp rebuild
! npm ERR! Exit status 1
! npm ERR!
! npm ERR! Failed at the socketwatcher@0.3.0 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-09-21T21_00_40_020Z-debug.log
! host.rock64 install adapter amazon-dash
! NPM version: 6.4.1
! npm install iobroker.amazon-dash --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:gypfailed with exit code: 1
! gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
! gyp ERR! stack at emitTwo (events.js:126:13)
! gyp ERR! stack at ChildProcess.emit (events.js:214:7)
! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
! gyp ERR! System Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524
! 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/socketwatcher
! gyp ERR! node -v v8.12.0
! gyp ERR! node-gyp -v v3.8.0
! gyp ERR! not ok
! npm ERR! code ELIFECYCLE
! npm ERR! errno 1
! npm ERR! socketwatcher@0.3.0 install:node-gyp rebuild
! npm ERR! Exit status 1
! npm ERR!
! npm ERR! Failed at the socketwatcher@0.3.0 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-09-21T21_01_26_521Z-debug.log
! host.rock64 install adapter amazon-dash
! host.rock64 Cannot install amazon-dash</module></module></module></module></module></module></module></module></module>Jemand eine Idee woran das liegen könnte? Hab ich noch was vergessen zu installieren?
Danke vorab!
Viele Grüße
Walkinlarge
-
Probiere es damit:
apt-get install python-dev -
Danke, das hat geholfen!
Gesendet von iPad mit Tapatalk
-
War mir eine Freude. Viel Spaß noch mit ioBroker.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden