Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Installation
  5. Troubleshooting NodeJS update

NEWS

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

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

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

Troubleshooting NodeJS update

Geplant Angeheftet Gesperrt Verschoben Installation
nodejs 18nodejs update
504 Beiträge 60 Kommentatoren 146.5k Aufrufe 52 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • JoJo58J JoJo58

    @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. :anguished:

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #25

    @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.

    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

    JoJo58J 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @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.

      JoJo58J Online
      JoJo58J Online
      JoJo58
      schrieb am zuletzt editiert von
      #26

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

      Intel NUC i7 64GB 1TB SSD - Proxmox - Raspi 4 8GB 500 GB SSD - Raspi 4 4GB 500GB SSD - Qnap 16TB - CCU3 - Fritz 6591 Cable - Green Cell USV 1500VA
      Sonoff CC2652P - HUE Bridge - Broadlink RM4 pro u. RM3 mini - 5 x Echo - 1 x Samsung STab 8 - 54 x HM und HMIP - 32 x Zigbee - 2 x Shelly 3EM.
      Einfach ein tolles Hobby :-)

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • JoJo58J JoJo58

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

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #27

        @jojo58

        apt policy libnode* npm nodejs
        

        sagt?

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

        JoJo58J 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @jojo58

          apt policy libnode* npm nodejs
          

          sagt?

          JoJo58J Online
          JoJo58J Online
          JoJo58
          schrieb am zuletzt editiert von
          #28

          @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:~ $
          
          

          Intel NUC i7 64GB 1TB SSD - Proxmox - Raspi 4 8GB 500 GB SSD - Raspi 4 4GB 500GB SSD - Qnap 16TB - CCU3 - Fritz 6591 Cable - Green Cell USV 1500VA
          Sonoff CC2652P - HUE Bridge - Broadlink RM4 pro u. RM3 mini - 5 x Echo - 1 x Samsung STab 8 - 54 x HM und HMIP - 32 x Zigbee - 2 x Shelly 3EM.
          Einfach ein tolles Hobby :-)

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • JoJo58J JoJo58

            @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 BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #29

            @jojo58

            iob stop
            sudo apt update
            sudo apt install --reinstall nodejs
            sudo reboot
            

            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

            JoJo58J 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @jojo58

              iob stop
              sudo apt update
              sudo apt install --reinstall nodejs
              sudo reboot
              
              JoJo58J Online
              JoJo58J Online
              JoJo58
              schrieb am zuletzt editiert von
              #30

              @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:~ $
              
              

              Intel NUC i7 64GB 1TB SSD - Proxmox - Raspi 4 8GB 500 GB SSD - Raspi 4 4GB 500GB SSD - Qnap 16TB - CCU3 - Fritz 6591 Cable - Green Cell USV 1500VA
              Sonoff CC2652P - HUE Bridge - Broadlink RM4 pro u. RM3 mini - 5 x Echo - 1 x Samsung STab 8 - 54 x HM und HMIP - 32 x Zigbee - 2 x Shelly 3EM.
              Einfach ein tolles Hobby :-)

              JoJo58J 1 Antwort Letzte Antwort
              0
              • JoJo58J JoJo58

                @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:~ $
                
                
                JoJo58J Online
                JoJo58J Online
                JoJo58
                schrieb am zuletzt editiert von
                #31

                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?

                Intel NUC i7 64GB 1TB SSD - Proxmox - Raspi 4 8GB 500 GB SSD - Raspi 4 4GB 500GB SSD - Qnap 16TB - CCU3 - Fritz 6591 Cable - Green Cell USV 1500VA
                Sonoff CC2652P - HUE Bridge - Broadlink RM4 pro u. RM3 mini - 5 x Echo - 1 x Samsung STab 8 - 54 x HM und HMIP - 32 x Zigbee - 2 x Shelly 3EM.
                Einfach ein tolles Hobby :-)

                Thomas BraunT 2 Antworten Letzte Antwort
                0
                • JoJo58J JoJo58

                  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 BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von Thomas Braun
                  #32

                  @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.

                  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 Antwort Letzte Antwort
                  0
                  • JoJo58J JoJo58

                    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 BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von Thomas Braun
                    #33

                    @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.

                    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

                    JoJo58J 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT 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.

                      JoJo58J Online
                      JoJo58J Online
                      JoJo58
                      schrieb am zuletzt editiert von
                      #34

                      @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?

                      Intel NUC i7 64GB 1TB SSD - Proxmox - Raspi 4 8GB 500 GB SSD - Raspi 4 4GB 500GB SSD - Qnap 16TB - CCU3 - Fritz 6591 Cable - Green Cell USV 1500VA
                      Sonoff CC2652P - HUE Bridge - Broadlink RM4 pro u. RM3 mini - 5 x Echo - 1 x Samsung STab 8 - 54 x HM und HMIP - 32 x Zigbee - 2 x Shelly 3EM.
                      Einfach ein tolles Hobby :-)

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • JoJo58J JoJo58

                        @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 BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von Thomas Braun
                        #35

                        @jojo58

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

                        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

                        JoJo58J 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @jojo58

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

                          JoJo58J Online
                          JoJo58J Online
                          JoJo58
                          schrieb am zuletzt editiert von
                          #36

                          @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 :blush: ) 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:

                          Intel NUC i7 64GB 1TB SSD - Proxmox - Raspi 4 8GB 500 GB SSD - Raspi 4 4GB 500GB SSD - Qnap 16TB - CCU3 - Fritz 6591 Cable - Green Cell USV 1500VA
                          Sonoff CC2652P - HUE Bridge - Broadlink RM4 pro u. RM3 mini - 5 x Echo - 1 x Samsung STab 8 - 54 x HM und HMIP - 32 x Zigbee - 2 x Shelly 3EM.
                          Einfach ein tolles Hobby :-)

                          1 Antwort Letzte Antwort
                          1
                          • KnallochseK Offline
                            KnallochseK Offline
                            Knallochse
                            schrieb am zuletzt editiert von
                            #37

                            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

                            HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • KnallochseK Knallochse

                              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 BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von Thomas Braun
                              #38

                              @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?

                              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

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • KnallochseK Offline
                                KnallochseK Offline
                                Knallochse
                                schrieb am zuletzt editiert von
                                #39

                                @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# 
                                

                                HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • KnallochseK Knallochse

                                  @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 BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #40

                                  @knallochse

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

                                  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

                                  KnallochseK 1 Antwort Letzte Antwort
                                  1
                                  • Thomas BraunT Thomas Braun

                                    @knallochse

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

                                    KnallochseK Offline
                                    KnallochseK Offline
                                    Knallochse
                                    schrieb am zuletzt editiert von
                                    #41

                                    @thomas-braun Dankeschön :+1:

                                    HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

                                    1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT 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 BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #42

                                      @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.

                                      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 Antwort Letzte Antwort
                                      0
                                      • T Offline
                                        T Offline
                                        tschfs
                                        schrieb am zuletzt editiert von
                                        #43

                                        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 BraunT 1 Antwort Letzte Antwort
                                        0
                                        • T tschfs

                                          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 BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #44

                                          @tschfs sagte in Troubleshooting NodeJS update:

                                          Ich habe auch bereits versucht nodejs über nvm zu installieren

                                          Lass die Finger von nvm.
                                          In meiner Signatur findest du eine Anleitung, wie man nodejs ordentlich über den bordeigenen Paketmanager installiert.

                                          Für i386 wirst du auch nichts aktuelles finden, weil dafür keiner mehr baut.
                                          Wo haste denn den i386 ausgegraben? Sind die nicht vom letzten Kaiser verboten worden? Installier da ein 64bit-Debian.

                                          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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          463

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe