Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

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

      @joergh

      which npm && type -P npm && ls -l /usr/bin/npm
      
      J 1 Reply Last reply Reply Quote 0
      • J
        JoergH @Thomas Braun last edited by

        @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

        @joergh

        which npm && type -P npm && ls -l /usr/bin/npm
        
        pi@raspberrypi:/opt/iobroker $ which npm && type -P npm && ls -l /usr/bin/npm
        /usr/bin/npm
        /usr/bin/npm
        lrwxrwxrwx 1 root root 38  7. Jul 18:02 /usr/bin/npm -> ../lib/node_modules/npm/bin/npm-cli.js
        pi@raspberrypi:/opt/iobroker $
        
        Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @JoergH last edited by

          @joergh sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

          root root

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

            @homoran

            Nein, das ist in Ordnung.

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

              @joergh

              uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              

              Und vielleicht mal den fixer aufrufen und die Kiste neustarten.

              iob stop
              iob fix
              sudo reboot
              
              J 1 Reply Last reply Reply Quote 0
              • J
                JoergH @Thomas Braun last edited by

                @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                @joergh

                uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                

                Und vielleicht mal den fixer aufrufen und die Kiste neustarten.

                iob stop
                iob fix
                sudo reboot
                

                Alles gemacht...folgendes kam nach dem ersten Befehl

                pi@raspberrypi:/opt/iobroker $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                armv7l
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                v16.16.0
                v16.16.0
                /usr/lib/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js:110
                class SocksProxyAgent extends agent_base_1.Agent {
                                                           ^
                
                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:1105:14)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
                    at Module.load (node:internal/modules/cjs/loader:981:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
                    at Module.require (node:internal/modules/cjs/loader:1005:19)
                    at require (node:internal/modules/cjs/helpers:102:18)
                    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/agent.js:174:25)
                    at Module._compile (node:internal/modules/cjs/loader:1105:14)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
                    at Module.load (node:internal/modules/cjs/loader:981:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
                    at Module.require (node:internal/modules/cjs/loader:1005:19)
                    at require (node:internal/modules/cjs/helpers:102: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:1105:14)
                

                nach dem reboot kam dann auf npm ls unverändert

                pi@raspberrypi:~ $ npm ls
                /usr/lib/node_modules/npm/node_modules/socks-proxy-agent/dist/index.js:110
                class SocksProxyAgent extends agent_base_1.Agent {
                                                           ^
                
                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:1105:14)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
                    at Module.load (node:internal/modules/cjs/loader:981:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
                    at Module.require (node:internal/modules/cjs/loader:1005:19)
                    at require (node:internal/modules/cjs/helpers:102:18)
                    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/agent.js:174:25)
                    at Module._compile (node:internal/modules/cjs/loader:1105:14)
                    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
                    at Module.load (node:internal/modules/cjs/loader:981:32)
                    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
                    at Module.require (node:internal/modules/cjs/loader:1005:19)
                    at require (node:internal/modules/cjs/helpers:102: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:1105:14)
                pi@raspberrypi:~ $
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @JoergH last edited by

                  @joergh

                  iobroker stop
                  apt policy nodejs
                  sudo apt install --reinstall nodejs
                  iobroker start
                  
                  J 1 Reply Last reply Reply Quote 0
                  • J
                    JoergH @Thomas Braun last edited by

                    @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                    @joergh

                    iobroker stop
                    apt policy nodejs
                    sudo apt install --reinstall nodejs
                    iobroker start
                    
                    pi@raspberrypi:~ $ iobroker stop
                    pi@raspberrypi:~ $ apt policy nodejs
                    nodejs:
                      Installiert:           16.16.0-deb-1nodesource1
                      Installationskandidat: 16.16.0-deb-1nodesource1
                      Versionstabelle:
                     *** 16.16.0-deb-1nodesource1 500
                            500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                            100 /var/lib/dpkg/status
                         12.22.12~dfsg-1~deb11u1 500
                            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                    pi@raspberrypi:~ $ 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 23,6 MB an Archiven heruntergeladen werden.
                    Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
                    Holen:1 https://deb.nodesource.com/node_16.x bullseye/main armhf nodejs armhf 16.16.0-deb-1nodesource1 [23,6 MB]
                    Es wurden 23,6 MB in 4 s geholt (6.613 kB/s).
                    (Lese Datenbank ... 133291 Dateien und Verzeichnisse sind derzeit installiert.)
                    Vorbereitung zum Entpacken von .../nodejs_16.16.0-deb-1nodesource1_armhf.deb ...
                    Entpacken von nodejs (16.16.0-deb-1nodesource1) über (16.16.0-deb-1nodesource1) ...
                    nodejs (16.16.0-deb-1nodesource1) wird eingerichtet ...
                    Trigger für man-db (2.9.4-2) werden verarbeitet ...
                    pi@raspberrypi:~ $
                    

                    Sieht mir ja so aus, als ob er beim reinstall nicht die npm 8 mit installiert, so wie beim upgrade....

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

                      @joergh

                      Das muss er, denn

                      dpkg -L nodejs | grep /usr/bin/npm
                      /usr/bin/npm
                      
                      J 1 Reply Last reply Reply Quote 0
                      • J
                        JoergH @Thomas Braun last edited by

                        @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                        @joergh

                        Das muss er, denn

                        dpkg -L nodejs | grep /usr/bin/npm
                        /usr/bin/npm
                        

                        Das zeigt er an...aber warum bleibt die npm Version bei 6.14.17?

                        pi@raspberrypi:~ $ dpkg -L nodejs | grep /usr/bin/npm
                        /usr/bin/npm
                        pi@raspberrypi:~ $
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @JoergH last edited by

                          @joergh sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                          Das zeigt er an...aber warum bleibt die npm Version bei 6.14.17?

                          Wo siehtst du die Versionsnummer? Ich sehe nur mir unbekannte Fehlermeldungen.

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

                            @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                            @joergh sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                            Das zeigt er an...aber warum bleibt die npm Version bei 6.14.17?

                            Wo siehtst du die Versionsnummer? Ich sehe nur mir unbekannte Fehlermeldungen.

                            Ja, stand noch im Admin von iobroker, aber nach reload ist sie da nun auch weg...

                            Kann man nicht vielleicht downgraden und dann wieder hoch?

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

                              @joergh Ist jetzt wirklich stochern im Nebel, aber installier das nochmal falsch global.

                              npm install -g npm@6
                              
                              J 1 Reply Last reply Reply Quote 0
                              • J
                                JoergH @Thomas Braun last edited by

                                @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                npm install -g npm@6

                                Da lässt sich nichts mehr mit npm installieren, es kommt immer der gleiche Fehler...hab dazu was gefunden im Netz:

                                "It may happen, that after deinstallation you have to delete the node_modules directory in the nodejs Installation Directory manually. And after that do the installation."

                                Welches wäre das denn?

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

                                  @joergh

                                  Versuchs mal mit prune

                                  sudo apt prune nodejs
                                  type nodejs
                                  type -P npm
                                  
                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    JoergH @Thomas Braun last edited by

                                    @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                    @joergh

                                    Versuchs mal mit prune

                                    sudo apt prune nodejs
                                    type nodejs
                                    type -P npm
                                    

                                    ungültige Operation prune...muss ich das erst installieren?

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

                                      @joergh

                                      iobroker stop
                                      sudo apt purge nodejs
                                      
                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        JoergH @Thomas Braun last edited by

                                        @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                        @joergh

                                        iobroker stop
                                        sudo apt purge nodejs
                                        
                                        pi@raspberrypi:/usr/bin $ sudo apt purge nodejs
                                        Paketlisten werden gelesen… Fertig
                                        Abhängigkeitsbaum wird aufgebaut… Fertig
                                        Statusinformationen werden eingelesen… Fertig
                                        Die folgenden Pakete werden ENTFERNT:
                                          nodejs*
                                        0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
                                        Nach dieser Operation werden 116 MB Plattenplatz freigegeben.
                                        Möchten Sie fortfahren? [J/n] j
                                        (Lese Datenbank ... 133291 Dateien und Verzeichnisse sind derzeit installiert.)
                                        Entfernen von nodejs (16.16.0-deb-1nodesource1) ...
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/yallist« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/write-file-atomic« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/wrappy« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/wide-align« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/which/bin« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/wcwidth« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/validate-npm-package-name« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/validate-npm-package-license« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/util-deprecate« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/unique-slug« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/unique-filename« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/tiny-relative-date« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/text-table« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/tar/lib« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/supports-color« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/strip-ansi« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/string_decoder« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/string-width« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/ssri« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/spdx-license-ids« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/spdx-expression-parse« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/spdx-exceptions« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/spdx-correct« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/socks/typings/common« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/socks-proxy-agent« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/smart-buffer« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/signal-exit« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/set-blocking« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/semver/bin« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/safer-buffer« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/safe-buffer« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/rimraf« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/retry« nicht leer, wird daher nicht gelöschtdpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/readdir-scoped-modules« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/readable-stream« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/read« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/read-package-json« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/read-cmd-shim« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/qrcode-terminal« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/promzard/example/npm-init« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/promise-retry« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/promise-inflight« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/path-is-absolute« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/pacote/lib/util« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/opener« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/once« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npmlog« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-user-validate« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-registry-fetch« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-profile« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-pick-manifest« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-packlist« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-package-arg« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-normalize-package-bin« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-install-checks« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-bundled« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-audit-report/lib« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/normalize-package-data« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/nopt« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/node-gyp/lib« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/node-gyp/.github/workflows« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/mute-stream« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/ms« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/mkdirp/bin« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/minizlib« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/minimatch« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/make-fetch-happen« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/lru-cache« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/libnpmteam« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/libnpmsearch« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/libnpmpublish« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/libnpmorg« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/libnpmhook« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/libnpmaccess« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/jsonparse« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/isexe« nicht leer, wird daher nicht gelöschtdpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/is-fullwidth-code-point« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/is-cidr« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/ip« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/ip-regex« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/init-package-json« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/ini« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/inherits« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/inflight« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/infer-owner« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/imurmurhash« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/ignore-walk« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/iconv-lite/lib« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/humanize-ms« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/https-proxy-agent« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/http-proxy-agent« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/http-cache-semantics« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/hosted-git-info« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/has« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/has-unicode« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/has-flag« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/graceful-fs« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/glob« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/gauge« nicht leer, wird daher nicht gelöschtdpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/function-bind« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/fs.realpath« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/fs-minipass« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/err-code« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/env-paths« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/encoding/lib« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/emoji-regex« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/dezalgo« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/delegates« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/defaults« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/debuglog« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/debug/src« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/debug/node_modules/ms« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/console-control-strings« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/concat-map« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/columnify« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/color-name« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/color-convert« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/cmd-shim« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/clone« nicht leer, wird daher nicht gelöschtdpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/cli-table3« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/cli-columns« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/cidr-regex« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/chownr« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/chalk« nicht leer, wird daher nicht gelöschtdpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/cacache/lib/util« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/builtins« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/brace-expansion« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/bin-links« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/balanced-match« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/asap« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/are-we-there-yet« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/archy« nicht leer, wird daher nicht gelöschtdpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/aproba« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/ansi-styles« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/ansi-regex« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/agentkeepalive/lib« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/agent-base« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/abbrev« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/man/man7« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/man/man5« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/man/man1« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/lib/utils/completion« nicht leer, wird daher nicht gelöscht
                                        dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/docs« nicht leer, wird daher nicht gelöscht
                                        Trigger für man-db (2.9.4-2) werden verarbeitet ...
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @JoergH last edited by Thomas Braun

                                          @joergh sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                          sudo rm -rf /usr/lib/node_modules/npm/
                                          sudo apt purge nodejs
                                          
                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            JoergH @Thomas Braun last edited by

                                            @thomas-braun sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                            @joergh sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                            sudo rm -rf /usr/lib/node_modules/npm/
                                            sudo apt purge nodejs
                                            

                                            Ok, das brachte dann mal was würde ich sagen

                                            pi@raspberrypi:/usr/bin $ sudo rm -rf /usr/lib/node_modules/npm/
                                            pi@raspberrypi:/usr/bin $ sudo apt purge nodejs
                                            Paketlisten werden gelesen… Fertig
                                            Abhängigkeitsbaum wird aufgebaut… Fertig
                                            Statusinformationen werden eingelesen… Fertig
                                            Paket »nodejs« ist nicht installiert, wird also auch nicht entfernt.
                                            0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            701
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            97
                                            812
                                            319929
                                            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