Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussion zum HowTo nodejs-Installation und upgrade

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Diskussion zum HowTo nodejs-Installation und upgrade

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

      @sprite01

      Ja. Wobei das auch ohne Start/Stop des iobrokers funktionieren sollte.
      Kannst du also machen wie du willst.

      S 1 Reply Last reply Reply Quote 0
      • S
        Sprite01 @Thomas Braun last edited by

        @thomas-braun
        Nochmals vielen Dank für die Unterstützung (das war ja eine sehr schnelle und kompetente Hilfe).
        Der Device-Adapter stand abschließend noch zur Aktualisierung an und hat wieder einwandfrei funktioniert.

        Das (meine Unwissenheit) hat mich ein paar Tage viele Nerven gekostet, kann ich mich irgendwie mit einer Spende o. ä. erkenntlich zeigen?

        J 1 Reply Last reply Reply Quote 0
        • J
          Ja.rod @Sprite01 last edited by

          Hallo zusammen,
          ich möchte mein System von nodejs 14.19.0 auf 16.16.0 updaten. Dazu habe ich vorher die "Fehler" überprüft, folgendes wird angezeigt:
          npm ERR! peer dep missing: typedoc@>=0.19.0 < 0.20.0, required by typedoc-plugin-markdown@3.1.0
          npm ERR! peer dep missing: typedoc@>=0.16.0, required by typedoc-plugin-no-inherit@1.2.0
          npm ERR! peer dep missing: typedoc@>=0.16.0, required by typedoc-plugin-sourcefile-url@1.0.6

          Was gravierndes? Kann ich es beheben?

          Gruß
          Ja.rod

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

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

            npm ERR! peer dep missing:

            hier eine Erklärung dazu

            https://forum.iobroker.net/topic/53707/npm-list-fehler-npm-err-peer-dep-missing

            J 1 Reply Last reply Reply Quote 0
            • J
              Ja.rod @Glasfaser last edited by

              @glasfaser Vielen Dank.

              Noch eine grundsätzliche Frage: Bringt mir das Upgrade von 14 auf 16 Vorteile oder soll ich es lieber halten wie "Never change a running system"?

              Gruß
              Ja.rod

              Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @Ja.rod last edited by

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

                "Never change a running system"?

                Den GEDANKE .... dazu , würde ich mal ganz schnell vergessen .

                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Ja.rod last edited by 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 1 Reply Last reply Reply Quote 1
                  • W
                    Wildbill @Thomas Braun last edited by

                    @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 Reply Quote 0
                    • J
                      Ja.rod @Wildbill last edited by

                      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 Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Ja.rod last edited by

                        @ja-rod

                        cd /opt/iobroker
                        npm ls serialport
                        

                        sagt?

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Ja.rod @Thomas Braun last edited by

                          @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 Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Ja.rod last edited by

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

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Ja.rod @Thomas Braun last edited by

                              @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 Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Ja.rod last edited by

                                @ja-rod

                                Dann mach lieber das.

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Ja.rod @Thomas Braun last edited by

                                  @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 Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Ja.rod last edited by

                                    @ja-rod

                                    cd /opt/iobroker/node_modules/iobroker.zigbee/
                                    
                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Ja.rod @Thomas Braun last edited by

                                      @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 Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Ja.rod last edited by 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 1 Reply Last reply Reply Quote 0
                                        • J
                                          Ja.rod @Thomas Braun last edited by

                                          @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 Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Ja.rod last edited by 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 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

                                            730
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs
                                            91
                                            844
                                            172978
                                            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