Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Installation
  5. Bekomme die nodejs Installation nicht vernünftig hin

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Bekomme die nodejs Installation nicht vernünftig hin

Scheduled Pinned Locked Moved Unsolved Installation
nodejs 18
28 Posts 5 Posters 2.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Dustin F.D Dustin F.
       Your installation was fixed successfully
        Run iobroker start to start ioBroker again!
    

    wenn ich

    iob diag
    

    erneut durchlaufen lasse, erhalte ich dieselbe Fehlermeldung. Meine Vermutung ist, dass es damit zutun haben könnte, dass

    /usr/bin/nodejs         v18.16.1
    /usr/bin/node           v18.16.1
    /usr/local/bin/npm              9.3.1
    /usr/local/bin/npx              9.3.1
    *** nodejs is NOT correctly installed ***
    
    nodejs:
      Installed: 18.16.1-deb-1nodesource1
      Candidate: 18.16.1-deb-1nodesource1
      Version table:
     *** 18.16.1-deb-1nodesource1 100
            100 /var/lib/dpkg/status
         16.20.1-deb-1nodesource1 500
            500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
         12.22.12~dfsg-1~deb11u4 500
            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
    
    Temp directories causing npm8 problem: 0
    
    

    npm und npx im /usr/local/bin sind. Die Ordner aber beim Versuch zu löschen nicht existieren. Habe versucht mit der nodejs Anleitung es zu fixen, bekomme es aber nicht hin.

    Wichtig dabei ist:

    nodejs liegt in /usr/bin
    node liegt in /usr/bin
    npm liegt in /usr/bin
    npx liegt in /usr/bin

    die Versionsnummern von nodejs und node sowie von npm und npx stimmen jeweils überein.
    Falsch ist eine Installation in /usr/local/bin oder irgendwelchen anderen Verzeichnissen als /usr/bin

    DJMarc75D Offline
    DJMarc75D Offline
    DJMarc75
    wrote on last edited by
    #15

    @dustin-f bei Dir ist halt das Ganze auch krumm und schief.... schau in der Signatur von @Thomas-Braun und bieg das halt hin

    Lehrling seit 1975 !!!
    Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
    https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

    HomoranH Dustin F.D 2 Replies Last reply
    0
    • DJMarc75D DJMarc75

      @dustin-f bei Dir ist halt das Ganze auch krumm und schief.... schau in der Signatur von @Thomas-Braun und bieg das halt hin

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

      @djmarc75 sagte in Bekomme die nodejs Installation nicht vernünftig hin:

      und bieg das halt hin

      will er ja!
      aber die angeblichen falschen Pfade scheinen nicht zu existieren

      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 Reply Last reply
      0
      • Dustin F.D Dustin F.

        @thomas-braun

        root@ioBroker-Pi:/home/pi# sudo rm /usr/local/bin/core*
        rm: cannot remove '/usr/local/bin/core*': No such file or directory
        root@ioBroker-Pi:/home/pi# sudo rm /use/local/bin/n*
        rm: cannot remove '/use/local/bin/n*': No such file or directory
        root@ioBroker-Pi:/home/pi#
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by
        #17

        @dustin-f

        Mann Mann Mann...
        Die verfummelsten Systeme kommen dann natürlich auch IMMER mit root daher.

        IHR TUT EUCH NULL GEFALLEN MIT DEM SCHEISS-ROOT!

        Bin dann für heute raus, keinen Bock auf den Kram.

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

        Thomas BraunT Dustin F.D 2 Replies Last reply
        1
        • Thomas BraunT Thomas Braun

          @dustin-f

          Mann Mann Mann...
          Die verfummelsten Systeme kommen dann natürlich auch IMMER mit root daher.

          IHR TUT EUCH NULL GEFALLEN MIT DEM SCHEISS-ROOT!

          Bin dann für heute raus, keinen Bock auf den Kram.

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

          @thomas-braun

          sudo rm /usr/local/bin/n*
          

          heißt das. BashCompletion ftw....

          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

          Dustin F.D 1 Reply Last reply
          0
          • HomoranH Homoran

            @dustin-f was sagt which npm oder npx?

            Dustin F.D Offline
            Dustin F.D Offline
            Dustin F.
            wrote on last edited by
            #19

            @homoran sagte in Bekomme die nodejs Installation nicht vernünftig hin:

            which npm

            pi@ioBroker-Pi:~ $ which npm
            /usr/local/bin/npm
            
            1 Reply Last reply
            0
            • DJMarc75D DJMarc75

              @dustin-f bei Dir ist halt das Ganze auch krumm und schief.... schau in der Signatur von @Thomas-Braun und bieg das halt hin

              Dustin F.D Offline
              Dustin F.D Offline
              Dustin F.
              wrote on last edited by
              #20

              @djmarc75

              das versuche ich ja leider vergeblich.

              1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @dustin-f

                Mann Mann Mann...
                Die verfummelsten Systeme kommen dann natürlich auch IMMER mit root daher.

                IHR TUT EUCH NULL GEFALLEN MIT DEM SCHEISS-ROOT!

                Bin dann für heute raus, keinen Bock auf den Kram.

                Dustin F.D Offline
                Dustin F.D Offline
                Dustin F.
                wrote on last edited by
                #21

                @thomas-braun

                ohne root konnte ich aber nicht mehr weiter, da das update zu bullseye nicht anders zu installieren war

                HomoranH crunchipC Thomas BraunT 3 Replies Last reply
                0
                • Dustin F.D Dustin F.

                  @thomas-braun

                  ohne root konnte ich aber nicht mehr weiter, da das update zu bullseye nicht anders zu installieren war

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

                  @dustin-f ein weiteter Hinweis dass alles verbogen ist.

                  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 Reply Last reply
                  0
                  • Dustin F.D Dustin F.

                    @thomas-braun

                    ohne root konnte ich aber nicht mehr weiter, da das update zu bullseye nicht anders zu installieren war

                    crunchipC Offline
                    crunchipC Offline
                    crunchip
                    Forum Testing Most Active
                    wrote on last edited by
                    #23

                    @dustin-f wär mir neu, warum sollte das nicht funktionieren?

                    umgestiegen von Proxmox auf Unraid

                    1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @thomas-braun

                      sudo rm /usr/local/bin/n*
                      

                      heißt das. BashCompletion ftw....

                      Dustin F.D Offline
                      Dustin F.D Offline
                      Dustin F.
                      wrote on last edited by
                      #24

                      @thomas-braun sagte in Bekomme die nodejs Installation nicht vernünftig hin:

                      @thomas-braun

                      sudo rm /usr/local/bin/n*
                      

                      heißt das. BashCompletion ftw....

                      das war schon mal sehr hilfreich

                      pi@ioBroker-Pi:~ $ which npm
                      /usr/bin/npm
                      
                      1 Reply Last reply
                      0
                      • Dustin F.D Dustin F.

                        @thomas-braun

                        ohne root konnte ich aber nicht mehr weiter, da das update zu bullseye nicht anders zu installieren war

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

                        @dustin-f sagte in Bekomme die nodejs Installation nicht vernünftig hin:

                        update zu bullseye nicht anders zu installieren war

                        Quatsch.

                        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

                        Dustin F.D 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @dustin-f sagte in Bekomme die nodejs Installation nicht vernünftig hin:

                          update zu bullseye nicht anders zu installieren war

                          Quatsch.

                          Dustin F.D Offline
                          Dustin F.D Offline
                          Dustin F.
                          wrote on last edited by
                          #26

                          @thomas-braun

                          *** NodeJS-Installation ***
                          
                          /usr/bin/nodejs         v16.20.1
                          /usr/bin/node           v16.20.1
                          /usr/bin/npm            8.19.4
                          /usr/bin/npx            8.19.4
                          
                          
                          nodejs:
                            Installed: 16.20.1-deb-1nodesource1
                            Candidate: 16.20.1-deb-1nodesource1
                            Version table:
                           *** 16.20.1-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~deb11u4 500
                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                          

                          Danke sehr!

                          1 Reply Last reply
                          0
                          • Dustin F.D Offline
                            Dustin F.D Offline
                            Dustin F.
                            wrote on last edited by
                            #27

                            Ich verzweifel

                            pi@ioBroker-Pi:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                            uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                            armv7l
                            /usr/bin/nodejs
                            /usr/bin/node
                            /usr/bin/npm
                            /usr/local/bin/npx
                            v18.16.1
                            v18.16.1
                            9.5.1
                            -bash: /usr/local/bin/npx: No such file or directory
                            
                            

                            wo verdammt noch mal kommt der local Ordner nun wieder her? Ich habe mich penibelst an diese Anleitung gehalten [HowTo] Nodejs-Installation und Upgrades unter Debian

                            ok

                            which npx
                            

                            ergibt
                            /usr/bin/npx

                            Thomas BraunT 1 Reply Last reply
                            0
                            • Dustin F.D Dustin F.

                              Ich verzweifel

                              pi@ioBroker-Pi:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                              uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                              armv7l
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              /usr/local/bin/npx
                              v18.16.1
                              v18.16.1
                              9.5.1
                              -bash: /usr/local/bin/npx: No such file or directory
                              
                              

                              wo verdammt noch mal kommt der local Ordner nun wieder her? Ich habe mich penibelst an diese Anleitung gehalten [HowTo] Nodejs-Installation und Upgrades unter Debian

                              ok

                              which npx
                              

                              ergibt
                              /usr/bin/npx

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

                              @dustin-f sagte in Bekomme die nodejs Installation nicht vernünftig hin:

                              /usr/local/bin/

                              ls -lAh /usr/local/bin
                              

                              sagt?

                              Kiste einmal sauber neugestartet? Kann sein das der $PATH nochmal neu eingelesen werden muss.

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

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              689

                              Online

                              32.6k

                              Users

                              82.3k

                              Topics

                              1.3m

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

                              • Don't have an account? Register

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