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. ioBroker Allgemein
  4. Node Version falsche Version

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Node Version falsche Version

Scheduled Pinned Locked Moved ioBroker Allgemein
20 Posts 7 Posters 6.6k Views 2 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.
  • HomoranH Do not disturb
    HomoranH Do not disturb
    Homoran
    Global Moderator Administrators
    wrote on last edited by
    #3

    Und Frage mal nach

    nodejs -v
    

    Gruß

    Rainer

    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
    • H Offline
      H Offline
      heiner1976
      wrote on last edited by
      #4

      Danke schonmal für Deine Antworten.

      Habe beides probiert.

      leider zeigt er immer noch die 4.7.3.

      Mir ist aufgefallen, dass er folgendes ausgiebt egal welche Versione ich installiere:

      ` > install : node-v6.11.3

      mkdir : /usr/local/n/versions/node/6.11.3

      fetch : https://nodejs.org/dist/v6.11.3/node-v6 … x64.tar.gz

      ######################################################################## 100,0%

      installed : v4.7.3 `

      ` > install : node-v8.5.0

      mkdir : /usr/local/n/versions/node/8.5.0

      fetch : https://nodejs.org/dist/v8.5.0/node-v8. … x64.tar.gz

      ######################################################################## 100,0%

      installed : v4.7.3 Aktivieren geht auch nicht: > root@debian:/usr/local/bin# n 8.5.0

      root@debian:/usr/local/bin# node -v

      v4.7.3

      root@debian:/usr/local/bin# `

      1 Reply Last reply
      0
      • H Offline
        H Offline
        heiner1976
        wrote on last edited by
        #5

        Bei

        nodejs -v

        ` > root@debian:/usr/local/bin# nodejs -v

        v6.11.3

        root@debian:/usr/local/bin# `

        1 Reply Last reply
        0
        • HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #6

          worauf läuft das Ganze bei dir?

          kann sein, dass dein Debian bereits eine nodejs installation mitgebracht hat

          WAs sagt:

          which node
          

          Auf jeden Fall müssen wir das System erst einmal sauber bekommen, bevor da nicht nur zwei sondern nachher 4 node-Versionen drauf laufen ;-)

          Gruß

          Rainer

          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
          • eric2905E Offline
            eric2905E Offline
            eric2905
            wrote on last edited by
            #7

            Hi,

            sonst versuche es mal mit der Installationsanleitung (inkl. Deinstallation altes Node).

            ==> http://www.iobroker.net/docu/?page_id=5 … ion_Nodejs

            So habe ich bei mir Node 6 auf Debian installiert.

            Gruß,

            Eric

            Roses are red, violets are blue,

            if I listen to metal, my neighbours do too

            1 Reply Last reply
            0
            • paul53P Offline
              paul53P Offline
              paul53
              wrote on last edited by
              #8

              Es sind offenbar 3 Versionen installiert. Schau bitte nach, was in den Suchpfaden für Dateien und Sym-Links vorhanden sind.

              ls -l /usr/local/bin/node*
              ls -l /usr/bin/node*
              

              In /usr/local/bin wird beider Eingabe von "node -v" zuerst gesucht. ioBroker erwartet "node" allerdings im Verzeichnis /usr/bin. Welche Version soll für ioBroker verwendet werden ?

              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

              1 Reply Last reply
              0
              • H Offline
                H Offline
                heiner1976
                wrote on last edited by
                #9

                @ Homoran

                which node sagt:

                ` > root@debian:~# which node

                /root/.nvm/versions/node/v4.7.3/bin/node `

                dann hab ich die Installationsanleitung durchgeführt

                nach Deinstallation immer noch :

                ` > root@debian:~# which node

                /root/.nvm/versions/node/v4.7.3/bin/node `

                Installation
                ` > root@debian:~# curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

                Installing the NodeSource Node.js v6.x repo…

                Populating apt-get cache...

                • apt-get update

                OK http://security.debian.org jessie/updates InRelease

                Ign http://ftp.de.debian.org jessie InRelease

                OK http://ftp.de.debian.org jessie Release.gpg

                OK http://ftp.de.debian.org jessie Release

                OK https://deb.nodesource.com jessie InRelease

                OK http://security.debian.org jessie/updates/main Sources

                OK http://security.debian.org jessie/updates/main amd64 Packages

                OK http://ftp.de.debian.org jessie/main Sources

                OK http://security.debian.org jessie/updates/main Translation-en

                OK http://ftp.de.debian.org jessie/main amd64 Packages

                OK http://ftp.de.debian.org jessie/main Translation-de_DE

                OK http://ftp.de.debian.org jessie/main Translation-de

                OK https://deb.nodesource.com jessie/main Sources

                OK http://ftp.de.debian.org jessie/main Translation-en

                OK https://deb.nodesource.com jessie/main amd64 Packages

                Holen: 1 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]

                Holen: 2 https://deb.nodesource.com jessie/main Translation-de [162 B]

                Holen: 3 https://deb.nodesource.com jessie/main Translation-en [162 B]

                Holen: 4 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]

                Holen: 5 https://deb.nodesource.com jessie/main Translation-de [162 B]

                Holen: 6 https://deb.nodesource.com jessie/main Translation-en [162 B]

                Holen: 7 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]

                Holen: 8 https://deb.nodesource.com jessie/main Translation-de [162 B]

                Holen: 9 https://deb.nodesource.com jessie/main Translation-en [162 B]

                Holen: 10 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]

                Holen: 11 https://deb.nodesource.com jessie/main Translation-de [162 B]

                Holen: 12 https://deb.nodesource.com jessie/main Translation-en [162 B]

                Holen: 13 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]

                Ign https://deb.nodesource.com jessie/main Translation-de_DE

                Holen: 14 https://deb.nodesource.com jessie/main Translation-de [162 B]

                Ign https://deb.nodesource.com jessie/main Translation-de

                Holen: 15 https://deb.nodesource.com jessie/main Translation-en [162 B]

                Ign https://deb.nodesource.com jessie/main Translation-en

                Paketlisten werden gelesen… Fertig

                Confirming "jessie" is supported...

                • curl -sLf -o /dev/null 'https://deb.nodesource.com/node_6.x/dis ... ie/Release'

                Adding the NodeSource signing key to your keyring...

                • curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -

                OK

                Creating apt sources list file for the NodeSource Node.js v6.x repo...

                • echo 'deb https://deb.nodesource.com/node_6.x jessie main' > /etc/apt/sources.list.d/nodesource.list

                • echo 'deb-src https://deb.nodesource.com/node_6.x jessie main' >> /etc/apt/sources.list.d/nodesource.list

                Running apt-get update for you...

                • apt-get update

                OK http://security.debian.org jessie/updates InRelease

                Ign http://ftp.de.debian.org jessie InRelease

                OK http://ftp.de.debian.org jessie Release.gpg

                OK http://ftp.de.debian.org jessie Release

                OK http://security.debian.org jessie/updates/main Sources

                OK https://deb.nodesource.com jessie InRelease

                OK http://security.debian.org jessie/updates/main amd64 Packages

                OK http://ftp.de.debian.org jessie/main Sources

                OK http://security.debian.org jessie/updates/main Translation-en

                OK http://ftp.de.debian.org jessie/main amd64 Packages

                OK http://ftp.de.debian.org jessie/main Translation-de_DE

                OK https://deb.nodesource.com jessie/main Sources

                OK http://ftp.de.debian.org jessie/main Translation-de

                OK https://deb.nodesource.com jessie/main amd64 Packages

                Holen: 1 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]

                OK http://ftp.de.debian.org jessie/main Translation-en

                Holen: 2 https://deb.nodesource.com jessie/main Translation-de [162 B]

                Holen: 3 https://deb.nodesource.com jessie/main Translation-en [162 B]

                Holen: 4 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]

                Holen: 5 https://deb.nodesource.com jessie/main Translation-de [162 B]

                Holen: 6 https://deb.nodesource.com jessie/main Translation-en [162 B]

                Holen: 7 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]

                Holen: 8 https://deb.nodesource.com jessie/main Translation-de [162 B]

                Holen: 9 https://deb.nodesource.com jessie/main Translation-en [162 B]

                Holen: 10 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]

                Holen: 11 https://deb.nodesource.com jessie/main Translation-de [162 B]

                Holen: 12 https://deb.nodesource.com jessie/main Translation-en [162 B]

                Holen: 13 https://deb.nodesource.com jessie/main Translation-de_DE [162 B]

                Ign https://deb.nodesource.com jessie/main Translation-de_DE

                Holen: 14 https://deb.nodesource.com jessie/main Translation-de [162 B]

                Ign https://deb.nodesource.com jessie/main Translation-de

                Holen: 15 https://deb.nodesource.com jessie/main Translation-en [162 B]

                Ign https://deb.nodesource.com jessie/main Translation-en

                Paketlisten werden gelesen… Fertig

                Run apt-get install nodejs (as root) to install Node.js v6.x and npm

                root@debian:~# sudo apt-get install nodejs

                Paketlisten werden gelesen... Fertig

                Abhängigkeitsbaum wird aufgebaut.

                Statusinformationen werden eingelesen.... Fertig

                Die folgenden NEUEN Pakete werden installiert:

                nodejs

                0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

                Es müssen noch 0 B von 9.881 kB an Archiven heruntergeladen werden.

                Nach dieser Operation werden 44,4 MB Plattenplatz zusätzlich benutzt.

                Vormals nicht ausgewähltes Paket nodejs wird gewählt.

                (Lese Datenbank ... 38030 Dateien und Verzeichnisse sind derzeit installiert.)

                Vorbereitung zum Entpacken von .../nodejs_6.11.3-1nodesource1_amd64.deb ...

                Entpacken von nodejs (6.11.3-1nodesource1) ...

                Trigger für man-db (2.7.0.2-5) werden verarbeitet ...

                nodejs (6.11.3-1nodesource1) wird eingerichtet ... `

                ` > root@debian:~# which node

                /root/.nvm/versions/node/v4.7.3/bin/node

                root@debian:~# `

                root@debian:~# ls -l /usr/local/bin/node*

                und

                root@debian:~# ls -l /usr/bin/node*

                bringt

                ` > -rwxr-xr-x 1 root staff 37114290 Sep 14 12:47 /usr/local/bin/node

                -rwxr-xr-x 1 root root 25225224 Sep 5 22:23 /usr/bin/node

                lrwxrwxrwx 1 root root 24 Sep 14 16:33 /usr/bin/nodejs -> /etc/alternative s/nodejs `

                Zum Verzweifeln…..

                Ich habe Debian Jessi (lite glaube ich ) in einer VM laufen. eigentlich lief es die ganze Zeit gut bis eine neue Node Version verlangt wurde.

                Derzeitiger Stand:
                ` > root@debian:~# node -v

                v4.7.3

                root@debian:~# npm -v

                2.15.11

                root@debian:~# nodejs -v

                v6.11.3

                root@debian:~# `

                1 Reply Last reply
                0
                • HomoranH Do not disturb
                  HomoranH Do not disturb
                  Homoran
                  Global Moderator Administrators
                  wrote on last edited by
                  #10

                  wenn which node noch ein Ergebnis bringt ist es noch nicht deinstalliert ;-)

                  dann sollte man nicht noch ein node (woanders) installieren.

                  Da bin ich mangels Wissens jedoch leider raus. Vielleicht kann paul53 da etwas weiterhelfen.

                  Gruß

                  Rainer

                  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
                  • paul53P Offline
                    paul53P Offline
                    paul53
                    wrote on last edited by
                    #11

                    @heiner1976:

                    -rwxr-xr-x 1 root staff 37114290 Sep 14 12:47 /usr/local/bin/node

                    -rwxr-xr-x 1 root root 25225224 Sep 5 22:23 /usr/bin/node

                    lrwxrwxrwx 1 root root 24 Sep 14 16:33 /usr/bin/nodejs -> /etc/alternative s/nodejs Um ganz sicher zu gehen, welche Version die Date node hat, prüfe bitte noch > /usr/bin/node -v

                    /usr/local/bin/node -v `
                    Der zweite Befehl liefert wahrscheinlich 4.7.3. Dann lösche einfach die Datei.

                    rm /usr/local/bin/node
                    node -v
                    

                    /usr/bin/nodejs ist offenbar der Link zur Version 6.11.3.

                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                    1 Reply Last reply
                    0
                    • HomoranH Do not disturb
                      HomoranH Do not disturb
                      Homoran
                      Global Moderator Administrators
                      wrote on last edited by
                      #12

                      @paul53:

                      /usr/bin/nodejs ist offenbar der Link zur Version 6.11.3. `
                      und der zeigt auf
                      @heiner1976:

                      /etc/alternative s/nodejs `

                      gruß

                      Rainer

                      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
                      • H Offline
                        H Offline
                        heiner1976
                        wrote on last edited by
                        #13

                        Zum Mäusemelken:

                        root@debian:/# /usr/bin/node -v
                        > v6.11.3
                        root@debian:/# /usr/local/bin/node -v
                        > -bash: /usr/local/bin/node: Datei oder Verzeichnis nicht gefunden
                        root@debian:/# which node
                        > /root/.nvm/versions/node/v4.7.3/bin/node
                        root@debian:/# node -v
                        > v4.7.3

                        Habt Ihr noch eine Idee?

                        1 Reply Last reply
                        0
                        • eric2905E Offline
                          eric2905E Offline
                          eric2905
                          wrote on last edited by
                          #14

                          Hi,

                          @heiner1976:

                          root@debian:/# which node
                          > /root/.nvm/versions/node/v4.7.3/bin/node `

                          Du hast da noch was im NVM-Verzeichnis liegen (/root/.nvm) - das ist der Ordner des Node Version Managers.

                          Hast Du Dir den mal installiert?

                          Ich habe auch ein Debian (8 als 32 Bit) auf esxi laufen und habe dieses Verzeichnis nicht.

                          Gruß,

                          Eric

                          PS: Hier sind noch ein paar Infos dazu ==> https://www.voitanos.io/blog/better-nod … on-manager

                          Roses are red, violets are blue,

                          if I listen to metal, my neighbours do too

                          1 Reply Last reply
                          0
                          • paul53P Offline
                            paul53P Offline
                            paul53
                            wrote on last edited by
                            #15

                            @heiner1976:

                            -bash: /usr/local/bin/node: Datei oder Verzeichnis nicht gefunden widerspricht dieser Meldung: > -rwxr-xr-x 1 root staff 37114290 Sep 14 12:47 /usr/local/bin/node `
                            Das ist eine ausführbare Datei mit etwa 37 MByte Größe (erscheint mir für node etwas groß). Versuche doch mal die Datei zu löschen.

                            rm /usr/local/bin/node
                            

                            @heiner1976:

                            root@debian:/# /usr/bin/node -v

                            v6.11.3 `
                            sieht doch gut aus. Sie scheint nur nicht am Anfang des Suchpfades zu stehen. Poste mal

                            echo $PATH
                            

                            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                            T 1 Reply Last reply
                            0
                            • H Offline
                              H Offline
                              heiner1976
                              wrote on last edited by
                              #16

                              Das ist es!!! Vielen Dank. Jetzt muss ich nur noch den nvm rausschmeißen. Danke!

                              1 Reply Last reply
                              0
                              • H Offline
                                H Offline
                                heiner1976
                                wrote on last edited by
                                #17

                                root@debian:/usr/local/n/versions/node#**````
                                nvm use system

                                Now using system version of node: v6.11.3 (npm v3.10.10)

                                
                                Danke nochmal an alle!!!! Ohne Euch würde ich noch Tage probieren!
                                1 Reply Last reply
                                0
                                • paul53P paul53

                                  @heiner1976:

                                  -bash: /usr/local/bin/node: Datei oder Verzeichnis nicht gefunden widerspricht dieser Meldung: > -rwxr-xr-x 1 root staff 37114290 Sep 14 12:47 /usr/local/bin/node `
                                  Das ist eine ausführbare Datei mit etwa 37 MByte Größe (erscheint mir für node etwas groß). Versuche doch mal die Datei zu löschen.

                                  rm /usr/local/bin/node
                                  

                                  @heiner1976:

                                  root@debian:/# /usr/bin/node -v

                                  v6.11.3 `
                                  sieht doch gut aus. Sie scheint nur nicht am Anfang des Suchpfades zu stehen. Poste mal

                                  echo $PATH
                                  
                                  T Offline
                                  T Offline
                                  teguruma
                                  wrote on last edited by
                                  #18

                                  @paul53 top! hat geholfen, Danke!

                                  GlasfaserG 1 Reply Last reply
                                  0
                                  • T teguruma

                                    @paul53 top! hat geholfen, Danke!

                                    GlasfaserG Offline
                                    GlasfaserG Offline
                                    Glasfaser
                                    wrote on last edited by Glasfaser
                                    #19

                                    @teguruma sagte in Node Version falsche Version:

                                    hat geholfen,

                                    Was hat geholfen der Thread ist 6 Jahre alt und da hat sich vieles verändert !

                                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                    1 Reply Last reply
                                    0
                                    • T Offline
                                      T Offline
                                      teguruma
                                      wrote on last edited by
                                      #20

                                      @glasfaser verklickt, habe im falschen Chat geantwortet :=)

                                      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
                                      FAQ Cloud / IOT
                                      HowTo: Node.js-Update
                                      HowTo: Backup/Restore
                                      Downloads
                                      BLOG

                                      666

                                      Online

                                      32.6k

                                      Users

                                      82.1k

                                      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