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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Zigbee Adapter 1.5.6 Fehler Syntax Error

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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

                            988
                            Online

                            31.6k
                            Users

                            79.4k
                            Topics

                            1.3m
                            Posts

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