Skip to content
  • Home
  • 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
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Node.js für ioBroker update klappt nicht

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.1k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    936

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Node.js für ioBroker update klappt nicht

Scheduled Pinned Locked Moved ioBroker Allgemein
92 Posts 13 Posters 24.8k Views 10 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.
  • mickymM mickym

    @bauzi das update würde ich ganz einfach machen:

    Gehe in das Verzeichnis:

    cd /etc/apt/sources.list.d
    

    dann editierst Du die Datei nodesource.list:

    sudo nano nodesource.list
    

    Anstelle von 12 gibst Du 14 ein:

    deb https://deb.nodesource.com/node_14.x buster main
    deb-src https://deb.nodesource.com/node_14.x buster main
    

    Wenn Du schon auf bullseye bist - heisst es bei Dir hinten halt bullseye statt buster, aber das änderst Du ja nicht. Du änderst nur die 2 in die 4 und das war es schon. :)

    Wenn Du das erledigt hast, dann lässt aktualisierst Du Dein System einfach mit:

    sudo apt update
    sudo apt upgrade
    
    B Offline
    B Offline
    bauzi
    wrote on last edited by
    #5

    @mickym
    sorry Ich habe nicht mitgeteilt, dass ich Debian auf Proxmox VM habe

    bahnuhrB mickymM 2 Replies Last reply
    0
    • B bauzi

      @mickym
      sorry Ich habe nicht mitgeteilt, dass ich Debian auf Proxmox VM habe

      bahnuhrB Online
      bahnuhrB Online
      bahnuhr
      Forum Testing Most Active
      wrote on last edited by
      #6

      @bauzi sagte in Node.js für ioBroker update klappt nicht:

      @mickym
      sorry Ich habe nicht mitgeteilt, dass ich Debian auf Proxmox VM habe

      hab ich auch.


      Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
      Danke.
      gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
      ScreenToGif :https://www.screentogif.com/downloads.html

      1 Reply Last reply
      0
      • B bauzi

        @mickym
        sorry Ich habe nicht mitgeteilt, dass ich Debian auf Proxmox VM habe

        mickymM Offline
        mickymM Offline
        mickym
        Most Active
        wrote on last edited by mickym
        #7

        @bauzi ist aber das gleiche. Ob Dein debian in einer VM oder auf dem raspi läuft ist egal.

        Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

        1 Reply Last reply
        0
        • haselchenH haselchen

          @bauzi

          Was ergibt

          cd /opt
          cd iobroker
          
          which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
          
          B Offline
          B Offline
          bauzi
          wrote on last edited by
          #8

          @haselchen said in Node.js für ioBroker update klappt nicht:

          which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs

          christian@ioBroker:~$ cd /opt
          christian@ioBroker:/opt$ cd iobroker
          christian@ioBroker:/opt/iobroker$ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v12.22.7
          v12.22.7
          
          
          Thomas BraunT 1 Reply Last reply
          0
          • bahnuhrB bahnuhr

            Die Fehler hatte ich auch.

            Lass das get weg und bestätige die Befehle einzeln.
            Dann klappt es.

            Bei mir hat es so geklappt:

            sudo apt update
            sudo apt upgrade
            sudo curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
            sudo apt-get install -y nodejs
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by Thomas Braun
            #9

            @bahnuhr sagte in Node.js für ioBroker update klappt nicht:

            Die Fehler hatte ich auch.

            Das sind keine 'Fehler', apt-get ist nur etwas anderes als apt.
            Wenn man da mit apt hantiert funktioniert das auch. Leider steht in der Anleitung von @apollon77 die Version mit apt-get drin.
            In meinem HowTo passt es allerdings.

            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

            bahnuhrB 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @bahnuhr sagte in Node.js für ioBroker update klappt nicht:

              Die Fehler hatte ich auch.

              Das sind keine 'Fehler', apt-get ist nur etwas anderes als apt.
              Wenn man da mit apt hantiert funktioniert das auch. Leider steht in der Anleitung von @apollon77 die Version mit apt-get drin.
              In meinem HowTo passt es allerdings.

              bahnuhrB Online
              bahnuhrB Online
              bahnuhr
              Forum Testing Most Active
              wrote on last edited by
              #10

              @thomas-braun sagte in Node.js für ioBroker update klappt nicht:

              Das sind keine 'Fehler', apt-get ist nur etwas anderes als apt.

              Da magst du Recht haben.
              Aber wenn man als Laie dies eingibt und es klappt nicht, dann empfindet man dies als Fehler.
              Es hat ja nicht geklappt.


              Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
              Danke.
              gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
              ScreenToGif :https://www.screentogif.com/downloads.html

              1 Reply Last reply
              0
              • B bauzi

                @haselchen said in Node.js für ioBroker update klappt nicht:

                which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs

                christian@ioBroker:~$ cd /opt
                christian@ioBroker:/opt$ cd iobroker
                christian@ioBroker:/opt/iobroker$ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                v12.22.7
                v12.22.7
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #11

                @bauzi

                sudo apt update
                sudo apt dist-upgrade
                

                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

                1 Reply Last reply
                0
                • bahnuhrB bahnuhr

                  Die Fehler hatte ich auch.

                  Lass das get weg und bestätige die Befehle einzeln.
                  Dann klappt es.

                  Bei mir hat es so geklappt:

                  sudo apt update
                  sudo apt upgrade
                  sudo curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
                  sudo apt-get install -y nodejs
                  
                  B Offline
                  B Offline
                  bauzi
                  wrote on last edited by
                  #12

                  @bahnuhr said in Node.js für ioBroker update klappt nicht:

                  sudo apt-get install -y nodejs

                  So habe das jetzt gemacht und noch den Biobroker fixer laufen lassen.
                  Versionen sind nun auf dem neusten Stand.

                  Jetzt noch alle Funktionen prüfen, dann bin ich durch.

                  Vielen vielen Dank and alle die so top helfen.

                  Gruß

                  Thomas BraunT 1 Reply Last reply
                  0
                  • B bauzi

                    @bahnuhr said in Node.js für ioBroker update klappt nicht:

                    sudo apt-get install -y nodejs

                    So habe das jetzt gemacht und noch den Biobroker fixer laufen lassen.
                    Versionen sind nun auf dem neusten Stand.

                    Jetzt noch alle Funktionen prüfen, dann bin ich durch.

                    Vielen vielen Dank and alle die so top helfen.

                    Gruß

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

                    @bauzi

                    which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                    

                    Und nix abschneiden. Volle Ein- und Ausgaben.

                    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

                    B 1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @bauzi

                      which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                      

                      Und nix abschneiden. Volle Ein- und Ausgaben.

                      B Offline
                      B Offline
                      buchner51
                      wrote on last edited by
                      #14

                      @thomas-braun

                      ich habe das gleiche Problem, es läuft kein Script:

                      which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      
                      

                      das ist mein gesamtes Ergebnis, ich habe nichts abgeschnitten.

                      Thomas BraunT 1 Reply Last reply
                      0
                      • B buchner51

                        @thomas-braun

                        ich habe das gleiche Problem, es läuft kein Script:

                        which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        
                        

                        das ist mein gesamtes Ergebnis, ich habe nichts abgeschnitten.

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

                        @buchner51

                        sudo ln -s /usr/bin/node /usr/bin/nodejs
                        

                        Und dann nochmal das von davor.

                        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

                        B 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @buchner51

                          sudo ln -s /usr/bin/node /usr/bin/nodejs
                          

                          Und dann nochmal das von davor.

                          B Offline
                          B Offline
                          buchner51
                          wrote on last edited by
                          #16

                          @thomas-braun sagte in Node.js für ioBroker update klappt nicht:

                          sudo ln -s /usr/bin/node /usr/bin/nodejs

                          which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                          /usr/bin/nodejs
                          /usr/bin/node
                          /usr/bin/npm
                          v14.18.2
                          v14.18.2
                          6.14.15
                          OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                          OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
                          OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease
                          Paketlisten werden gelesen… Fertig
                          Abhängigkeitsbaum wird aufgebaut… Fertig
                          Statusinformationen werden eingelesen… Fertig
                          Alle Pakete sind aktuell.
                          OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                          OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                          OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease
                          Paketlisten werden gelesen… Fertig
                          Abhängigkeitsbaum wird aufgebaut… Fertig
                          Statusinformationen werden eingelesen… Fertig
                          Alle Pakete sind aktuell.
                          nodejs:
                            Installiert:           14.18.2-deb-1nodesource1
                            Installationskandidat: 14.18.2-deb-1nodesource1
                            Versionstabelle:
                           *** 14.18.2-deb-1nodesource1 500
                                  500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                                  100 /var/lib/dpkg/status
                               12.22.5~dfsg-2~11u1 500
                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                          
                          

                          hier nochmal alles.

                          Thomas BraunT 1 Reply Last reply
                          0
                          • B buchner51

                            @thomas-braun sagte in Node.js für ioBroker update klappt nicht:

                            sudo ln -s /usr/bin/node /usr/bin/nodejs

                            which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                            /usr/bin/nodejs
                            /usr/bin/node
                            /usr/bin/npm
                            v14.18.2
                            v14.18.2
                            6.14.15
                            OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                            OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
                            OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease
                            Paketlisten werden gelesen… Fertig
                            Abhängigkeitsbaum wird aufgebaut… Fertig
                            Statusinformationen werden eingelesen… Fertig
                            Alle Pakete sind aktuell.
                            OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                            OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                            OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease
                            Paketlisten werden gelesen… Fertig
                            Abhängigkeitsbaum wird aufgebaut… Fertig
                            Statusinformationen werden eingelesen… Fertig
                            Alle Pakete sind aktuell.
                            nodejs:
                              Installiert:           14.18.2-deb-1nodesource1
                              Installationskandidat: 14.18.2-deb-1nodesource1
                              Versionstabelle:
                             *** 14.18.2-deb-1nodesource1 500
                                    500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                                    100 /var/lib/dpkg/status
                                 12.22.5~dfsg-2~11u1 500
                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                            
                            

                            hier nochmal alles.

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

                            @buchner51
                            Ja, das passt. Und was ist dein Problem?

                            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

                            B 1 Reply Last reply
                            0
                            • Thomas BraunT Thomas Braun

                              @buchner51
                              Ja, das passt. Und was ist dein Problem?

                              B Offline
                              B Offline
                              buchner51
                              wrote on last edited by
                              #18

                              @thomas-braun
                              Blockly im ioBroker läuft nicht, es bringt jedes Script einen Fehler:

                              22:41:02.511 error javascript.0 (8184) script.js.iqontroll.Abfall compile failed: at script.js.iqontroll.Abfall:10

                              Im log steht folgendes:

                              javascript.0
                              2021-12-22 22:41:02.517 error at processImmediate (internal/timers.js:466:21)

                              javascript.0
                              2021-12-22 22:41:02.517 error at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.javascript/main.js:1311:17)

                              javascript.0
                              2021-12-22 22:41:02.516 error at /opt/iobroker/node_modules/iobroker.javascript/main.js:1832:17

                              javascript.0
                              2021-12-22 22:41:02.516 error at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1731:37)

                              javascript.0
                              2021-12-22 22:41:02.515 error at createVM (/opt/iobroker/node_modules/iobroker.javascript/main.js:1482:28)

                              javascript.0
                              2021-12-22 22:41:02.515 error at Object.createScript (vm.js:262:10)

                              javascript.0
                              2021-12-22 22:41:02.514 error at new Script (vm.js:102:7)

                              javascript.0
                              2021-12-22 22:41:02.513 error SyntaxError: Unexpected token '/'

                              javascript.0
                              2021-12-22 22:41:02.513 error ^

                              javascript.0
                              2021-12-22 22:41:02.512 error function say ( message , alexas = '24bd6505' ) / / use alexas = ['#YOUR ALEXA ID 1#', '#YOUR ALEXA ID 2#'] für die Standard-Sprachausgabe von mehreren Geräten (auch # ersetzen)

                              javascript.0
                              2021-12-22 22:41:02.511 error script.js.iqontroll.Abfall compile failed: at script.js.iqontroll.Abfall:10

                              ich hatte Probleme nach einem Update und hab alles neu aufgesetzt.

                              HomoranH 1 Reply Last reply
                              0
                              • B buchner51

                                @thomas-braun
                                Blockly im ioBroker läuft nicht, es bringt jedes Script einen Fehler:

                                22:41:02.511 error javascript.0 (8184) script.js.iqontroll.Abfall compile failed: at script.js.iqontroll.Abfall:10

                                Im log steht folgendes:

                                javascript.0
                                2021-12-22 22:41:02.517 error at processImmediate (internal/timers.js:466:21)

                                javascript.0
                                2021-12-22 22:41:02.517 error at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.javascript/main.js:1311:17)

                                javascript.0
                                2021-12-22 22:41:02.516 error at /opt/iobroker/node_modules/iobroker.javascript/main.js:1832:17

                                javascript.0
                                2021-12-22 22:41:02.516 error at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1731:37)

                                javascript.0
                                2021-12-22 22:41:02.515 error at createVM (/opt/iobroker/node_modules/iobroker.javascript/main.js:1482:28)

                                javascript.0
                                2021-12-22 22:41:02.515 error at Object.createScript (vm.js:262:10)

                                javascript.0
                                2021-12-22 22:41:02.514 error at new Script (vm.js:102:7)

                                javascript.0
                                2021-12-22 22:41:02.513 error SyntaxError: Unexpected token '/'

                                javascript.0
                                2021-12-22 22:41:02.513 error ^

                                javascript.0
                                2021-12-22 22:41:02.512 error function say ( message , alexas = '24bd6505' ) / / use alexas = ['#YOUR ALEXA ID 1#', '#YOUR ALEXA ID 2#'] für die Standard-Sprachausgabe von mehreren Geräten (auch # ersetzen)

                                javascript.0
                                2021-12-22 22:41:02.511 error script.js.iqontroll.Abfall compile failed: at script.js.iqontroll.Abfall:10

                                ich hatte Probleme nach einem Update und hab alles neu aufgesetzt.

                                HomoranH Do not disturb
                                HomoranH Do not disturb
                                Homoran
                                Global Moderator Administrators
                                wrote on last edited by
                                #19

                                @buchner51 sagte in Node.js für ioBroker update klappt nicht:

                                ich hatte Probleme nach einem Update und hab alles neu aufgesetzt.

                                hast du scripte unter global?

                                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                B 1 Reply Last reply
                                0
                                • HomoranH Homoran

                                  @buchner51 sagte in Node.js für ioBroker update klappt nicht:

                                  ich hatte Probleme nach einem Update und hab alles neu aufgesetzt.

                                  hast du scripte unter global?

                                  B Offline
                                  B Offline
                                  buchner51
                                  wrote on last edited by
                                  #20

                                  @homoran
                                  ja, ich werde Wahnsinnig.

                                  jetzt hab ich extra drauf geachtet das ich da kein rein schiebe.

                                  Man sieht ja auch global nur mit der Expertenansicht.

                                  Das muss wohl beim Import passiert sein.

                                  Danke für die Hilfe.

                                  T 1 Reply Last reply
                                  0
                                  • B buchner51

                                    @homoran
                                    ja, ich werde Wahnsinnig.

                                    jetzt hab ich extra drauf geachtet das ich da kein rein schiebe.

                                    Man sieht ja auch global nur mit der Expertenansicht.

                                    Das muss wohl beim Import passiert sein.

                                    Danke für die Hilfe.

                                    T Offline
                                    T Offline
                                    Torsten28
                                    wrote on last edited by
                                    #21

                                    Hallo,

                                    ich bin mir grade nicht sicher, was ich, bzw. ob ich was falsch mache.
                                    Auch bei mir ist es so, das ich angeblich die Version 12.18.4 lt. ioBroker habe.

                                    Im IoBroker steht drin das es eine neue Version gibt

                                    "v12.18.4 (Es gibt eine neuere Version: v12.22.12 - Empfohlene Version v14.19.3)"

                                    Ich habe den Blog durchgearbeitet und eben dann auch die folgende Ablage gestartet:

                                    which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                    /usr/local/bin/nodejs
                                    /usr/local/bin/node
                                    /usr/local/bin/npm
                                    v12.18.4
                                    v12.18.4
                                    6.14.6
                                    OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                    OK:2 http://archive.raspberrypi.org/debian buster InRelease               
                                    OK:3 https://deb.nodesource.com/node_14.x buster InRelease                
                                    Paketlisten werden gelesen... Fertig              
                                    Abhängigkeitsbaum wird aufgebaut.       
                                    Statusinformationen werden eingelesen.... Fertig
                                    Alle Pakete sind aktuell.
                                    OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                    OK:2 http://archive.raspberrypi.org/debian buster InRelease               
                                    OK:3 https://deb.nodesource.com/node_14.x buster InRelease                
                                    Paketlisten werden gelesen... Fertig              
                                    Abhängigkeitsbaum wird aufgebaut.       
                                    Statusinformationen werden eingelesen.... Fertig
                                    Alle Pakete sind aktuell.
                                    nodejs:
                                      Installiert:           14.19.3-deb-1nodesource1
                                      Installationskandidat: 14.19.3-deb-1nodesource1
                                      Versionstabelle:
                                     *** 14.19.3-deb-1nodesource1 500
                                            500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                            100 /var/lib/dpkg/status
                                         10.24.0~dfsg-1~deb10u1 500
                                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                    

                                    Im Gegensatz zum Kollegen, habe ich dort aber aber wirklich die Version 12.18.4 stehen, weiter unten aber die 14.19.3.
                                    Wenn ich die Installation nochmal anstarte, sagt er auch, das es bereits die neue Version ist.

                                    sudo apt-get install -y nodejs
                                    Paketlisten werden gelesen... Fertig
                                    Abhängigkeitsbaum wird aufgebaut.       
                                    Statusinformationen werden eingelesen.... Fertig
                                    nodejs ist schon die neueste Version (14.19.3-deb-1nodesource1).
                                    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                    

                                    Warum sagt ioBroker, das es die 12 er Version ist und auch bei node -v kommt die 12.18.4 version raus?

                                    Kann mir da jemand einen Tip geben?

                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • T Torsten28

                                      Hallo,

                                      ich bin mir grade nicht sicher, was ich, bzw. ob ich was falsch mache.
                                      Auch bei mir ist es so, das ich angeblich die Version 12.18.4 lt. ioBroker habe.

                                      Im IoBroker steht drin das es eine neue Version gibt

                                      "v12.18.4 (Es gibt eine neuere Version: v12.22.12 - Empfohlene Version v14.19.3)"

                                      Ich habe den Blog durchgearbeitet und eben dann auch die folgende Ablage gestartet:

                                      which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                      /usr/local/bin/nodejs
                                      /usr/local/bin/node
                                      /usr/local/bin/npm
                                      v12.18.4
                                      v12.18.4
                                      6.14.6
                                      OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                      OK:2 http://archive.raspberrypi.org/debian buster InRelease               
                                      OK:3 https://deb.nodesource.com/node_14.x buster InRelease                
                                      Paketlisten werden gelesen... Fertig              
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Alle Pakete sind aktuell.
                                      OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                      OK:2 http://archive.raspberrypi.org/debian buster InRelease               
                                      OK:3 https://deb.nodesource.com/node_14.x buster InRelease                
                                      Paketlisten werden gelesen... Fertig              
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Alle Pakete sind aktuell.
                                      nodejs:
                                        Installiert:           14.19.3-deb-1nodesource1
                                        Installationskandidat: 14.19.3-deb-1nodesource1
                                        Versionstabelle:
                                       *** 14.19.3-deb-1nodesource1 500
                                              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                              100 /var/lib/dpkg/status
                                           10.24.0~dfsg-1~deb10u1 500
                                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                      

                                      Im Gegensatz zum Kollegen, habe ich dort aber aber wirklich die Version 12.18.4 stehen, weiter unten aber die 14.19.3.
                                      Wenn ich die Installation nochmal anstarte, sagt er auch, das es bereits die neue Version ist.

                                      sudo apt-get install -y nodejs
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      nodejs ist schon die neueste Version (14.19.3-deb-1nodesource1).
                                      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                      

                                      Warum sagt ioBroker, das es die 12 er Version ist und auch bei node -v kommt die 12.18.4 version raus?

                                      Kann mir da jemand einen Tip geben?

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

                                      @torsten28

                                      Ließ die Anleitung aus meiner Signatur.

                                      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

                                      T 1 Reply Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @torsten28

                                        Ließ die Anleitung aus meiner Signatur.

                                        T Offline
                                        T Offline
                                        Torsten28
                                        wrote on last edited by
                                        #23

                                        @thomas-braun Jupp, die habe ich ja auch durch gearbeitet

                                        Thomas BraunT 1 Reply Last reply
                                        0
                                        • T Torsten28

                                          @thomas-braun Jupp, die habe ich ja auch durch gearbeitet

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

                                          @torsten28 Dann sollte ja auch klar sein, dass
                                          /usr/local/bin/
                                          der falsche Pfad ist.

                                          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

                                          T 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

                                          379

                                          Online

                                          32.6k

                                          Users

                                          82.2k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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