Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Zigbee Adapter 1.5.6 Fehler Syntax Error

    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

    Zigbee Adapter 1.5.6 Fehler Syntax Error

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Mac_Schmeck last edited by

      @mac_schmeck

      Wäre hilfreich wenn man die kompletten Ein- wie auch Ausgaben der Befehle sehen würde.

      M 1 Reply Last reply Reply Quote 0
      • M
        Mac_Schmeck @Thomas Braun last edited by

        @thomas-braun said in Zigbee Adapter 1.5.6 Fehler Syntax Error:

        @mac_schmeck

        Wäre hilfreich wenn man die kompletten Ein- wie auch Ausgaben der Befehle sehen würde.

        instances:

        + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        + system.adapter.alexa2.0                 : alexa2                : raspberrypi                              -  enabled
        + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
        + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
          system.adapter.flot.0                   : flot                  : raspberrypi                              - disabled
        + system.adapter.history.0                : history               : raspberrypi                              -  enabled
        + system.adapter.info.0                   : info                  : raspberrypi                              -  enabled
        + system.adapter.iqontrol.0               : iqontrol              : raspberrypi                              -  enabled
        + system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
        + system.adapter.pushover.0               : pushover              : raspberrypi                              -  enabled
        + system.adapter.terminal.0               : terminal              : raspberrypi                              -  enabled, port: 8088, bind: 0.0.0.0, run as: admin
        + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        
        + instance is alive
        
        
        

        adapters:

        system.adapter.admin                   : admin          - v5.1.9
        system.adapter.alexa2                  : alexa2         - v3.9.0
        system.adapter.backitup                : backitup       - v2.1.6
        system.adapter.discovery               : discovery      - v2.6.1
        system.adapter.flot                    : flot           - v1.10.6
        system.adapter.history                 : history        - v1.9.12
        system.adapter.info                    : info           - v1.7.14
        system.adapter.iqontrol                : iqontrol       - v1.6.4
        system.adapter.javascript              : javascript     - v5.1.3
        system.adapter.pushover                : pushover       - v2.0.3
        system.adapter.simple-api              : simple-api     - v2.5.3
        system.adapter.socketio                : socketio       - v3.1.4
        system.adapter.terminal                : terminal       - v0.1.2
        system.adapter.web                     : web            - v3.4.0
        system.adapter.zigbee                  : zigbee         - v1.5.6
        

        status:

        iobroker is running on this host.
        
        
        Objects type: file
        States  type: file
        

        update: auszug weil sonst sehr groß y-z

        Adapter    "yahka"         : 0.12.0  
        Adapter    "yamaha"        : 0.4.0    
        Adapter    "yeelight-2"    : 1.0.3    
        Adapter    "youtube"       : 1.0.3    
        Adapter    "yr"            : 2.0.3    
        Adapter    "zigbee"        : 1.5.6    
        Adapter    "zont"          : 0.5.3    
        Adapter    "zwave2"        : 1.10.1 
        
        1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @Mac_Schmeck last edited by

          @mac_schmeck sagte in Zigbee Adapter 1.5.6 Fehler Syntax Error:

          Ich kann die 1.4 nicht auswählen, ich habe nur die Möglichkeit die 1.5.6 auszuwählen, Expertenmodus ist aktiviert.

          die 1.4.1 müsste angezeigt werden, zumindest bei mir

          M 1 Reply Last reply Reply Quote 0
          • M
            Mac_Schmeck @crunchip last edited by

            @crunchip said in Zigbee Adapter 1.5.6 Fehler Syntax Error:

            @mac_schmeck sagte in Zigbee Adapter 1.5.6 Fehler Syntax Error:

            Ich kann die 1.4 nicht auswählen, ich habe nur die Möglichkeit die 1.5.6 auszuwählen, Expertenmodus ist aktiviert.

            die 1.4.1 müsste angezeigt werden, zumindest bei mir

            das ging auch mal aber wird nicht mehr angezeigt, ich habe nur das Symbol für instanz hinzufügen und lismich

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Mac_Schmeck last edited by crunchip

              @mac_schmeck aber scheinbar hast du keine Instanz installiert, füge doch mal eine Instanz hinzu

              EDIT:
              oder du schmeisst den ganzen Adapter mal runter und installierst den neu

              sudo rm -r /opt/iobroker/node_modules/iobroker.zigbee
              
              M 1 Reply Last reply Reply Quote 0
              • M
                Mac_Schmeck @crunchip last edited by

                @crunchip said in Zigbee Adapter 1.5.6 Fehler Syntax Error:

                @mac_schmeck aber scheinbar hast du keine Instanz installiert, füge doch mal eine Instanz hinzu

                dann kommt

                $ iobroker add zigbee --host raspberrypi
                
                internal/modules/cjs/loader.js:1044 throw err; ^SyntaxError: /opt/iobroker/node_modules/iobroker.zigbee/io-package.json: Unexpected token } in JSON at position 167 at parse (<anonymous>) at Object.Module._extensions..json (internal/modules/cjs/loader.js:1041:22) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Upload.uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:480:19) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:847:20) at processImmediate (internal/timers.js:463:21)
                
                ERROR: Process exited with code 
                
                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Mac_Schmeck last edited by

                  @mac_schmeck siehe meine Edit oben

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Mac_Schmeck @crunchip last edited by

                    @crunchip said in Zigbee Adapter 1.5.6 Fehler Syntax Error:

                    @mac_schmeck siehe meine Edit oben

                    das entfernen ist nicht möglich, datei oder verzeichnis nicht gefunden.

                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Mac_Schmeck last edited by

                      @mac_schmeck installiere es mal so

                      cd /opt/iobroker
                      
                      npm install iobroker.zigbee@1.5.6
                      

                      danach noch ein

                      iobroker fix
                      
                      G M 2 Replies Last reply Reply Quote 1
                      • G
                        Glarios @crunchip last edited by

                        Ich hab genau das gleich Problem und jetzt den Befehl ausgeführt. Aber... was installiert er denn da alles (Nodemailer, ffmpeg, etc.)?? Es kamen auch mehrere Fehlermeldungen.

                        Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Glarios last edited by

                          @glarios sagte in Zigbee Adapter 1.5.6 Fehler Syntax Error:

                          Es kamen auch mehrere Fehlermeldungen.

                          Immer diese geheimen Fehlermeldungen.

                          1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @Glarios last edited by

                            @glarios sagte in Zigbee Adapter 1.5.6 Fehler Syntax Error:

                            Ich hab genau das gleich Problem und jetzt den Befehl ausgeführt.

                            Wirklich genau das gleiche Problem??
                            Welchen Befehl denn?

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              Glarios @crunchip last edited by

                              @crunchip

                              Nach einem Update des Zigbee Adapter hatte ich die gleichen Fehlermeldungen.
                              Habe dann folgendes ausgeführt

                              cd /opt/iobroker

                              npm install iobroker.zigbee@1.5.6
                              danach noch ein

                              iobroker fix

                              Danach musste ich noch Transportschlüssel und Pan ID anpassen (Meldung aus dem Log) Und alles läuft wieder 🙂

                              G 1 Reply Last reply Reply Quote 0
                              • G
                                Glarios @Glarios last edited by

                                Doch nicht alles in Butter 😞
                                Wenn ich jetzt Adapter aktualisieren möchte bekomme ich Fehlermeldungen wie:

                                $ ./iobroker upgrade cloud
                                Update cloud from @3.1.0 to @4.0.11
                                NPM version: 6.14.13npm install iobroker.cloud@4.0.11 --loglevel error --prefix "/opt/iobroker" (System call)

                                ╭─────────────────────────────────────────────────────────╮│ ││ Manual installation of ioBroker is no longer supported ││ on Linux, OSX and FreeBSD! ││ Please refer to the documentation on how to install it! ││ https://github.com/ioBroker/ioBroker/wiki/Installation ││ │╰─────────────────────────────────────────────────────────╯
                                npm ERR! code ELIFECYCLE
                                npm ERR! errno 100
                                npm ERR! iobroker@2.0.3 postinstall: node lib/install.js
                                npm ERR! Exit status 100
                                npm ERR!
                                npm ERR! Failed at the iobroker@2.0.3 postinstall 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/iobroker/.npm/_logs/2021-07-14T17_50_19_300Z-debug.log
                                ERROR: host.raspberrypi Cannot install iobroker.cloud@4.0.11: 100
                                ERROR: process exited with code 25

                                1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active last edited by Thomas Braun

                                  @glarios

                                  cd /opt/iobroker
                                  npm cache clean --force
                                  iobroker update
                                  iobroker upgrade
                                  

                                  Und bitte CodeTags für Texte verwenden.

                                  G 1 Reply Last reply Reply Quote 0
                                  • G
                                    Glarios @Thomas Braun last edited by

                                    @thomas-braun said in Zigbee Adapter 1.5.6 Fehler Syntax Error:

                                    iobroker upgrade
                                    Irgendwie ist bei mir der Wurm drin 😞

                                    
                                    opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:104
                                                            for (const dep of [...deps, ...globalDeps]) {
                                                                              ^
                                    
                                    TypeError: [(...deps),(...globalDeps)] is not iterable
                                        at Upgrade.upgradeAdapterHelper (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:104:43)
                                        at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:991:37
                                        at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2621:45)
                                        at processImmediate (internal/timers.js:463:21)
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Mac_Schmeck @crunchip last edited by Mac_Schmeck

                                      @crunchip

                                      mit deinem letzten Tipp hat es funktioniert.

                                      Vielen vielen Dank!!

                                      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

                                      548
                                      Online

                                      31.9k
                                      Users

                                      80.2k
                                      Topics

                                      1.3m
                                      Posts

                                      6
                                      32
                                      2000
                                      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