Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Wir empfehlen: Node.js 22.x

    NEWS

    • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    Wir empfehlen: Node.js 22.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • MartinP
      MartinP @mcm1957 last edited by

      @mcm1957 Könnte ein Tastaturlayout-Problem sein... US-Layout und DE-Tastenkappen?

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

        @schererv sagte in Wir empfehlen: Node.js 22.x:

        Probiere node js updaten. kommt aber immer folgender fehler.

        nodejs@22 ist bereits installiert, du hast aber ein nodejs@20 da manuell davor geklatscht.
        Lass das Skript da aufräumen. Halt mit y (oder z bei falschem Tastaturlayout) bestätigen.

        1 Reply Last reply Reply Quote 1
        • Siggi0904
          Siggi0904 last edited by

          @Thomas-Braun

          Könntest du das Upgrade-Script dahin anpassen, dass wenn schon eine sources-Datei für das nodejs-Repo existiert das Upgrade-Script keine neue list-Datei mehr anlegt?

          Ich hatte schon modernize-sources laufen lassen und somit war da eine sources-Datei vorhanden.

          Ich dank dir im Voraus.

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

            @siggi0904

            Jein. Ich werde in einer kommenden Version wohl beide Dateiformate löschen, solange der nodesource-Installer da eine nodesource.list anlegt.

            Siggi0904 1 Reply Last reply Reply Quote 1
            • Siggi0904
              Siggi0904 @Thomas Braun last edited by

              @thomas-braun ah, das kommt vom Installer.
              Dann ist löschen natürlich der bessere Weg.

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

                @siggi0904

                Ja, ich versuche mich da möglichst nah am nodesource-Installationsskript zu halten. Ich biege da nur den Speicherort des keys um.

                PR:
                https://github.com/ioBroker/ioBroker/pull/666

                Grothesk242 created this issue in ioBroker/ioBroker

                open Delete existing nodesource repos #666

                1 Reply Last reply Reply Quote 2
                • Siggi0904
                  Siggi0904 last edited by

                  @Thomas-Braun
                  schau mal, was passiert, wenn ich heute die Pakete aktualisiere und apt full-upgrade mache:

                  login as: mario
                  mario@192.168.178.64's password:
                  Linux iobroker 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025                                                                         -09-20) x86_64
                  
                  The programs included with the Debian GNU/Linux system are free software;
                  the exact distribution terms for each program are described in the
                  individual files in /usr/share/doc/*/copyright.
                  
                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                  permitted by applicable law.
                  Last login: Sat Nov  1 15:34:18 2025 from 192.168.178.41
                  mario@iobroker:~$ sudo apt update
                  [sudo] Passwort für mario:
                  OK:1 http://deb.debian.org/debian trixie InRelease
                  OK:2 http://security.debian.org/debian-security trixie-security InRelease
                  OK:3 http://deb.debian.org/debian trixie-updates InRelease
                  OK:4 https://deb.nodesource.com/node_22.x nodistro InRelease
                  Alle Pakete sind aktuell.
                  Warnung: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                  mario@iobroker:~$ sudo apt full-upgrade
                  ERSETZE DURCH ÄLTERE VERSION:
                    nodejs
                  
                  Zusammenfassung:
                    Aktualisiere: 0, Installiere: 0, Ersetze durch ältere Version: 1, Entferne: 0, Aktualisiere nicht: 0
                    Herunterlade-Größe: 37,6 MB
                    Freigegebener Platz: 52,2 kB
                  
                  Fortfahren? [J/n] n
                  Abbruch.
                  mario@iobroker:~$
                  
                  

                  Der will node-js durch eine ältere Version ersetzen.
                  Kennst du das?

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

                    @siggi0904 sagte in Wir empfehlen: Node.js 22.x:

                    Kennst du das?

                    Ja.
                    Die schon bei dir installierte Version wurde aus dem Repo entfernt und apt full-upgrade bietet dir nun an die installierte Version mit der veröffentlichten Version zu synchronisieren.
                    Mit

                    sudo apt update
                    sudo apt upgrade
                    

                    wird das vermutlich nicht angezeigt werden. Das ist einer der Unterschiede zwischen full-upgrade und upgrade.

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

                      @thomas-braun kommt auf mit apt upgrade

                      login as: mario
                      mario@192.168.178.64's password:
                      Linux iobroker 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64
                      
                      The programs included with the Debian GNU/Linux system are free software;
                      the exact distribution terms for each program are described in the
                      individual files in /usr/share/doc/*/copyright.
                      
                      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                      permitted by applicable law.
                      Last login: Sat Nov  1 15:40:03 2025 from 192.168.178.41
                      mario@iobroker:~$ sudo apt update
                      [sudo] Passwort für mario:
                      OK:1 http://deb.debian.org/debian trixie InRelease
                      OK:2 http://security.debian.org/debian-security trixie-security InRelease
                      Holen:3 http://deb.debian.org/debian trixie-updates InRelease [47,3 kB]
                      OK:4 https://deb.nodesource.com/node_22.x nodistro InRelease
                      Es wurden 47,3 kB in 1 s geholt (79,1 kB/s).
                      Alle Pakete sind aktuell.
                      Warnung: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                      mario@iobroker:~$ sudo apt upgrade
                      ERSETZE DURCH ÄLTERE VERSION:
                        nodejs
                      
                      Zusammenfassung:
                        Aktualisiere: 0, Installiere: 0, Ersetze durch ältere Version: 1, Entferne: 0, Aktualisiere nicht: 0
                        Herunterlade-Größe: 37,6 MB
                        Freigegebener Platz: 52,2 kB
                      
                      Fortfahren? [J/n]
                      
                      

                      iob nodejs-update liefert aber keine neue Version.

                      Erstmal nichts machen und abwarten?

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

                        @siggi0904 sagte in Wir empfehlen: Node.js 22.x:

                        Erstmal nichts machen und abwarten?

                        Ja, warte ab.

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        Support us

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

                        1.0k
                        Online

                        32.4k
                        Users

                        81.2k
                        Topics

                        1.3m
                        Posts

                        37
                        215
                        25889
                        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