Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Diskussion zum HowTo nodejs-Installation und upgrade

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

Diskussion zum HowTo nodejs-Installation und upgrade

Diskussion zum HowTo nodejs-Installation und upgrade

Scheduled Pinned Locked Moved ioBroker Allgemein
nodejs
844 Posts 91 Posters 232.9k Views 63 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas BraunT Thomas Braun

    @ja-rod sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

    Bringt mir das Upgrade von 14 auf 16 Vorteile

    Bringt dir den Vorteil, dass es die empfohlene Version ist und am besten unterstützt werden kann. Und außerdem ist jetzt ein Upgrade einfacher als in Monaten oder Jahren. Je länger mit sowas gewartet wird umso komplexer kann es werden.

    Und 'Never change irgendwas' ist der allergrößte Bullshit. Wer erzählt immer sowas? Es gilt: 'Fix your stuff'

    W Online
    W Online
    Wildbill
    wrote on last edited by
    #262

    @thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

    Und 'Never change irgendwas' ist der allergrößte Bullshit. Wer erzählt immer sowas? Es gilt: 'Fix your stuff'

    Bei Windows ist sowas durchaus zu empfehlen. Wenn ich sehe, was auf dem Geschäfts-Laptop, auf dem ich zwangsweise Windows nutzen muss, nach einem Update immer nicht mehr oder komplett anders funktioniert, könnte einem schon der Gedanke kommen… 😊

    Gruss, Jürgen

    J 1 Reply Last reply
    0
    • W Wildbill

      @thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

      Und 'Never change irgendwas' ist der allergrößte Bullshit. Wer erzählt immer sowas? Es gilt: 'Fix your stuff'

      Bei Windows ist sowas durchaus zu empfehlen. Wenn ich sehe, was auf dem Geschäfts-Laptop, auf dem ich zwangsweise Windows nutzen muss, nach einem Update immer nicht mehr oder komplett anders funktioniert, könnte einem schon der Gedanke kommen… 😊

      Gruss, Jürgen

      J Offline
      J Offline
      Ja.rod
      wrote on last edited by
      #263

      So habe upgedatet auf nodejs 16, ist eigentlich gut durchgelaufen, auch der iobroker ist gestartet...
      Nur mein Zigbee-Adapter bleibt rot, anscheinend wurde der Serialport nicht richtig installiert, es kommen dann diverse Fehler wie z.B.
      error Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node',

      Habe jetzt etwas gesucht und einen ähnliches Problem gefunden bei einem Upgrade von nodejs, dort wurde empfohlen den serialport mit "npm install @serialport/bindings"
      zu installieren.

      Bevor ich jetzt das Ding komplett zerschieße möchte ich euch nochmal fragen, ob ich das machen soll?

      Gruß
      Ja.rod

      Thomas BraunT 1 Reply Last reply
      0
      • J Ja.rod

        So habe upgedatet auf nodejs 16, ist eigentlich gut durchgelaufen, auch der iobroker ist gestartet...
        Nur mein Zigbee-Adapter bleibt rot, anscheinend wurde der Serialport nicht richtig installiert, es kommen dann diverse Fehler wie z.B.
        error Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node',

        Habe jetzt etwas gesucht und einen ähnliches Problem gefunden bei einem Upgrade von nodejs, dort wurde empfohlen den serialport mit "npm install @serialport/bindings"
        zu installieren.

        Bevor ich jetzt das Ding komplett zerschieße möchte ich euch nochmal fragen, ob ich das machen soll?

        Gruß
        Ja.rod

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by
        #264

        @ja-rod

        cd /opt/iobroker
        npm ls serialport
        

        sagt?

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        J 1 Reply Last reply
        0
        • Thomas BraunT Thomas Braun

          @ja-rod

          cd /opt/iobroker
          npm ls serialport
          

          sagt?

          J Offline
          J Offline
          Ja.rod
          wrote on last edited by
          #265

          @thomas-braun

          iobroker.inst@2.0.3 /opt/iobroker
          ├─┬ iobroker.discovery@3.0.3
          │ └── serialport@10.4.0
          └─┬ iobroker.zigbee@1.7.5
            └─┬ zigbee-herdsman@0.14.34
              └── serialport@9.2.8
          
          
          Thomas BraunT 1 Reply Last reply
          0
          • J Ja.rod

            @thomas-braun

            iobroker.inst@2.0.3 /opt/iobroker
            ├─┬ iobroker.discovery@3.0.3
            │ └── serialport@10.4.0
            └─┬ iobroker.zigbee@1.7.5
              └─┬ zigbee-herdsman@0.14.34
                └── serialport@9.2.8
            
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #266

            @ja-rod
            Sollte eigentlich passen.
            Wie schaut ein Neustart des zigbee-Adapters im LogFile aus?

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            J 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @ja-rod
              Sollte eigentlich passen.
              Wie schaut ein Neustart des zigbee-Adapters im LogFile aus?

              J Offline
              J Offline
              Ja.rod
              wrote on last edited by
              #267

              @thomas-braun
              es kommt jetzt folgendes, habe ich vorher übersehen

              • Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.

              • instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)

              Thomas BraunT 1 Reply Last reply
              0
              • J Ja.rod

                @thomas-braun
                es kommt jetzt folgendes, habe ich vorher übersehen

                • Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.

                • instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #268

                @ja-rod

                Dann mach lieber das.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                J 1 Reply Last reply
                0
                • Thomas BraunT Thomas Braun

                  @ja-rod

                  Dann mach lieber das.

                  J Offline
                  J Offline
                  Ja.rod
                  wrote on last edited by
                  #269

                  @thomas-braun
                  Werde ich machen. Kennst du zufällig wo ich das Verzeichnis des Adapters finde, bin da nicht so firm und auf der Konsole mache ich in der Regel "Copy&Paste"

                  Thomas BraunT 1 Reply Last reply
                  0
                  • J Ja.rod

                    @thomas-braun
                    Werde ich machen. Kennst du zufällig wo ich das Verzeichnis des Adapters finde, bin da nicht so firm und auf der Konsole mache ich in der Regel "Copy&Paste"

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #270

                    @ja-rod

                    cd /opt/iobroker/node_modules/iobroker.zigbee/
                    

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    J 1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @ja-rod

                      cd /opt/iobroker/node_modules/iobroker.zigbee/
                      
                      J Offline
                      J Offline
                      Ja.rod
                      wrote on last edited by
                      #271

                      @thomas-braun
                      Hat zwar funktioniert, aber das Problem nciht gelöst. Hier das "Feedback":

                      npm WARN config production Use `--omit=dev` instead.
                      npm WARN old lockfile
                      npm WARN old lockfile The npm-shrinkwrap.json file was created with an old version of npm,
                      npm WARN old lockfile so supplemental metadata must be fetched from the registry.
                      npm WARN old lockfile
                      npm WARN old lockfile This is a one-time fix-up, please be patient...
                      npm WARN old lockfile
                      
                      up to date, audited 80 packages in 54s
                      
                      5 packages are looking for funding
                        run `npm fund` for details
                      
                      2 vulnerabilities (1 high, 1 critical)
                      
                      To address all issues, run:
                        npm audit fix
                      
                      Run `npm audit` for details.
                      npm notice
                      npm notice New minor version of npm available! 8.11.0 -> 8.13.2
                      npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.13.2
                      npm notice Run npm install -g npm@8.13.2 to update!
                      npm notice
                      
                      

                      Einen weiteren Rat?

                      Thomas BraunT 1 Reply Last reply
                      0
                      • J Ja.rod

                        @thomas-braun
                        Hat zwar funktioniert, aber das Problem nciht gelöst. Hier das "Feedback":

                        npm WARN config production Use `--omit=dev` instead.
                        npm WARN old lockfile
                        npm WARN old lockfile The npm-shrinkwrap.json file was created with an old version of npm,
                        npm WARN old lockfile so supplemental metadata must be fetched from the registry.
                        npm WARN old lockfile
                        npm WARN old lockfile This is a one-time fix-up, please be patient...
                        npm WARN old lockfile
                        
                        up to date, audited 80 packages in 54s
                        
                        5 packages are looking for funding
                          run `npm fund` for details
                        
                        2 vulnerabilities (1 high, 1 critical)
                        
                        To address all issues, run:
                          npm audit fix
                        
                        Run `npm audit` for details.
                        npm notice
                        npm notice New minor version of npm available! 8.11.0 -> 8.13.2
                        npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.13.2
                        npm notice Run npm install -g npm@8.13.2 to update!
                        npm notice
                        
                        

                        Einen weiteren Rat?

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by Thomas Braun
                        #272

                        @ja-rod

                        Wie alt ist denn deine Installation?
                        Soweit ich weiß wird npm-shrinkwrap.json schon ewig nicht mehr benutzt.

                        Und bitte immer komplette Ein- und Ausgabezeile posten.

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        J 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @ja-rod

                          Wie alt ist denn deine Installation?
                          Soweit ich weiß wird npm-shrinkwrap.json schon ewig nicht mehr benutzt.

                          Und bitte immer komplette Ein- und Ausgabezeile posten.

                          J Offline
                          J Offline
                          Ja.rod
                          wrote on last edited by
                          #273

                          @thomas-braun
                          Meine Installation ist schon älter, habe immer nur den Zigbee-Adapter upgedatet und einmal dir Firmware vom Zigbeestick.

                          Meinst du das mit kompletter Ein- und Ausgabezeile:

                          iobroker@iobroker:~/node_modules/zigbee-herdsman$ npm install --production
                          npm WARN config production Use `--omit=dev` instead.
                          npm WARN old lockfile
                          npm WARN old lockfile The npm-shrinkwrap.json file was created with an old version of npm,
                          npm WARN old lockfile so supplemental metadata must be fetched from the registry.
                          npm WARN old lockfile
                          npm WARN old lockfile This is a one-time fix-up, please be patient...
                          npm WARN old lockfile
                          
                          up to date, audited 80 packages in 54s
                          
                          5 packages are looking for funding
                            run `npm fund` for details
                          
                          2 vulnerabilities (1 high, 1 critical)
                          
                          To address all issues, run:
                            npm audit fix
                          
                          Run `npm audit` for details.
                          npm notice
                          npm notice New minor version of npm available! 8.11.0 -> 8.13.2
                          npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.13.2
                          npm notice Run npm install -g npm@8.13.2 to update!
                          npm notice
                          
                          
                          Thomas BraunT 1 Reply Last reply
                          0
                          • J Ja.rod

                            @thomas-braun
                            Meine Installation ist schon älter, habe immer nur den Zigbee-Adapter upgedatet und einmal dir Firmware vom Zigbeestick.

                            Meinst du das mit kompletter Ein- und Ausgabezeile:

                            iobroker@iobroker:~/node_modules/zigbee-herdsman$ npm install --production
                            npm WARN config production Use `--omit=dev` instead.
                            npm WARN old lockfile
                            npm WARN old lockfile The npm-shrinkwrap.json file was created with an old version of npm,
                            npm WARN old lockfile so supplemental metadata must be fetched from the registry.
                            npm WARN old lockfile
                            npm WARN old lockfile This is a one-time fix-up, please be patient...
                            npm WARN old lockfile
                            
                            up to date, audited 80 packages in 54s
                            
                            5 packages are looking for funding
                              run `npm fund` for details
                            
                            2 vulnerabilities (1 high, 1 critical)
                            
                            To address all issues, run:
                              npm audit fix
                            
                            Run `npm audit` for details.
                            npm notice
                            npm notice New minor version of npm available! 8.11.0 -> 8.13.2
                            npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.13.2
                            npm notice Run npm install -g npm@8.13.2 to update!
                            npm notice
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by Thomas Braun
                            #274

                            @ja-rod sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                            iobroker@iobroker:~/node_modules/zigbee-herdsman

                            Dürfte das falsche Verzeichnis sein.
                            ~ ist das Kürzel für das home-Verzeichnis, du stehst also in /home/iobroker/node_modules/zigbee-herdsman
                            Das ist komplett falsch.

                            Warum bist du nicht im Adapter-Verzeichnis
                            /opt/iobroker/node_modules/iobroker.zigbee/
                            Du hast doch oben genau danach gefragt?!?

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            J 1 Reply Last reply
                            0
                            • Thomas BraunT Thomas Braun

                              @ja-rod sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                              iobroker@iobroker:~/node_modules/zigbee-herdsman

                              Dürfte das falsche Verzeichnis sein.
                              ~ ist das Kürzel für das home-Verzeichnis, du stehst also in /home/iobroker/node_modules/zigbee-herdsman
                              Das ist komplett falsch.

                              Warum bist du nicht im Adapter-Verzeichnis
                              /opt/iobroker/node_modules/iobroker.zigbee/
                              Du hast doch oben genau danach gefragt?!?

                              J Offline
                              J Offline
                              Ja.rod
                              wrote on last edited by
                              #275

                              @thomas-braun
                              Ich habe vorher parallel auch gesucht und war dann zufällig als du geantwortet hast in diesem Verzeichnis.. probiere es jetzt im hoffentlich richtigen Verzeichnis

                              J 1 Reply Last reply
                              0
                              • J Ja.rod

                                @thomas-braun
                                Ich habe vorher parallel auch gesucht und war dann zufällig als du geantwortet hast in diesem Verzeichnis.. probiere es jetzt im hoffentlich richtigen Verzeichnis

                                J Offline
                                J Offline
                                Ja.rod
                                wrote on last edited by
                                #276

                                @thomas-braun
                                Jetzt kommt das:

                                iobroker@iobroker:/opt/iobroker/node_modules/iobroker.zigbee$ npm install --production
                                npm WARN config production Use `--omit=dev` instead.
                                npm ERR! code ERESOLVE
                                npm ERR! ERESOLVE unable to resolve dependency tree
                                npm ERR!
                                npm ERR! While resolving: iobroker.zigbee@1.7.5
                                npm ERR! Found: eslint@7.32.0
                                npm ERR! node_modules/eslint
                                npm ERR!   dev eslint@"^7.18.0" from the root project
                                npm ERR!
                                npm ERR! Could not resolve dependency:
                                npm ERR! peer eslint@"4.x" from lint-diff@1.2.1
                                npm ERR! node_modules/lint-diff
                                npm ERR!   dev lint-diff@"*" from the root project
                                npm ERR!
                                npm ERR! Fix the upstream dependency conflict, or retry
                                npm ERR! this command with --force, or --legacy-peer-deps
                                npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
                                npm ERR!
                                npm ERR! See /home/iobroker/.npm/eresolve-report.txt for a full report.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-07-08T15_41_58_491Z-debug-0.log
                                
                                
                                Thomas BraunT 1 Reply Last reply
                                0
                                • J Ja.rod

                                  @thomas-braun
                                  Jetzt kommt das:

                                  iobroker@iobroker:/opt/iobroker/node_modules/iobroker.zigbee$ npm install --production
                                  npm WARN config production Use `--omit=dev` instead.
                                  npm ERR! code ERESOLVE
                                  npm ERR! ERESOLVE unable to resolve dependency tree
                                  npm ERR!
                                  npm ERR! While resolving: iobroker.zigbee@1.7.5
                                  npm ERR! Found: eslint@7.32.0
                                  npm ERR! node_modules/eslint
                                  npm ERR!   dev eslint@"^7.18.0" from the root project
                                  npm ERR!
                                  npm ERR! Could not resolve dependency:
                                  npm ERR! peer eslint@"4.x" from lint-diff@1.2.1
                                  npm ERR! node_modules/lint-diff
                                  npm ERR!   dev lint-diff@"*" from the root project
                                  npm ERR!
                                  npm ERR! Fix the upstream dependency conflict, or retry
                                  npm ERR! this command with --force, or --legacy-peer-deps
                                  npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
                                  npm ERR!
                                  npm ERR! See /home/iobroker/.npm/eresolve-report.txt for a full report.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2022-07-08T15_41_58_491Z-debug-0.log
                                  
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #277

                                  @ja-rod

                                  Schmeiß den iobroker.zigbee mal raus und dann installierst du den nochmal neu.

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  J 1 Reply Last reply
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @ja-rod

                                    Schmeiß den iobroker.zigbee mal raus und dann installierst du den nochmal neu.

                                    J Offline
                                    J Offline
                                    Ja.rod
                                    wrote on last edited by
                                    #278

                                    @thomas-braun
                                    Du meinst unter Adapters im „Admin“ löschen? Muss ich nicht dann alle Geräte neu anlernen?

                                    Bin jetzt unterwegs, werde es später mal probieren. Danke schon mal.

                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • J Ja.rod

                                      @thomas-braun
                                      Du meinst unter Adapters im „Admin“ löschen? Muss ich nicht dann alle Geräte neu anlernen?

                                      Bin jetzt unterwegs, werde es später mal probieren. Danke schon mal.

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #279

                                      @ja-rod sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                      Du meinst unter Adapters im „Admin“ löschen?

                                      Ja.

                                      Muss ich nicht dann alle Geräte neu anlernen?

                                      Möglich.

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      J 1 Reply Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @ja-rod sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                        Du meinst unter Adapters im „Admin“ löschen?

                                        Ja.

                                        Muss ich nicht dann alle Geräte neu anlernen?

                                        Möglich.

                                        J Offline
                                        J Offline
                                        Ja.rod
                                        wrote on last edited by
                                        #280

                                        @thomas-braun
                                        Auch löschen und Neuinstallation hat nichts gebracht, Zigbee-Adapter bleibt rot und "npm install --production" bringt wieder dieselben Fehler:

                                        iobroker@iobroker:/opt/iobroker/node_modules/iobroker.zigbee$ npm install --production
                                        npm WARN config production Use `--omit=dev` instead.
                                        npm ERR! code ERESOLVE
                                        npm ERR! ERESOLVE unable to resolve dependency tree
                                        npm ERR!
                                        npm ERR! While resolving: iobroker.zigbee@1.7.5
                                        npm ERR! Found: eslint@7.32.0
                                        npm ERR! node_modules/eslint
                                        npm ERR!   dev eslint@"^7.18.0" from the root project
                                        npm ERR!
                                        npm ERR! Could not resolve dependency:
                                        npm ERR! peer eslint@"4.x" from lint-diff@1.2.1
                                        npm ERR! node_modules/lint-diff
                                        npm ERR!   dev lint-diff@"*" from the root project
                                        npm ERR!
                                        npm ERR! Fix the upstream dependency conflict, or retry
                                        npm ERR! this command with --force, or --legacy-peer-deps
                                        npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
                                        npm ERR!
                                        npm ERR! See /home/iobroker/.npm/eresolve-report.txt for a full report.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2022-07-08T19_36_33_611Z-debug-0.log
                                        
                                        
                                        1 Reply Last reply
                                        0
                                        • SteffS Offline
                                          SteffS Offline
                                          Steff
                                          wrote on last edited by
                                          #281

                                          @thomas-braun,

                                          bin gerade auch am prüfen bzgl. Upgrade auf Node 16. Zum Thema "sauberer npm tree" hast du ja in deinem HowTo das folgende Kommando angegeben:

                                          cd /opt/iobroker
                                          npm ls | grep -E 'github|ERR'
                                          

                                          Ich habe nun diesen Befehl ausgeführt und die folgende Ausgabe erhalten:

                                          steffen@Smarthome:/opt/iobroker$ npm ls | grep -E 'github.com|ERR'
                                          [sudo] Passwort für steffen:
                                          npm ERR! extraneous: @iobroker/adapter-core@1.0.1 /opt/iobroker/node_modules/@iobroker/adapter-core
                                          npm ERR! extraneous: @types/request@2.48.1 /opt/iobroker/node_modules/@types/request
                                          npm ERR! extraneous: fsevents /opt/iobroker/node_modules/fsevents
                                          npm ERR! error in /opt/iobroker/node_modules/fsevents: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/fsevents/package.json'
                                          npm ERR! extraneous: axios@0.18.0 /opt/iobroker/node_modules/axios
                                          npm ERR! extraneous: binrpc@3.2.2 /opt/iobroker/node_modules/binrpc
                                          npm ERR! extraneous: child_process@1.0.2 /opt/iobroker/node_modules/child_process
                                          npm ERR! extraneous: chokidar@1.7.0 /opt/iobroker/node_modules/chokidar
                                          npm ERR! extraneous: express-fileupload@0.4.0 /opt/iobroker/node_modules/express-fileupload
                                          npm ERR! extraneous: iobroker@1.1.2 /opt/iobroker/node_modules/iobroker
                                          npm ERR! extraneous: node-telegram-bot-api@0.30.0 /opt/iobroker/node_modules/node-telegram-bot-api
                                          npm ERR! extraneous: opencollective-postinstall@2.0.2 /opt/iobroker/node_modules/opencollective-postinstall
                                          npm ERR! extraneous: path@0.12.7 /opt/iobroker/node_modules/path
                                          npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
                                          npm ERR! extraneous: setimmediate@1.0.5 /opt/iobroker/node_modules/setimmediate
                                          npm ERR! extraneous: soef@0.4.15 /opt/iobroker/node_modules/soef
                                          npm ERR! extraneous: suncalc@1.8.0 /opt/iobroker/node_modules/suncalc
                                          npm ERR! extraneous: systeminformation@4.1.4 /opt/iobroker/node_modules/systeminformation
                                          npm ERR! extraneous: typescript@3.5.1 /opt/iobroker/node_modules/typescript
                                          npm ERR! extraneous: virtual-tsc@0.4.6 /opt/iobroker/node_modules/virtual-tsc
                                          npm ERR! extraneous: vm2@3.8.1 /opt/iobroker/node_modules/vm2
                                          npm ERR! peer dep missing: buffer@>=6.0.3, required by crc@4.1.0
                                          npm ERR! peer dep missing: buffer@>=6.0.3, required by crc@4.1.1
                                          steffen@Smarthome:/opt/iobroker$
                                          

                                          Das ich die Fehlermeldungen mit extraneous "übergehen" soll ist mir klar. Sieht das soweit gut aus? Was ist mit dem Error in Zeile 6 (no such file or directory)? Bei den beiden peer dep missing (Zeile 24 und 25) bin ich mir auch unsicher.

                                          Gruß Steffen

                                          ioBroker auf Intel NUC 7CJYH / Debian 11 / States in Redis / Objects in JSONL / Repo --> Beta / HM CCU2 V2.61.7 / Siemens LOGO! (0BA7 / 0BA8)
                                          Admin V7.4.7 / Node V20.18.1 / NPM V10.8.2 / JSC V7.0.6 / JSE V8.8.3

                                          Thomas BraunT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          622

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe