Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Bekomme die nodejs Installation nicht vernünftig hin

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    UNSOLVED Bekomme die nodejs Installation nicht vernünftig hin

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Dustin F. last edited by

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

      throttled=0x50000
      temp=62.8'C

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

      Some problems detected, please run iob fix

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

      npm ERR! code ELSPROBLEMS

      Dustin F. 1 Reply Last reply Reply Quote 0
      • Dustin F.
        Dustin F. @Homoran last edited by

           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

        Homoran DJMarc75 2 Replies Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Dustin F. last edited by

          @dustin-f was sagt which npm oder npx?

          Dustin F. 1 Reply Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @Dustin F. last edited by

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

            Homoran Dustin F. 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @DJMarc75 last edited by

              @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

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

                @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 Braun Dustin F. 2 Replies Last reply Reply Quote 1
                • Thomas Braun
                  Thomas Braun Most Active @Thomas Braun last edited by Thomas Braun

                  @thomas-braun

                  sudo rm /usr/local/bin/n*
                  

                  heißt das. BashCompletion ftw....

                  Dustin F. 1 Reply Last reply Reply Quote 0
                  • Dustin F.
                    Dustin F. @Homoran last edited by

                    @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 Reply Quote 0
                    • Dustin F.
                      Dustin F. @DJMarc75 last edited by

                      @djmarc75

                      das versuche ich ja leider vergeblich.

                      1 Reply Last reply Reply Quote 0
                      • Dustin F.
                        Dustin F. @Thomas Braun last edited by

                        @thomas-braun

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

                        Homoran crunchip Thomas Braun 3 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Dustin F. last edited by

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

                          1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @Dustin F. last edited by

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

                            1 Reply Last reply Reply Quote 0
                            • Dustin F.
                              Dustin F. @Thomas Braun last edited by

                              @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 Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Dustin F. last edited by

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

                                update zu bullseye nicht anders zu installieren war

                                Quatsch.

                                Dustin F. 1 Reply Last reply Reply Quote 0
                                • Dustin F.
                                  Dustin F. @Thomas Braun last edited by

                                  @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 Reply Quote 0
                                  • Dustin F.
                                    Dustin F. last edited by

                                    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 Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Dustin F. last edited by Thomas Braun

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

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

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      1.0k
                                      Online

                                      31.7k
                                      Users

                                      79.7k
                                      Topics

                                      1.3m
                                      Posts

                                      nodejs 18
                                      5
                                      28
                                      1650
                                      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