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

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Installation
  5. ioBroker Installation npm Err!

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    946

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.0k

ioBroker Installation npm Err!

Geplant Angeheftet Gesperrt Verschoben Installation
50 Beiträge 4 Kommentatoren 8.7k Aufrufe 3 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.
  • X Xerxes55

    @thomas-braun
    Habe die Installation noch mal gestartet und?

    pi@raspberrypi:~ $ curl -sLf https://iobroker.net/install.sh | bash -
    library: loaded
    Library version=2022-12-09
    
    ==========================================================================
    
        Welcome to the ioBroker installer!
        Installer version: 2022-12-09
    
        You might need to enter your password a couple of times.
    
    ==========================================================================
    
    
    ==========================================================================
        Installing prerequisites (1/4)
    ==========================================================================
    
    Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
    Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
    Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
    Reading package lists... Done
    Changing npm registry to https://registry.npmjs.org
    Installed gcc-c++
    
    ==========================================================================
        Creating ioBroker user and directory (2/4)
    ==========================================================================
    
    Created /etc/sudoers.d/iobroker
    Directory /opt/iobroker created
    
    ==========================================================================
        Installing ioBroker (3/4)
    ==========================================================================
    
    
    ==========================================================================
        Finalizing installation (4/4)
    ==========================================================================
    
    Enabling autostart...
    Autostart enabled!
    Fixing directory permissions...
    
    ==========================================================================
    
        ioBroker was installed successfully
        Open http://192.168.178.58:8081 in a browser and start configuring!
    
    ==========================================================================
    
    
    You need to re-login before doing anything else on the console!
    
    pi@raspberrypi:~ $
    
    

    Hurra, jetzt geht es, aber warum?

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

    @xerxes55

    Und was sagt nun

    
    uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
    

    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

    X 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @xerxes55 sagte in ioBroker Installation npm Err!:

      aber warum?

      Weil jetzt die richtige nodeJS-Version installiert ist.

      X Offline
      X Offline
      Xerxes55
      schrieb am zuletzt editiert von
      #30

      @thomas-braun
      Aber warum diese Problem? Ich die Installation strikt nach den Anleitung gemacht. Wer installiert NodeJS. Linux oder ioBroker?

      Thomas BraunT HomoranH 2 Antworten Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @xerxes55

        Und was sagt nun

        
        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
        
        X Offline
        X Offline
        Xerxes55
        schrieb am zuletzt editiert von
        #31

        @thomas-braun

        pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
        armv7l
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v16.19.0
        v16.19.0
        8.19.3
        4.0.23
        pi
        pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker
        tty
        /home/pi
        Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
        Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
        Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
        Reading package lists... Done
        nodejs:
          Installed: 16.19.0-deb-1nodesource1
          Candidate: 16.19.0-deb-1nodesource1
          Version table:
         *** 16.19.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:~ $
        
        
        X 1 Antwort Letzte Antwort
        0
        • X Xerxes55

          @thomas-braun
          Aber warum diese Problem? Ich die Installation strikt nach den Anleitung gemacht. Wer installiert NodeJS. Linux oder ioBroker?

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

          @xerxes55 sagte in ioBroker Installation npm Err!:

          Linux oder ioBroker?

          Der Paketmanager. Der wird auch eigentlich vom Installationsskript richtig gefüttert. Keine Ahnung was du da gemacht hast.

          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

          X 1 Antwort Letzte Antwort
          0
          • X Xerxes55

            @thomas-braun

            pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
            armv7l
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v16.19.0
            v16.19.0
            8.19.3
            4.0.23
            pi
            pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker
            tty
            /home/pi
            Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
            Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
            Reading package lists... Done
            nodejs:
              Installed: 16.19.0-deb-1nodesource1
              Candidate: 16.19.0-deb-1nodesource1
              Version table:
             *** 16.19.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:~ $
            
            
            X Offline
            X Offline
            Xerxes55
            schrieb am zuletzt editiert von
            #33

            @xerxes55
            Jetzt ist ales ok? Kann ich damit produktiv arbeiten?

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • X Xerxes55

              @xerxes55
              Jetzt ist ales ok? Kann ich damit produktiv arbeiten?

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

              @xerxes55

              Sollte passen.

              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
              • Thomas BraunT Thomas Braun

                @xerxes55 sagte in ioBroker Installation npm Err!:

                Linux oder ioBroker?

                Der Paketmanager. Der wird auch eigentlich vom Installationsskript richtig gefüttert. Keine Ahnung was du da gemacht hast.

                X Offline
                X Offline
                Xerxes55
                schrieb am zuletzt editiert von
                #35

                @thomas-braun said in ioBroker Installation npm Err!:

                Keine Ahnung was du da gemacht hast.

                Ich habe schon mehrmals geschrieben: alles gemäß der Anleitung in dem Link am Anfang. Den Beitrag hast du auch selbst geschrieben! Bin kein Linux Fachmann!

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • X Xerxes55

                  @thomas-braun
                  Aber warum diese Problem? Ich die Installation strikt nach den Anleitung gemacht. Wer installiert NodeJS. Linux oder ioBroker?

                  HomoranH Nicht stören
                  HomoranH Nicht stören
                  Homoran
                  Global Moderator Administrators
                  schrieb am zuletzt editiert von
                  #36

                  @xerxes55 sagte in ioBroker Installation npm Err!:

                  Aber warum diese Problem? Ich die Installation strikt nach den Anleitung gemacht.

                  da muss aber beteits eine alte nodejs vor dem Aufruf des Installers drauf gewesen sein,
                  Deswegen wurde iobroker unvollständig installiert.

                  @xerxes55 sagte in ioBroker Installation npm Err!:

                  Wer installiert NodeJS. Linux oder ioBroker?

                  Entweder du, oder wenn noch nichts drauf is installiert iobroker die momentan aktuelle Version.

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

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

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

                  1 Antwort Letzte Antwort
                  0
                  • X Xerxes55

                    @thomas-braun said in ioBroker Installation npm Err!:

                    Keine Ahnung was du da gemacht hast.

                    Ich habe schon mehrmals geschrieben: alles gemäß der Anleitung in dem Link am Anfang. Den Beitrag hast du auch selbst geschrieben! Bin kein Linux Fachmann!

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

                    @xerxes55 sagte in ioBroker Installation npm Err!:

                    Den Beitrag hast du auch selbst geschrieben!

                    Das weiß ich. Und daher weiß ich auch, dass es genau so auch funktioniert.

                    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

                    X 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @xerxes55 sagte in ioBroker Installation npm Err!:

                      Den Beitrag hast du auch selbst geschrieben!

                      Das weiß ich. Und daher weiß ich auch, dass es genau so auch funktioniert.

                      X Offline
                      X Offline
                      Xerxes55
                      schrieb am zuletzt editiert von
                      #38

                      @thomas-braun
                      Ich habe die SD Karte komplett neu geschrieben, daher weiß ich nicht woher das kommt. Trotzdem vielen, vielen Dank!

                      1 Antwort Letzte Antwort
                      0
                      • C Offline
                        C Offline
                        Chris982
                        schrieb am zuletzt editiert von
                        #39

                        @thomas-braun
                        Hey, habe ein ähnliches Problem, wollte das updateaus dem iobroker machen aber irgendwas ist schief gelaufen.
                        Habe danach schon einiges versucht zu deinstallieren wie die node und iobroker aber jetzt geht gar nix mehr.
                        wenn ich über den installtions link den iobroker neu installieren will kommt:
                        Welcome to the ioBroker installer!
                        Installer version: 2022-12-09

                        You might need to enter your password a couple of times.
                        

                        ==========================================================================

                        ==========================================================================
                        Installing prerequisites (1/4)

                        OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                        OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                        OK:3 https://repos.influxdata.com/debian bullseye InRelease
                        OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease
                        OK:5 https://packages.grafana.com/enterprise/deb stable InRelease
                        Paketlisten werden gelesen... Fertig
                        Changing npm registry to https://registry.npmjs.org
                        npm ERR! builtins is not a function

                        npm ERR! A complete log of this run can be found in:
                        npm ERR! /home/pi/.npm/_logs/2022-12-21T18_56_11_280Z-debug-0.log
                        Installed gcc-c++

                        ==========================================================================
                        Creating ioBroker user and directory (2/4)

                        Created /etc/sudoers.d/iobroker
                        Directory /opt/iobroker created

                        ==========================================================================
                        Installing ioBroker (3/4)

                        npm ERR! builtins is not a function

                        npm ERR! A complete log of this run can be found in:
                        npm ERR! /home/pi/.npm/_logs/2022-12-21T18_56_16_582Z-debug-0.log

                        ==========================================================================
                        Finalizing installation (4/4)

                        Enabling autostart...
                        Autostart enabled!
                        Fixing directory permissions...

                        ==========================================================================

                        ioBroker was installed successfully
                        Open http://192.168.1.95 10.8.0.1:8081 in a browser and start configuring!
                        

                        ==========================================================================

                        You need to re-login before doing anything else on the console!

                        eine idee was ich machen kann? er ist definitv nicht mehr erreichbar

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • C Chris982

                          @thomas-braun
                          Hey, habe ein ähnliches Problem, wollte das updateaus dem iobroker machen aber irgendwas ist schief gelaufen.
                          Habe danach schon einiges versucht zu deinstallieren wie die node und iobroker aber jetzt geht gar nix mehr.
                          wenn ich über den installtions link den iobroker neu installieren will kommt:
                          Welcome to the ioBroker installer!
                          Installer version: 2022-12-09

                          You might need to enter your password a couple of times.
                          

                          ==========================================================================

                          ==========================================================================
                          Installing prerequisites (1/4)

                          OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                          OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                          OK:3 https://repos.influxdata.com/debian bullseye InRelease
                          OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease
                          OK:5 https://packages.grafana.com/enterprise/deb stable InRelease
                          Paketlisten werden gelesen... Fertig
                          Changing npm registry to https://registry.npmjs.org
                          npm ERR! builtins is not a function

                          npm ERR! A complete log of this run can be found in:
                          npm ERR! /home/pi/.npm/_logs/2022-12-21T18_56_11_280Z-debug-0.log
                          Installed gcc-c++

                          ==========================================================================
                          Creating ioBroker user and directory (2/4)

                          Created /etc/sudoers.d/iobroker
                          Directory /opt/iobroker created

                          ==========================================================================
                          Installing ioBroker (3/4)

                          npm ERR! builtins is not a function

                          npm ERR! A complete log of this run can be found in:
                          npm ERR! /home/pi/.npm/_logs/2022-12-21T18_56_16_582Z-debug-0.log

                          ==========================================================================
                          Finalizing installation (4/4)

                          Enabling autostart...
                          Autostart enabled!
                          Fixing directory permissions...

                          ==========================================================================

                          ioBroker was installed successfully
                          Open http://192.168.1.95 10.8.0.1:8081 in a browser and start configuring!
                          

                          ==========================================================================

                          You need to re-login before doing anything else on the console!

                          eine idee was ich machen kann? er ist definitv nicht mehr erreichbar

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

                          @chris982

                          Setz das in CodeTags.

                          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

                          C 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @chris982

                            Setz das in CodeTags.

                            C Offline
                            C Offline
                            Chris982
                            schrieb am zuletzt editiert von
                            #41

                            @thomas-braun

                             Welcome to the ioBroker installer!
                                Installer version: 2022-12-09
                                
                                You might need to enter your password a couple of times.
                            
                            ==========================================================================
                            
                            
                            ==========================================================================
                                Installing prerequisites (1/4)
                            ==========================================================================
                            
                            OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                            OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease                   
                            OK:3 https://repos.influxdata.com/debian bullseye InRelease                        
                            OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease                       
                            OK:5 https://packages.grafana.com/enterprise/deb stable InRelease                  
                            Paketlisten werden gelesen... Fertig
                            Changing npm registry to https://registry.npmjs.org
                            npm ERR! builtins is not a function
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/pi/.npm/_logs/2022-12-21T18_56_11_280Z-debug-0.log
                            Installed gcc-c++
                            
                            ==========================================================================
                                Creating ioBroker user and directory (2/4)
                            ==========================================================================
                            
                            Created /etc/sudoers.d/iobroker
                            Directory /opt/iobroker created
                            
                            ==========================================================================
                                Installing ioBroker (3/4)
                            ==========================================================================
                            
                            npm ERR! builtins is not a function
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/pi/.npm/_logs/2022-12-21T18_56_16_582Z-debug-0.log
                            
                            ==========================================================================
                                Finalizing installation (4/4)
                            ==========================================================================
                            
                            Enabling autostart...
                            Autostart enabled!
                            Fixing directory permissions...
                            
                            ==========================================================================
                            
                                ioBroker was installed successfully
                                Open http://192.168.1.95 10.8.0.1:8081 in a browser and start configuring!
                            
                            ==========================================================================
                            
                            
                            You need to re-login before doing anything else on the console!
                            
                            

                            meinst du so?

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • C Chris982

                              @thomas-braun

                               Welcome to the ioBroker installer!
                                  Installer version: 2022-12-09
                                  
                                  You might need to enter your password a couple of times.
                              
                              ==========================================================================
                              
                              
                              ==========================================================================
                                  Installing prerequisites (1/4)
                              ==========================================================================
                              
                              OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                              OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease                   
                              OK:3 https://repos.influxdata.com/debian bullseye InRelease                        
                              OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease                       
                              OK:5 https://packages.grafana.com/enterprise/deb stable InRelease                  
                              Paketlisten werden gelesen... Fertig
                              Changing npm registry to https://registry.npmjs.org
                              npm ERR! builtins is not a function
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/pi/.npm/_logs/2022-12-21T18_56_11_280Z-debug-0.log
                              Installed gcc-c++
                              
                              ==========================================================================
                                  Creating ioBroker user and directory (2/4)
                              ==========================================================================
                              
                              Created /etc/sudoers.d/iobroker
                              Directory /opt/iobroker created
                              
                              ==========================================================================
                                  Installing ioBroker (3/4)
                              ==========================================================================
                              
                              npm ERR! builtins is not a function
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/pi/.npm/_logs/2022-12-21T18_56_16_582Z-debug-0.log
                              
                              ==========================================================================
                                  Finalizing installation (4/4)
                              ==========================================================================
                              
                              Enabling autostart...
                              Autostart enabled!
                              Fixing directory permissions...
                              
                              ==========================================================================
                              
                                  ioBroker was installed successfully
                                  Open http://192.168.1.95 10.8.0.1:8081 in a browser and start configuring!
                              
                              ==========================================================================
                              
                              
                              You need to re-login before doing anything else on the console!
                              
                              

                              meinst du so?

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

                              @chris982

                              Check deine nodejs-Installation. Ich vermute die ist/war mal krumm.

                              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

                              C 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @chris982

                                Check deine nodejs-Installation. Ich vermute die ist/war mal krumm.

                                C Offline
                                C Offline
                                Chris982
                                schrieb am zuletzt editiert von
                                #43

                                @thomas-braun

                                pi@raspberrypi:~ $ apt policy nodejs
                                
                                nodejs
                                nodejs:
                                  Installiert:           16.19.0-deb-1nodesource1
                                  Installationskandidat: 16.19.0-deb-1nodesource1
                                  Versionstabelle:
                                 *** 16.19.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
                                Welcome to Node.js v16.19.0.
                                Type ".help" for more information.
                                > 
                                
                                

                                ich denke auch weil da 2 nodejs installiert sind. aber wie kann ich die 12.22.12 löschen?

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • C Chris982

                                  @thomas-braun

                                  pi@raspberrypi:~ $ apt policy nodejs
                                  
                                  nodejs
                                  nodejs:
                                    Installiert:           16.19.0-deb-1nodesource1
                                    Installationskandidat: 16.19.0-deb-1nodesource1
                                    Versionstabelle:
                                   *** 16.19.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
                                  Welcome to Node.js v16.19.0.
                                  Type ".help" for more information.
                                  > 
                                  
                                  

                                  ich denke auch weil da 2 nodejs installiert sind. aber wie kann ich die 12.22.12 löschen?

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

                                  @chris982

                                  Gar nicht. Die ist ja nicht (über den Paketmanager) installiert.
                                  Was sagt

                                  sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                  uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                  

                                  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

                                  C 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @chris982

                                    Gar nicht. Die ist ja nicht (über den Paketmanager) installiert.
                                    Was sagt

                                    sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                    uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                    
                                    C Offline
                                    C Offline
                                    Chris982
                                    schrieb am zuletzt editiert von
                                    #45

                                    @thomas-braun

                                    pi@raspberrypi:~ $ uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                    armv7l
                                    Kein Docker
                                    /usr/bin/nodejs
                                    /usr/bin/node
                                    /usr/bin/npm
                                    v16.19.0
                                    v16.19.0
                                    8.19.3
                                    node:internal/modules/cjs/loader:998
                                      throw err;
                                      ^
                                    
                                    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
                                        at Function.Module._load (node:internal/modules/cjs/loader:841:27)
                                        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
                                        at node:internal/main/run_main_module:22:47 {
                                      code: 'MODULE_NOT_FOUND',
                                      requireStack: []
                                    }
                                    pi@raspberrypi:~ $ 
                                    
                                    
                                    
                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • C Chris982

                                      @thomas-braun

                                      pi@raspberrypi:~ $ uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                      armv7l
                                      Kein Docker
                                      /usr/bin/nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      v16.19.0
                                      v16.19.0
                                      8.19.3
                                      node:internal/modules/cjs/loader:998
                                        throw err;
                                        ^
                                      
                                      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                          at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
                                          at Function.Module._load (node:internal/modules/cjs/loader:841:27)
                                          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
                                          at node:internal/main/run_main_module:22:47 {
                                        code: 'MODULE_NOT_FOUND',
                                        requireStack: []
                                      }
                                      pi@raspberrypi:~ $ 
                                      
                                      
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #46

                                      @chris982
                                      Ich weiß nicht wie oft das hier schon gefixt wurde. Such nach der Fehlermeldung.

                                      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

                                      C 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @chris982
                                        Ich weiß nicht wie oft das hier schon gefixt wurde. Such nach der Fehlermeldung.

                                        C Offline
                                        C Offline
                                        Chris982
                                        schrieb am zuletzt editiert von
                                        #47

                                        @thomas-braun
                                        ok, mache mich nochmal auf die suche, hbe vorhin aber nichts wirkliches gefunden.

                                        Danke Dir schon mal

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • C Chris982

                                          @thomas-braun
                                          ok, mache mich nochmal auf die suche, hbe vorhin aber nichts wirkliches gefunden.

                                          Danke Dir schon mal

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

                                          @chris982

                                          Zuletzt genau in diesem Thread. Vor nicht mal 24 Stunden.

                                          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

                                          C 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

                                          740

                                          Online

                                          32.6k

                                          Benutzer

                                          82.0k

                                          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