Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Troubleshooting NodeJS update

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Troubleshooting NodeJS update

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

      @thomas-braun Neustart und auch die Befehle ausgeführt:

      smarthome@raspi8gb:~ $ type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      /usr/bin/npx
      v18.15.0
      v18.15.0
      /usr/lib/node_modules/npm/lib/cli.js:48
          throw err
          ^
      
      TypeError: Class extends value undefined is not a constructor or null
          at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js:110:44)
          at Module._compile (node:internal/modules/cjs/loader:1254:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
          at Module.load (node:internal/modules/cjs/loader:1117:32)
          at Module._load (node:internal/modules/cjs/loader:958:12)
          at Module.require (node:internal/modules/cjs/loader:1141:19)
          at require (node:internal/modules/cjs/helpers:110:18)
          at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/agent.js:174:29)
          at Module._compile (node:internal/modules/cjs/loader:1254:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
          at Module.load (node:internal/modules/cjs/loader:1117:32)
          at Module._load (node:internal/modules/cjs/loader:958:12)
          at Module.require (node:internal/modules/cjs/loader:1141:19)
          at require (node:internal/modules/cjs/helpers:110:18)
          at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/remote.js:7:18)
          at Module._compile (node:internal/modules/cjs/loader:1254:14)
      
      Node.js v18.15.0
      smarthome@raspi8gb:~ $ sudo apt update
      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_18.x bullseye InRelease
      OK:4 https://packages.grafana.com/oss/deb stable InRelease
      OK:5 https://repos.influxdata.com/debian stable InRelease
      Paketlisten werden gelesen… Fertig
      Abhängigkeitsbaum wird aufgebaut… Fertig
      Statusinformationen werden eingelesen… Fertig
      Alle Pakete sind aktuell.
      smarthome@raspi8gb:~ $ apt policy nodejs
      nodejs:
        Installiert:           18.15.0-deb-1nodesource1
        Installationskandidat: 18.15.0-deb-1nodesource1
        Versionstabelle:
       *** 18.15.0-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages
              100 /var/lib/dpkg/status
           12.22.12~dfsg-1~deb11u3 500
              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
      smarthome@raspi8gb:~ $
      
      

      Abfrage dann:

      smarthome@raspi8gb:~ $ type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      /usr/bin/npx
      v18.15.0
      v18.15.0
      /usr/lib/node_modules/npm/lib/cli.js:48
          throw err
          ^
      
      TypeError: Class extends value undefined is not a constructor or null
          at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js:110:44)
          at Module._compile (node:internal/modules/cjs/loader:1254:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
          at Module.load (node:internal/modules/cjs/loader:1117:32)
          at Module._load (node:internal/modules/cjs/loader:958:12)
          at Module.require (node:internal/modules/cjs/loader:1141:19)
          at require (node:internal/modules/cjs/helpers:110:18)
          at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/agent.js:174:29)
          at Module._compile (node:internal/modules/cjs/loader:1254:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
          at Module.load (node:internal/modules/cjs/loader:1117:32)
          at Module._load (node:internal/modules/cjs/loader:958:12)
          at Module.require (node:internal/modules/cjs/loader:1141:19)
          at require (node:internal/modules/cjs/helpers:110:18)
          at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/remote.js:7:18)
          at Module._compile (node:internal/modules/cjs/loader:1254:14)
      
      Node.js v18.15.0
      smarthome@raspi8gb:~ $
      

      Irgendwie hab ich das System wohl strubbelig gemacht. 😧

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

        @jojo58 sagte in Troubleshooting NodeJS update:

        Node.js v18.15.0

        Trägst du die Zeile 30 von Hand ein?
        Vom System müsste eigentlich was anderes kommen.

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

          @thomas-braun Nein, ist von der Ausgabe, ändere da nichts.

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

            @jojo58

            apt policy libnode* npm nodejs
            

            sagt?

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

              @thomas-braun sagte in Troubleshooting NodeJS update:

              apt policy libnode* npm nodejs

              smarthome@raspi8gb:~ $ apt policy libnode* npm nodejs
              libnodeletlib-dev:
                Installiert:           (keine)
                Installationskandidat: 1.10.0-3
                Versionstabelle:
                   1.10.0-3 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              libnodeletlib1d:
                Installiert:           (keine)
                Installationskandidat: 1.10.0-3
                Versionstabelle:
                   1.10.0-3 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              libnode64:
                Installiert:           (keine)
                Installationskandidat: (keine)
                Versionstabelle:
              libnode72:
                Installiert:           (keine)
                Installationskandidat: 12.22.12~dfsg-1~deb11u3
                Versionstabelle:
                   12.22.12~dfsg-1~deb11u3 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              libnodelet-dev:
                Installiert:           (keine)
                Installationskandidat: 1.10.0-3
                Versionstabelle:
                   1.10.0-3 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              libnodeletlib-tools:
                Installiert:           (keine)
                Installationskandidat: 1.10.0-3
                Versionstabelle:
                   1.10.0-3 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              libnode-dev:
                Installiert:           (keine)
                Installationskandidat: 12.22.12~dfsg-1~deb11u3
                Versionstabelle:
                   12.22.12~dfsg-1~deb11u3 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              libnodelet-topic-tools-dev:
                Installiert:           (keine)
                Installationskandidat: 1.10.0-3
                Versionstabelle:
                   1.10.0-3 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              npm:
                Installiert:           (keine)
                Installationskandidat: 7.5.2+ds-2
                Versionstabelle:
                   7.5.2+ds-2 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              nodejs:
                Installiert:           18.15.0-deb-1nodesource1
                Installationskandidat: 18.15.0-deb-1nodesource1
                Versionstabelle:
               *** 18.15.0-deb-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages
                      100 /var/lib/dpkg/status
                   12.22.12~dfsg-1~deb11u3 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              smarthome@raspi8gb:~ $
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @JoJo58 last edited by

                @jojo58

                iob stop
                sudo apt update
                sudo apt install --reinstall nodejs
                sudo reboot
                
                JoJo58 1 Reply Last reply Reply Quote 0
                • JoJo58
                  JoJo58 @Thomas Braun last edited by

                  @thomas-braun sagte in Troubleshooting NodeJS update:

                  sudo apt install --reinstall nodejs

                  smarthome@raspi8gb:~ $ iob stop
                  smarthome@raspi8gb:~ $ sudo apt update
                  OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                  OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
                  OK:3 https://repos.influxdata.com/debian stable InRelease
                  OK:4 https://packages.grafana.com/oss/deb stable InRelease
                  OK:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                  Paketlisten werden gelesen… Fertig
                  Abhängigkeitsbaum wird aufgebaut… Fertig
                  Statusinformationen werden eingelesen… Fertig
                  Alle Pakete sind aktuell.
                  smarthome@raspi8gb:~ $ sudo apt install --reinstall nodejs
                  Paketlisten werden gelesen… Fertig
                  Abhängigkeitsbaum wird aufgebaut… Fertig
                  Statusinformationen werden eingelesen… Fertig
                  0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
                  Es müssen 25,7 MB an Archiven heruntergeladen werden.
                  Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
                  Holen:1 https://deb.nodesource.com/node_18.x bullseye/main armhf nodejs armhf 18.15.0-deb-1nodesource1 [25,7 MB]
                  Es wurden 25,7 MB in 1 s geholt (18,6 MB/s).
                  (Lese Datenbank ... 126538 Dateien und Verzeichnisse sind derzeit installiert.)
                  Vorbereitung zum Entpacken von .../nodejs_18.15.0-deb-1nodesource1_armhf.deb ...
                  Entpacken von nodejs (18.15.0-deb-1nodesource1) über (18.15.0-deb-1nodesource1) ...
                  nodejs (18.15.0-deb-1nodesource1) wird eingerichtet ...
                  Trigger für man-db (2.9.4-2) werden verarbeitet ...
                  smarthome@raspi8gb:~ $
                  

                  Ergebnis nach Neustart ist das Gleiche:

                  smarthome@raspi8gb:~ $ type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v
                  /usr/bin/nodejs
                  /usr/bin/node
                  /usr/bin/npm
                  /usr/bin/npx
                  v18.15.0
                  v18.15.0
                  /usr/lib/node_modules/npm/lib/cli.js:48
                      throw err
                      ^
                  
                  TypeError: Class extends value undefined is not a constructor or null
                      at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js:110:44)
                      at Module._compile (node:internal/modules/cjs/loader:1254:14)
                      at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
                      at Module.load (node:internal/modules/cjs/loader:1117:32)
                      at Module._load (node:internal/modules/cjs/loader:958:12)
                      at Module.require (node:internal/modules/cjs/loader:1141:19)
                      at require (node:internal/modules/cjs/helpers:110:18)
                      at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/agent.js:174:29)
                      at Module._compile (node:internal/modules/cjs/loader:1254:14)
                      at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
                      at Module.load (node:internal/modules/cjs/loader:1117:32)
                      at Module._load (node:internal/modules/cjs/loader:958:12)
                      at Module.require (node:internal/modules/cjs/loader:1141:19)
                      at require (node:internal/modules/cjs/helpers:110:18)
                      at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/remote.js:7:18)
                      at Module._compile (node:internal/modules/cjs/loader:1254:14)
                  
                  Node.js v18.15.0
                  smarthome@raspi8gb:~ $
                  
                  
                  JoJo58 1 Reply Last reply Reply Quote 0
                  • JoJo58
                    JoJo58 @JoJo58 last edited by

                    Habe gerade in meiner Minidoku gesehen, dass ich die nodejs Version 19.7 wohl falsch installiert habe. Hatte die Anleitung im Netz gefunden und mich danach gerichtet. Diese Schritte hatte ich mir aufgeschrieben:

                    https://nodejs.org/dist/latest
                    node-v19.7.0-linux-armv7l.tar.gz
                    wget https://nodejs.org/dist/latest/node-v19.7.0-linux-armv7l.tar.gz
                    tar -xzf node-v19.7.0-linux-armv7l.tar.gz
                    cd node-v19.7.0-linux-armv7l/
                    sudo cp -R * /usr/local/

                    …und damit ist die Installation abgeschlossen

                    Kann das damit Zusammenhängen?

                    Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @JoJo58 last edited by Thomas Braun

                      @jojo58 sagte in Troubleshooting NodeJS update:

                      Kann das damit Zusammenhängen?

                      Ja, das ist nämlich eine Murks-'Anleitung'!
                      Das macht man nie, nie, nie so, wenn man einen Paketmanager zur Hand hat, der das alles viel besser auflösen kann.

                      Mit apt würde das so aussehen:

                      echad@chet:~ $ apt policy nodejs
                      nodejs:
                        Installed: 19.8.1-deb-1nodesource1
                        Candidate: 19.8.1-deb-1nodesource1
                        Version table:
                       *** 19.8.1-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_19.x bookworm/main arm64 Packages
                              100 /var/lib/dpkg/status
                           18.15.0-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_18.x bookworm/main arm64 Packages
                           18.13.0+dfsg1-1 500
                              500 http://deb.debian.org/debian bookworm/main arm64 Packages
                           16.19.1-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x bookworm/main arm64 Packages
                      echad@chet:~ $
                      

                      NodeJS19 ganz sauber in aktueller Version richtig serviert.
                      Davon abgesehen dass nodejs19 keine Version ist, die man in einem Produktivsystem haben will. Ist nur für Entwickler und zum Beta-Testen vorgesehen.

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

                        @jojo58 sagte in Troubleshooting NodeJS update:

                        Jetzt musst du den Inhalt des tar-Files sauber aus

                        /usr/local/

                        herauskratzen. Viel Spaß dabei.

                        In Anbetracht der Tatsache, dass da wohl auch noch anderes nodejs-Zeug irgendwie in das System geprügelt wurde:

                        Installier es neu und verwende tunlichst deinen Paketmanager, wenn du zusätzliche Software installierst. Und lass bei nodejs die Finger von ungeraden Versionsnummern.

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

                          @thomas-braun Du meinst also ich soll den RaspBerry neu installieren, die Updates machen, IoBroker, Grafana und InfluxDB neu installieren und dann die Backups der drei zurückspielen?

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

                            @jojo58

                            Ich würd es auf eine saubere Basis setzen.
                            Mit vorhandenen Backups 'ne Sache von 'ner Stunde.

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

                              @thomas-braun sagte in Troubleshooting NodeJS update:

                              Mit vorhandenen Backups 'ne Sache von 'ner Stunde.

                              Okay, ich hab 1,5 Stunden gebraucht (bin auch schon etwas älter 😊 ) und hatte ein paar kleinere Problemchen, aber jetztz läuft wieder alles. Mir fehlen jetzt zwar Aufzeichnungen von Datenpunkten, aber damit muss ich halt leben. Zumindest nodejs ist jetzt sauber drauf:

                              smarthome@raspi8gb:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                              smarthome@raspi8gb:~ $ type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              /usr/bin/npx
                              v18.15.0
                              v18.15.0
                              9.5.0
                              9.5.0
                              smarthome@raspi8gb:~ $
                              
                              

                              Vielen Dank für deine Hilfe, ich hab viel gelernt und werde auch das mit der ungeraden Version nie mehr vergessen. 👍

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

                                Eine Installation des Adapters vofo-speedtest unter Node Version 18.15.0 ist leider nicht mehr möglich.

                                $ iobroker add vofo-speedtest auto --host buanet-iobroker1 --debug
                                
                                NPM version: 9.5.0
                                
                                Installing iobroker.vofo-speedtest@0.0.13... (System call)
                                
                                npm ERR! code 1
                                
                                npm ERR! gyp info spawn args '-f',npm ERR! gyp info spawn args 'make',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-libcurl/build/config.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/.cache/node-gyp/18.15.0/include/node/common.gypi',npm ERR! gyp info spawn args '-Dlibrary=shared_library',npm ERR! gyp info spawn args '-Dvisibility=default',npm ERR! gyp info spawn args '-Dnode_root_dir=/opt/iobroker/.cache/node-gyp/18.15.0',npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',npm ERR! gyp info spawn args '-Dnode_lib_file=/opt/iobroker/.cache/node-gyp/18.15.0/<(target_arch)/node.lib',npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/node-libcurl',npm ERR! gyp info spawn args '-Dnode_engine=v8',npm ERR! gyp info spawn args '--depth=.',npm ERR! gyp info spawn args '--no-parallel',npm ERR! gyp info spawn args '--generator-output',npm ERR! gyp info spawn args 'build',npm ERR! gyp info spawn args '-Goutput_dir=.'npm ERR! gyp info spawn args ]npm ERR! Could not run curl-config, please make sure libcurl dev package is installed.
                                
                                npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2023-04-04T09_56_47_982Z-debug-0.log
                                
                                host.buanet-iobroker1 Cannot install iobroker.vofo-speedtest@0.0.13: 1
                                
                                ERROR: Process exited with code 25
                                

                                Github Issues dazu

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

                                  @knallochse sagte in Troubleshooting NodeJS update:

                                  Could not run curl-config, please make sure libcurl dev package is installed.

                                  Schau mal ob das installiert ist. Wobei mich die Abhängigkeit von libcurl-dev irritiert...
                                  Das dürfte eher kein Problem von/mit nodejs sein.

                                  sudo apt update
                                  apt policy libcurl4-gnutls-dev libcurl4-nss-dev libcurl4-openssl-dev
                                  

                                  sagt?

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

                                    @thomas-braun sagte in Troubleshooting NodeJS update:

                                    apt policy libcurl4-gnutls-dev libcurl4-nss-dev libcurl4-openssl-dev

                                    Danke für deine Antwort.
                                    Hier die Ausgabe :

                                    root@buanet-iobroker1:/opt/iobroker# sudo apt update
                                    sudo: unable to resolve host buanet-iobroker1: Name or service not known
                                    Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
                                    Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48,4 kB] 
                                    Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44,1 kB] 
                                    Get:4 https://deb.nodesource.com/node_18.x bullseye InRelease [4.586 B] 
                                    Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8.183 kB]
                                    Get:6 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages [776 B]
                                    Get:7 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [236 kB]
                                    Get:8 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14,6 kB]
                                    Fetched 8.648 kB in 5s (1.761 kB/s)
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    All packages are up to date.
                                    root@buanet-iobroker1:/opt/iobroker# apt policy libcurl4-gnutls-dev libcurl4-nss-dev libcurl4-openssl-dev
                                    libcurl4-gnutls-dev:
                                      Installed: (none)
                                      Candidate: 7.74.0-1.3+deb11u7
                                      Version table:
                                         7.74.0-1.3+deb11u7 500
                                            500 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
                                         7.74.0-1.3+deb11u3 500
                                            500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                    libcurl4-nss-dev:
                                      Installed: (none)
                                      Candidate: 7.74.0-1.3+deb11u7
                                      Version table:
                                         7.74.0-1.3+deb11u7 500
                                            500 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
                                         7.74.0-1.3+deb11u3 500
                                            500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                    libcurl4-openssl-dev:
                                      Installed: (none)
                                      Candidate: 7.74.0-1.3+deb11u7
                                      Version table:
                                         7.74.0-1.3+deb11u7 500
                                            500 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
                                         7.74.0-1.3+deb11u3 500
                                            500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                    root@buanet-iobroker1:/opt/iobroker# 
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Knallochse last edited by

                                      @knallochse

                                      Siehste. Nix installiert, dann kann auch curl-config nicht aufgerufen werden.
                                      Ist kein nodejs-Thema, eines der Pakete muss installiert werden.

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

                                        @thomas-braun Dankeschön 👍

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

                                          @thomas-braun sagte in Troubleshooting NodeJS update:

                                          Wobei mich die Abhängigkeit von libcurl-dev irritiert...

                                          Wenn man drüber nachdenkt...
                                          gyp als 'Kompiler' braucht natürlich entsprechende dev-Pakete. Also alles i. O.

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tschfs last edited by

                                            Hallo zusammen,

                                            ich bin nach Jahrzehnten wieder neu gestartet mit Linux und will den ioBroker auf Debian zum Laufen bekommen. Meine Linux Kenntnisse stammen daher noch aus der Informatiker Ausbildung und geben nicht mehr viel her. Leider fehlt dem iobroker die richtige npm und nodejs Version. Ich bin entsprechend der Anleitung hier im Forum vorgegangen, es wird aber immer die Version v12.22.12 installiert.

                                            apt policy libcurl4-gnutls-dev libcurl4-nss-dev libcurl4-openssl-dev nodejs npm

                                            libcurl4-gnutls-dev:
                                              Installiert:           (keine)
                                              Installationskandidat: 7.74.0-1.3+deb11u7
                                              Versionstabelle:
                                                 7.74.0-1.3+deb11u7 500
                                                    500 http://security.debian.org/debian-security bullseye-security/main i386 Packages
                                                 7.74.0-1.3+deb11u3 500
                                                    500 http://deb.debian.org/debian bullseye/main i386 Packages
                                                 7.64.0-4+deb10u2 500
                                                    500 http://http.debian.net/debian buster/main i386 Packages
                                            libcurl4-nss-dev:
                                              Installiert:           (keine)
                                              Installationskandidat: 7.74.0-1.3+deb11u7
                                              Versionstabelle:
                                                 7.74.0-1.3+deb11u7 500
                                                    500 http://security.debian.org/debian-security bullseye-security/main i386 Packages
                                                 7.74.0-1.3+deb11u3 500
                                                    500 http://deb.debian.org/debian bullseye/main i386 Packages
                                                 7.64.0-4+deb10u2 500
                                                    500 http://http.debian.net/debian buster/main i386 Packages
                                            libcurl4-openssl-dev:
                                              Installiert:           (keine)
                                              Installationskandidat: 7.74.0-1.3+deb11u7
                                              Versionstabelle:
                                                 7.74.0-1.3+deb11u7 500
                                                    500 http://security.debian.org/debian-security bullseye-security/main i386 Packages
                                                 7.74.0-1.3+deb11u3 500
                                                    500 http://deb.debian.org/debian bullseye/main i386 Packages
                                                 7.64.0-4+deb10u2 500
                                                    500 http://http.debian.net/debian buster/main i386 Packages
                                            nodejs:
                                              Installiert:           12.22.12~dfsg-1~deb11u3
                                              Installationskandidat: 12.22.12~dfsg-1~deb11u3
                                              Versionstabelle:
                                             *** 12.22.12~dfsg-1~deb11u3 500
                                                    500 http://security.debian.org/debian-security bullseye-security/main i386 Packages
                                                    100 /var/lib/dpkg/status
                                                 12.22.5~dfsg-2~11u1 500
                                                    500 http://deb.debian.org/debian bullseye/main i386 Packages
                                                 10.24.0~dfsg-1~deb10u1 500
                                                    500 http://http.debian.net/debian buster/main i386 Packages
                                            npm:
                                              Installiert:           (keine)
                                              Installationskandidat: 7.5.2+ds-2
                                              Versionstabelle:
                                                 7.5.2+ds-2 500
                                                    500 http://deb.debian.org/debian bullseye/main i386 Packages
                                                 5.8.0+ds6-4+deb10u2 500
                                                    500 http://http.debian.net/debian buster/main i386 Packages
                                            
                                            

                                            Würde mich freuen, wenn mir jemand weiterhelfen kann.
                                            Ich habe auch bereits versucht nodejs über nvm zu installieren, nvm findet aber kein passendes linux-x86 Paket, daher schlägt der Download fehl. Nachdem ich schon 2 Tage alles versuche habe ich heute das OS nochmal komplett frisch installiert und aktuell nach der Debian Installation nichts weiter verändert außer nodejs v18 zu installieren versucht.

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            908
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs 18 nodejs update
                                            59
                                            489
                                            73212
                                            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