Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Dash Button Adapter Installation auf Rock64 Stretch IOBroker

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.8k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    735

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

Dash Button Adapter Installation auf Rock64 Stretch IOBroker

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
4 Beiträge 2 Kommentatoren 698 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • D Offline
    D Offline
    deifel
    schrieb am zuletzt editiert von
    #1

    Hallo zusammen,

    ich ziehe derzeit meine IOBroker Installation von einem Raspi2 auf einen Rock64 um (mit Stretch minimal).

    Alles hat problemlos funktioniert, nur der Dashbutton-Adapter macht enorme Probleme.

    Ich würde mich freuen, wenn mir diesbezüglich jemand weiterhelfen kann.

    Nachfolgend die Infos:

    node: v8.12.0

    nodejs: v8.12.0

    npm: 4.6.1

    Git ist installiert und libcab-dev auch.

    Ich habe auch versucht, den Adapter direkt von der Console aus zu installieren. Das Log sieht wie folgt aus:

    $ ./iobroker add amazon-dash 
    NPM version: 4.6.1
    npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
    npm
     WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.12.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/epoll/.node-gyp"
    
    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: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/epoll
    gyp ERR!
     node -v v8.12.0gyp ERR! node-gyp -v v3.6.0
    gyp ERR!
    
    not ok 
    gyp
    
    WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.12.0"
    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/mdns/.node-gyp"
    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:336: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/mdnsgyp ERR! node -v v8.12.0
    
    gyp ERR! node-gyp -v v3.6.0gyp ERR! not ok 
    
    gyp
     WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.12.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/socketwatcher/.node-gyp"
    
    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: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/socketwatcher
    
    gyp ERR! node -v v8.12.0gyp ERR! node-gyp -v v3.6.0
    gyp ERR! not ok 
    
    npm
     WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/epoll):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 (node_modules/mdns):npm 
    WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 install: `node-gyp rebuild`npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    
    npm
     ERR! code ELIFECYCLEnpm 
    ERR! errno 1npm ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`
    npm
     ERR! Exit status 1npm 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-15T07_08_51_924Z-debug.log
    
    host.rock64 create instance amazon-dash
    ERROR: host.rock64 error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'
    ERROR: process exited with code 20</module></module></module></module></module></module></module></module></module>
    

    IOBroker läuft unter dem User "Rock64" - der hat allerdings toot-Rechte - sollte er zumindest!?

    Hat jemand eine Idee, was ich sonst noch versuchen könnte?

    Danke vielmals

    Grüße

    Frank

    1 Antwort Letzte Antwort
    0
    • apollon77A Online
      apollon77A Online
      apollon77
      schrieb am zuletzt editiert von
      #2

      Bitte such mal im Forum. Das hab’s erst letztens als Thread.

      Aktuell entweder manuell installieren mit —unsafe-perm als Parameter oder js-Controller 1.5.2 aus latest versuchen der das automatisch setzt.

      Gesendet vom Handy …

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      1 Antwort Letzte Antwort
      0
      • D Offline
        D Offline
        deifel
        schrieb am zuletzt editiert von
        #3

        Danke für Deine Antwort. Den Thread hatte ich bereits gesehen und auch versucht, über den Befehl:

        npm install https://github.com/PArns/ioBroker.amazon-dash/tarball/master --production --prefix "/opt/iobroker" --unsafe-perm
        

        zu installieren. Leider ebenfalls ohne Erfolg :(

        JS-Controller latest update ich über iobroker update und upgrade self, oder? Welchen Flag muss ich für den latest dahinter setzen?

        Dann würde ich es nochmals damit testen…

        Vielen Dank!

        1 Antwort Letzte Antwort
        0
        • D Offline
          D Offline
          deifel
          schrieb am zuletzt editiert von
          #4

          Habe es jetzt nochmals mit dem neuesten JS-Controller 1.5.2 versucht.

          Bekomme immer noch folgende Fehler und den Dash-Adapter nicht zum installieren:

          $ ./iobroker add amazon-dash  --host rock64
          NPM version: 4.6.1
          npm install iobroker.amazon-dash --unsafe-perm --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: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/diskusage
          gyp ERR! node -v v8.12.0
          gyp ERR! node-gyp -v v3.6.0
          gyp ERR! not ok 
          
          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:336: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/epoll
          gyp ERR! node -v v8.12.0
          gyp ERR! node-gyp -v v3.6.0
          gyp ERR! not ok 
          
          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: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/mdns
          gyp ERR! node -v v8.12.0
          gyp ERR! node-gyp -v v3.6.0
          gyp ERR! not ok 
          
          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:336: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.6.0
          gyp ERR! not ok 
          
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@0.2.4 (node_modules/diskusage):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@0.2.4 install: `node-gyp rebuild`
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/epoll):
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 (node_modules/mdns):
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 install: `node-gyp rebuild`
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
          
          npm
           ERR! code ELIFECYCLEnpm 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-15T11_23_07_524Z-debug.log
          
          host.rock64 create instance amazon-dash
          ERROR: host.rock64 error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'
          ERROR: process exited with code 20</module></module></module></module></module></module></module></module></module></module></module></module>
          

          Hat jemand eine Idee, was ich noch tun kann?

          1 Antwort Letzte Antwort
          0

          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
          Antworten
          • In einem neuen Thema antworten
          Anmelden zum Antworten
          • Älteste zuerst
          • Neuste zuerst
          • Meiste Stimmen


          Support us

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

          312

          Online

          32.9k

          Benutzer

          83.0k

          Themen

          1.3m

          Beiträge
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
          ioBroker Community 2014-2025
          logo
          • Anmelden

          • Du hast noch kein Konto? Registrieren

          • Anmelden oder registrieren, um zu suchen
          • Erster Beitrag
            Letzter Beitrag
          0
          • Home
          • Aktuell
          • Tags
          • Ungelesen 0
          • Kategorien
          • Unreplied
          • Beliebt
          • GitHub
          • Docu
          • Hilfe