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.
    • 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.1k
                          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