Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. [gelöst] unterschiedliche Node Versionen und path local

    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

    [gelöst] unterschiedliche Node Versionen und path local

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      salequevale last edited by salequevale

      Hallo Zusammen,

      ich kenne mich leider mit Linux nicht so gut aus.

      Leider habe ich unterschiedliche Nodes und möchte auf Node 16.18.0 upgraden und npm aktualisieren. Weis aber nicht welche Befehle bzw. was ich da machen soll.
      Wer kann mir bitte weiterhelfen ?

      Danke schonmal!

      pi@raspberrypi4:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      aarch64
      /usr/bin/nodejs
      /usr/local/bin/node
      /usr/local/bin/npm
      v16.17.1
      v16.17.0
      8.15.0
      4.0.23
      pi
      pi adm dialout cdrom sudo audio video plugdev games users input netdev docker gpio i2c spi iobroker
      /home/pi
      OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
      OK:3 https://deb.nodesource.com/node_16.x bullseye InRelease
      OK:4 https://download.docker.com/linux/raspbian buster InRelease
      OK:5 https://repos.influxdata.com/debian bullseye InRelease
      OK:6 https://packages.grafana.com/oss/deb stable InRelease
      OK:7 https://dl.yarnpkg.com/debian stable InRelease
      Paketlisten werden gelesen… Fertig
      Abhängigkeitsbaum wird aufgebaut… Fertig
      Statusinformationen werden eingelesen… Fertig
      Alle Pakete sind aktuell.
      nodejs:
        Installiert:           16.17.1-deb-1nodesource1
        Installationskandidat: 16.17.1-deb-1nodesource1
        Versionstabelle:
       *** 16.17.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~deb11u1 500
              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
      
      
      Homoran Thomas Braun 3 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @salequevale last edited by

        @salequevale https://forum.iobroker.net/post/460727

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

          @salequevale sagte in unterschiedliche Node Versionen und path steht auf local:

          Zusätzlich noch:
          https://download.docker.com/linux/raspbian buster InRelease

          auf bullseye umstellen.

          Und
          https://dl.yarnpkg.com/debian stable InRelease
          löschen.

          sudo rm /etc/apt/sources.list.d/yar*
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @salequevale last edited by

            @salequevale sagte in unterschiedliche Node Versionen und path steht auf local:

            möchte auf Node 16.18.0 upgraden und npm aktualisieren.

            Die Version ist im Moment noch nicht über das nodesource-Repo verfügbar.
            Wenn du da grundsätzlich aufgeräumt hast also nicht wundern, dass die 16.18.0 dennoch nicht installiert wird.

            S 1 Reply Last reply Reply Quote 0
            • S
              salequevale @Thomas Braun last edited by

              @thomas-braun Danke Thomas schon mal für deine Hilfe. Ich habe das soweit schon umgesetzt.

              Eine Frage wegen dem Pfad: /usr/local/bin/node und /usr/local/bin/npm ist doch nach dieser Beschreibung link text falsch.

              Und wenn ich node -v eingebe erscheint bei mir 16.17.0 und nicht wie vermutet die 16.17.1 ?

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

                @salequevale sagte in unterschiedliche Node Versionen und path steht auf local:

                Und wenn ich node -v eingebe erscheint bei mir 16.17.0 und nicht wie vermutet die 16.17.1 ?

                Wegen der falschen Pfade. Da liegt die 16.17.0 drin. Also löschen.

                S 1 Reply Last reply Reply Quote 0
                • S
                  salequevale @Thomas Braun last edited by

                  @thomas-braun Danke für die Hilfe. Wieder was gelernt !

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  468
                  Online

                  31.9k
                  Users

                  80.3k
                  Topics

                  1.3m
                  Posts

                  3
                  7
                  197
                  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