Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Gelöst] Adapter installation nicht möglich - Exit 13

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Gelöst] Adapter installation nicht möglich - Exit 13

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Walkinlarge2010 last edited by

      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: gyp failed 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: gyp failed 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: gyp failed 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: gyp failed 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: gyp failed 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: gyp failed 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

      1 Reply Last reply Reply Quote 0
      • Stabilostick
        Stabilostick last edited by

        Probiere es damit:

        apt-get install python-dev
        
        1 Reply Last reply Reply Quote 1
        • W
          Walkinlarge2010 last edited by

          Danke, das hat geholfen!

          Gesendet von iPad mit Tapatalk

          1 Reply Last reply Reply Quote 0
          • Stabilostick
            Stabilostick last edited by

            War mir eine Freude. Viel Spaß noch mit ioBroker.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate
            FAQ Cloud / IOT
            HowTo: Node.js-Update
            HowTo: Backup/Restore
            Downloads
            BLOG

            476
            Online

            31.8k
            Users

            80.0k
            Topics

            1.3m
            Posts

            2
            4
            585
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo