Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Keine Unterstützung mehr für node.js 0.10 und 0.12

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Keine Unterstützung mehr für node.js 0.10 und 0.12

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

      Hallo mitsammen!

      Ich würde keine ungeraden node-Versionen (7,9,11…) installieren, diese sind nur 'Entwicklerversionen' und werden im Support nicht unterstützt und Supported.

      Die letzt LTS (Long Time Support) = V8.9.4

      Allerdings hat ioBroker Probleme mit dem npm welches dabei ist und deshalb ist es oft sicherer die alte 6er (6.13.0) LTE zu verwenden.

      Kein ioBroker-Adapter verwendet 8er oder 9er Spezialitäten.

      1 Reply Last reply Reply Quote 0
      • A
        AingTii last edited by

        Hallo Zusammen,

        nachdem ich dann "Update npm und node.js" durchgeführt habe und die hälfte der Adapter offline war und

        nicht mehr ging, habe ich dann gedacht, ich führe das ganze hier mal aus um dann

        fest zustellen, alles hängt in Dauerschleife mit der Meldung:

        
        gyp WARN EACCESS user "root" does not have permisson to Access the dev dir "/opt/iobroker/node_Modules/sqlite3/.node-gyp/9.10.1"
        gyp WARN EACCESS attempting to reinstall using temporary dev dir "/opt/iobroker/nodes_modules/sqlite3/.node-gyp"
        
        

        habe es jetzt abgebrochen

        so langsam verzweifel ich hier….

        Danke Gruß Jens

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 last edited by

          Was genau hast du getan?

          npm -v

          node -v

          1 Reply Last reply Reply Quote 0
          • A
            AingTii last edited by

            getan habe ich genau diese schritte….

            iobroker stop
            sudo apt-get --purge remove node
            sudo apt-get --purge remove nodejs
            sudo apt-get autoremove
            curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
            sudo apt-get update && sudo apt-get upgrade
            sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev nodejs
            cd /opt/iobroker
            sudo ./reinstall.sh
            
            

            wobei ich den letzten jetzt abgebrochen habe, da die dauerschleife kam

            npm -v

            5.6.0

            node -v

            v9.10.1

            nun will ich eigentlich zurück auf die 6er, weil die 9er gar nicht beabsichtigt war…..

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators last edited by

              Hallo nochmal,
              @AingTii:

              nachdem ich dann "Update npm und node.js[[/color]/b]" durchgeführt habe **Was bitte ist das?

              @AingTii:

              habe ich dann gedacht, ich führe das ganze hier mal aus ` und das??

              @AingTii:

              alles hängt in Dauerschleife mit der Meldung ` **Bist du da sicher, dass es eine Dauerschleife ist und nicht viele viele Male ausgeführt wird, da jedesmal ein temporäres Ersatzverzeichnis benutzt wird?

              BTW welche Hardware nutzst du?

              Gruß

              Rainer**** `

              1 Reply Last reply Reply Quote 0
              • A
                AingTii last edited by

                das erst bezieht sich auf den tread Update npm und node.js…

                das bezieht sich auf den ersten Post in diesem tread..

                könnte sein, aber über ne halbe stunde....?

                Raspberry Pi 3

                ich habe aber grad die von Dir genannte offizielle Anleitung noch mal durchgespielt

                node -v

                v9.10.1

                node -v

                v6.14.1

                npm

                5.6.0

                starte grad neu, ich hoffe es geht...

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  @AingTii:

                  ich hoffe es geht… `
                  ich glaube eher nicht!

                  Wenn das stimmt was du da tippst:

                  node -v
                  v9.10.1
                  node -v
                  v6.14.1
                  npm
                  5.6.0
                  

                  Wieso sollte bei dem gleichen Befehl (node -v) zweimal etwas anderes herauskommen?

                  ich fürchte eher, du hast zwei verschiedene node-Versionen parallel installiert.

                  @AingTii:

                  das erst bezieht sich auf den tread Update npm und node.js.. `
                  bei so was bitte immer einen Link, oder sollen wir das ahnen?

                  @AingTii:

                  das bezieht sich auf den ersten Post in diesem tread.. `
                  Was bezieht sich auf welchen Post in welchem Thread?

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • A
                    AingTii last edited by

                    ups.. beim 2. das js vergessen

                    nodejs -v

                    V6.14.1

                    soweit läuft es wieder…

                    allerdings macht Amazon dash Probleme

                    und hmm

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators last edited by

                      @AingTii:

                      ups.. beim 2. das js vergessen `

                      Dann vervollständige ich das mal für dich. Ist das so richtig?

                      node -v
                      v9.10.1
                      nodejs -v
                      v6.14.1
                      npm
                      5.6.0
                      

                      Dann hast du definitiv zwei node-versionen parallel laufen.

                      Was sagt die Anleitung dazu?
                      ` > nur wenn ALLE diese Befehle kein Ergebnis bringen unter 5. weitermachen, sonst

                      Die alten node & node.js Versionen deinstallieren `

                      Hast du das befolgt?

                      Gruß

                      Rainer

                      1 Reply Last reply Reply Quote 0
                      • A
                        AingTii last edited by

                        noch mal aktuell abgefragt:

                        node -v
                        v9.10.1
                        
                        nodejs -v
                        v6.14.1
                        
                        npm -v
                        5.6.0
                        
                        

                        Anleitung 1.-4. durchgeführt

                        1.Kernel Update: sudo apt-get update && sudo apt-get upgrade
                        2.Auf bereits vorhandene Versionen von nodejs und npm testen. 1.node -v
                        2.nodejs -v
                        3.npm -v
                        
                        3.nur wenn ALLE diese Befehle kein Ergebnis bringen unter 5\. weitermachen, sonst 1.Die alten node & node.js Versionen deinstallieren 1.sudo apt-get --purge remove node
                        2.sudo apt-get --purge remove nodejs
                        3.sudo apt-get autoremove
                        4.sudo reboot
                        
                        4.Node.js neu installieren für Linux und Raspberry 2/3 1.curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
                        2.sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
                        3.reboot
                        
                        

                        anschließend gewartet bis alles durchgebooted ist und die Instanzen nach und nach wieder aktiviert…

                        nur Amazon Dash und hmm starten nicht durch

                        hmm.0	2018-04-05 20:48:54.587	info	hmm exited with 1
                        hmm.0	2018-04-05 20:48:54.581	error	module.js:545 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.hmm/node_modules/homematic-manager/main.js' at Function.Module._resolveFilename (module.js:543:15
                        hmm.0	2018-04-05 20:48:54.239	info	Starting homematic-manager: /opt/iobroker/node_modules/iobroker.hmm/node_modules/homematic-manager/main.js
                        hmm.0	2018-04-05 20:48:49.221	info	hmm exited with 1
                        hmm.0	2018-04-05 20:48:49.215	error	module.js:545 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.hmm/node_modules/homematic-manager/main.js' at Function.Module._resolveFilename (module.js:543:15
                        hmm.0	2018-04-05 20:48:48.878	info	Starting homematic-manager: /opt/iobroker/node_modules/iobroker.hmm/node_modules/homematic-manager/main.js
                        hmm.0	2018-04-05 20:48:43.856	info	hmm exited with 1
                        hmm.0	2018-04-05 20:48:43.841	error	at bootstrap_node.js:666:3
                        hmm.0	2018-04-05 20:48:43.841	error	at startup (bootstrap_node.js:194:16)
                        hmm.0	2018-04-05 20:48:43.841	error	at Function.Module.runMain (module.js:690:10)
                        hmm.0	2018-04-05 20:48:43.841	error	at Function.Module._load (module.js:470:25)
                        hmm.0	2018-04-05 20:48:43.841	error	at Function.Module._resolveFilename (module.js:543:15)
                        hmm.0	2018-04-05 20:48:43.841	error	Error: Cannot find module '/opt/iobroker/node_modules/iobroker.hmm/node_modules/homematic-manager/main.js'
                        hmm.0	2018-04-05 20:48:43.841	error	^
                        hmm.0	2018-04-05 20:48:43.841	error	throw err;
                        hmm.0	2018-04-05 20:48:43.841	error	module.js:545
                        hmm.0	2018-04-05 20:48:43.504	info	Starting homematic-manager: /opt/iobroker/node_modules/iobroker.hmm/node_modules/homematic-manager/main.js
                        hmm.0	2018-04-05 20:48:43.481	info	starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.hmm, node: v6.14.1
                        
                        
                        
                        host.raspberrypi	2018-04-05 20:51:12.651	info	Restart adapter system.adapter.amazon-dash.0 because enabled
                        host.raspberrypi	2018-04-05 20:51:12.651	error	instance system.adapter.amazon-dash.0 terminated with code 0 (OK)
                        host.raspberrypi	2018-04-05 20:51:12.651	error	Caught by controller[0]: at Object.Module._extensions..js (module.js:586:10)
                        host.raspberrypi	2018-04-05 20:51:12.651	error	Caught by controller[0]: at Module._compile (module.js:577:32)
                        host.raspberrypi	2018-04-05 20:51:12.651	error	Caught by controller[0]: at Object. (/opt/iobroker/node_modules/pcap/pcap.js:3:21)
                        host.raspberrypi	2018-04-05 20:51:12.651	error	Caught by controller[0]: at require (internal/module.js:20:19)
                        host.raspberrypi	2018-04-05 20:51:12.650	error	Caught by controller[0]: at Module.require (module.js:504:17)
                        host.raspberrypi	2018-04-05 20:51:12.650	error	Caught by controller[0]: at Function.Module._load (module.js:445:3)
                        host.raspberrypi	2018-04-05 20:51:12.650	error	Caught by controller[0]: at tryModuleLoad (module.js:453:12)
                        host.raspberrypi	2018-04-05 20:51:12.650	error	Caught by controller[0]: at Module.load (module.js:494:32)
                        host.raspberrypi	2018-04-05 20:51:12.650	error	Caught by controller[0]: at Object.Module._extensions..node (module.js:604:18)
                        host.raspberrypi	2018-04-05 20:51:12.649	error	Caught by controller[0]: at Error (native)
                        host.raspberrypi	2018-04-05 20:51:12.648	error	Caught by controller[0]: Error: Module version mismatch. Expected 48, got 59.
                        
                        host.raspberrypi	2018-04-05 20:50:40.775	info	Restart adapter system.adapter.amazon-dash.0 because enabled
                        host.raspberrypi	2018-04-05 20:50:40.775	error	instance system.adapter.amazon-dash.0 terminated with code 0 (OK)
                        Caught	2018-04-05 20:50:40.774	error	by controller[0]: at Object.Module._extensions..js (module.js:586:10)
                        Caught	2018-04-05 20:50:40.774	error	by controller[0]: at Module._compile (module.js:577:32)
                        Caught	2018-04-05 20:50:40.774	error	by controller[0]: at Object. (/opt/iobroker/node_modules/pcap/pcap.js:3:21)
                        Caught	2018-04-05 20:50:40.774	error	by controller[0]: at require (internal/module.js:20:19)
                        Caught	2018-04-05 20:50:40.774	error	by controller[0]: at Module.require (module.js:504:17)
                        Caught	2018-04-05 20:50:40.774	error	by controller[0]: at Function.Module._load (module.js:445:3)
                        Caught	2018-04-05 20:50:40.773	error	by controller[0]: at tryModuleLoad (module.js:453:12)
                        Caught	2018-04-05 20:50:40.773	error	by controller[0]: at Module.load (module.js:494:32)
                        Caught	2018-04-05 20:50:40.773	error	by controller[0]: at Object.Module._extensions..node (module.js:604:18)
                        Caught	2018-04-05 20:50:40.773	error	by controller[0]: at Error (native)
                        Caught	2018-04-05 20:50:40.772	error	by controller[0]: Error: Module version mismatch. Expected 48, got 59.
                        amazon-dash.0	2018-04-05 20:50:40.745	info	terminating
                        amazon-dash.0	2018-04-05 20:50:40.540	info	starting. Version 0.2.9 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.14.1
                        amazon-dash.0	2018-04-05 20:50:40.236	error	at Object.Module._extensions..js (module.js:586:10)
                        amazon-dash.0	2018-04-05 20:50:40.236	error	at Module._compile (module.js:577:32)
                        amazon-dash.0	2018-04-05 20:50:40.236	error	at Object. (/opt/iobroker/node_modules/pcap/pcap.js:3:21)
                        amazon-dash.0	2018-04-05 20:50:40.236	error	at require (internal/module.js:20:19)
                        amazon-dash.0	2018-04-05 20:50:40.236	error	at Module.require (module.js:504:17)
                        amazon-dash.0	2018-04-05 20:50:40.236	error	at Function.Module._load (module.js:445:3)
                        amazon-dash.0	2018-04-05 20:50:40.236	error	at tryModuleLoad (module.js:453:12)
                        amazon-dash.0	2018-04-05 20:50:40.236	error	at Module.load (module.js:494:32)
                        amazon-dash.0	2018-04-05 20:50:40.236	error	at Object.Module._extensions..node (module.js:604:18)
                        amazon-dash.0	2018-04-05 20:50:40.236	error	at Error (native)
                        amazon-dash.0	2018-04-05 20:50:40.236	error	Error: Module version mismatch. Expected 48, got 59.
                        amazon-dash.0	2018-04-05 20:50:40.220	error	uncaught exception: Module version mismatch. Expected 48, got 59.
                        
                        

                        wobei ich glaube den hmm brauche ich nicht unbedingt so wie es aussieht?!?!

                        Danke

                        Gruß Jens

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators last edited by

                          @AingTii:

                          wobei ich glaube den hmm brauche ich nicht unbedingt so wie es aussieht?!?! `
                          nein, wofür denn?

                          @AingTii:

                          Anleitung 1.-4. durchgeführt `
                          Besser zu veil als zu wenig?

                          du solltest, wie im anderen Thread bereits geschrieben, nur die nodejs updates durchführen.

                          @AingTii:

                          nur wenn ALLE diese Befehle kein Ergebnis bringen unter 5. weitermachen `
                          Hast du vor dem Schritt 5 auch überprüft ob deine Deinstallationsversuche erfolgreich waren?

                          Gruß

                          Rainer

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate
                          FAQ Cloud / IOT
                          HowTo: Node.js-Update
                          HowTo: Backup/Restore
                          Downloads
                          BLOG

                          451
                          Online

                          32.1k
                          Users

                          80.7k
                          Topics

                          1.3m
                          Posts

                          13
                          51
                          8799
                          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