Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update Node-js V4.x auf V6.x

    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

    Update Node-js V4.x auf V6.x

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

      Hallo Paul,
      @paul53:

      Generell wäre ein Information über den Stand (letzte Änderung) in allen Dokus sinnvoll, um zu erkennen, wie aktuell die Information ist. `
      ist eine meiner nächsten Projekte.

      War zumindest für die Adapterdoku geplant (und im Header schon vorgesehen)

      Eine automatische Anzeige (…letzte Änderung...) war meiner Meinung nach nicht so sinnvoll, da evtl. nur Tippfehler oder kleinere Dinge geändert wurden, die Screenshots aber "total" veraltet bleiben konnten.

      Gruß

      Rainer

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

        @Homoran:

        Das geht nicht, da einige Linux-Versionen bereits eine nodejs (tlw. 0.12.x(!!)) mitbringen und diese unbedingt vorher entfernt werden muss. `

        Dann würde ich einen verweis machen das man die Versionen abfragt und dann entsprechend weiter verlinkt oder eben auch nicht.

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

          @Homoran:

          Eine automatische Anzeige (…letzte Änderung...) war meiner Meinung nach nicht so sinnvoll, da evtl. nur Tippfehler oder kleinere Dinge geändert wurden, `
          Automatisch sollte es nicht erfolgen, da Korrekturen keine Änderung des Standes der Information sind.

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

            Hab da mal auf die Schnelle noch was geändert.

            für eine finale Version habe ich noch ein paar Idden, über das wie muss ich noch mal drüber schlafen 😉

            Gruß

            Rainer

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

              Na dann: Gute Nacht und angenehme Träume 😄

              1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer last edited by

                @Homoran:

                Aber hast du mal hier im Forum gelesen, da hilft nicht mal Fettdruck und rot 😢 😢 `
                Wie wäre es mit einer Abfrage vorher?

                [ Ich bin ein DAU ] –-> führt zur vollständigen Anleitung mit 3.000 Warnhinweisen

                [ Ich hab Ahnung ] –-> führt zur abgespeckten Anleitung

                SCNR :lol:

                1 Reply Last reply Reply Quote 0
                • C
                  Chris76 last edited by

                  Da der Yeelight Adapter anscheinend Node6 braucht habe ich das Update von 4 nach 6 gemacht, wie hier beschrieben.

                  Aber leider laufen jetzt diverse andere Dienste nichtmehr.

                  host.iobroker

                  ! host.iobroker 2018-03-05 19:53:14.840 info Restart adapter system.adapter.amazon-dash.0 because enabled host.iobroker 2018-03-05 19:53:14.840 error instance system.adapter.amazon-dash.0 terminated with code 0 (OK) host.iobroker 2018-03-05 19:53:14.840 error Caught by controller[0]: at Object.Module._extensions..js (module.js:586:10) host.iobroker 2018-03-05 19:53:14.840 error Caught by controller[0]: at Module._compile (module.js:577:32) host.iobroker 2018-03-05 19:53:14.840 error Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21) host.iobroker 2018-03-05 19:53:14.840 error Caught by controller[0]: at require (internal/module.js:20:19) host.iobroker 2018-03-05 19:53:14.840 error Caught by controller[0]: at Module.require (module.js:504:17) host.iobroker 2018-03-05 19:53:14.840 error Caught by controller[0]: at Function.Module._load (module.js:445:3) host.iobroker 2018-03-05 19:53:14.840 error Caught by controller[0]: at tryModuleLoad (module.js:453:12) host.iobroker 2018-03-05 19:53:14.840 error Caught by controller[0]: at Module.load (module.js:494:32) host.iobroker 2018-03-05 19:53:14.840 error Caught by controller[0]: at Object.Module._extensions..node (module.js:604:18) host.iobroker 2018-03-05 19:53:14.840 error Caught by controller[0]: at Error (native) host.iobroker 2018-03-05 19:53:14.839 error Caught by controller[0]: Error: Module version mismatch. Expected 48, got 46. !

                  z.B. sql

                  ! sql.0 2018-03-05 19:30:59.464 error TypeError: Cannot read property 'borrow' of undefined sql.0 2018-03-05 19:30:59.464 error Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md sql.0 2018-03-05 19:30:29.447 error TypeError: Cannot read property 'borrow' of undefined sql.0 2018-03-05 19:30:29.446 error Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md sql.0 2018-03-05 19:29:59.433 error TypeError: Cannot read property 'borrow' of undefined sql.0 2018-03-05 19:29:59.433 error Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md sql.0 2018-03-05 19:29:29.424 error TypeError: Cannot read property 'borrow' of undefined sql.0 2018-03-05 19:29:29.424 error Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md sql.0 2018-03-05 19:28:59.406 error TypeError: Cannot read property 'borrow' of undefined sql.0 2018-03-05 19:28:59.406 error Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md sql.0 2018-03-05 19:28:29.386 error TypeError: Cannot read property 'borrow' of undefined sql.0 2018-03-05 19:28:29.386 error Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md sql.0 2018-03-05 19:27:59.369 error TypeError: Cannot read property 'borrow' of undefined sql.0 2018-03-05 19:27:59.369 error Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md sql.0 2018-03-05 19:27:29.365 error TypeError: Cannot read property 'borrow' of undefined sql.0 2018-03-05 19:27:29.365 error Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md sql.0 2018-03-05 19:26:59.353 error TypeError: Cannot read property 'borrow' of undefined sql.0 2018-03-05 19:26:59.352 error Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md sql.0 2018-03-05 19:26:29.351 error TypeError: Cannot read property 'borrow' of undefined sql.0 2018-03-05 19:26:29.350 error Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md !

                  Dash

                  ! amazon-dash.0 2018-03-05 19:28:34.393 info starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.13.0 amazon-dash.0 2018-03-05 19:28:03.707 info starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.13.0 amazon-dash.0 2018-03-05 19:27:32.694 info starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.13.0 amazon-dash.0 2018-03-05 19:27:01.900 info starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.13.0 amazon-dash.0 2018-03-05 19:26:31.454 info terminating amazon-dash.0 2018-03-05 19:26:31.099 info starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.13.0 amazon-dash.0 2018-03-05 19:26:30.948 error at Object.Module._extensions..js (module.js:586:10) amazon-dash.0 2018-03-05 19:26:30.948 error at Module._compile (module.js:577:32) amazon-dash.0 2018-03-05 19:26:30.948 error at Object. (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21) amazon-dash.0 2018-03-05 19:26:30.948 error at require (internal/module.js:20:19) amazon-dash.0 2018-03-05 19:26:30.948 error at Module.require (module.js:504:17) amazon-dash.0 2018-03-05 19:26:30.948 error at Function.Module._load (module.js:445:3) amazon-dash.0 2018-03-05 19:26:30.948 error at tryModuleLoad (module.js:453:12) amazon-dash.0 2018-03-05 19:26:30.948 error at Module.load (module.js:494:32) amazon-dash.0 2018-03-05 19:26:30.948 error at Object.Module._extensions..node (module.js:604:18) amazon-dash.0 2018-03-05 19:26:30.948 error at Error (native) amazon-dash.0 2018-03-05 19:26:30.948 error Error: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:26:30.914 error uncaught exception: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:26:00.601 info terminating amazon-dash.0 2018-03-05 19:26:00.154 info starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.13.0 amazon-dash.0 2018-03-05 19:26:00.097 error at Object.Module._extensions..js (module.js:586:10) amazon-dash.0 2018-03-05 19:26:00.097 error at Module._compile (module.js:577:32) amazon-dash.0 2018-03-05 19:26:00.097 error at Object. (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21) amazon-dash.0 2018-03-05 19:26:00.097 error at require (internal/module.js:20:19) amazon-dash.0 2018-03-05 19:26:00.097 error at Module.require (module.js:504:17) amazon-dash.0 2018-03-05 19:26:00.097 error at Function.Module._load (module.js:445:3) amazon-dash.0 2018-03-05 19:26:00.097 error at tryModuleLoad (module.js:453:12) amazon-dash.0 2018-03-05 19:26:00.097 error at Module.load (module.js:494:32) amazon-dash.0 2018-03-05 19:26:00.097 error at Object.Module._extensions..node (module.js:604:18) amazon-dash.0 2018-03-05 19:26:00.097 error at Error (native) amazon-dash.0 2018-03-05 19:26:00.097 error Error: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:26:00.095 error uncaught exception: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:25:29.768 info terminating amazon-dash.0 2018-03-05 19:25:29.316 info starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.13.0 amazon-dash.0 2018-03-05 19:25:29.264 error at Object.Module._extensions..js (module.js:586:10) amazon-dash.0 2018-03-05 19:25:29.264 error at Module._compile (module.js:577:32) amazon-dash.0 2018-03-05 19:25:29.264 error at Object. (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21) amazon-dash.0 2018-03-05 19:25:29.264 error at require (internal/module.js:20:19) amazon-dash.0 2018-03-05 19:25:29.264 error at Module.require (module.js:504:17) amazon-dash.0 2018-03-05 19:25:29.264 error at Function.Module._load (module.js:445:3) amazon-dash.0 2018-03-05 19:25:29.264 error at tryModuleLoad (module.js:453:12) amazon-dash.0 2018-03-05 19:25:29.264 error at Module.load (module.js:494:32) amazon-dash.0 2018-03-05 19:25:29.264 error at Object.Module._extensions..node (module.js:604:18) amazon-dash.0 2018-03-05 19:25:29.264 error at Error (native) amazon-dash.0 2018-03-05 19:25:29.264 error Error: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:25:29.262 error uncaught exception: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:24:58.955 info terminating amazon-dash.0 2018-03-05 19:24:58.525 info starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.13.0 amazon-dash.0 2018-03-05 19:24:58.449 error at Object.Module._extensions..js (module.js:586:10) amazon-dash.0 2018-03-05 19:24:58.449 error at Module._compile (module.js:577:32) amazon-dash.0 2018-03-05 19:24:58.449 error at Object. (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21) amazon-dash.0 2018-03-05 19:24:58.449 error at require (internal/module.js:20:19) amazon-dash.0 2018-03-05 19:24:58.449 error at Module.require (module.js:504:17) amazon-dash.0 2018-03-05 19:24:58.449 error at Function.Module._load (module.js:445:3) amazon-dash.0 2018-03-05 19:24:58.449 error at tryModuleLoad (module.js:453:12) amazon-dash.0 2018-03-05 19:24:58.449 error at Module.load (module.js:494:32) amazon-dash.0 2018-03-05 19:24:58.449 error at Object.Module._extensions..node (module.js:604:18) amazon-dash.0 2018-03-05 19:24:58.449 error at Error (native) amazon-dash.0 2018-03-05 19:24:58.449 error Error: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:24:58.446 error uncaught exception: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:24:28.210 info terminating amazon-dash.0 2018-03-05 19:24:27.874 info starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.13.0 amazon-dash.0 2018-03-05 19:24:27.704 error at Object.Module._extensions..js (module.js:586:10) amazon-dash.0 2018-03-05 19:24:27.704 error at Module._compile (module.js:577:32) amazon-dash.0 2018-03-05 19:24:27.704 error at Object. (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21) amazon-dash.0 2018-03-05 19:24:27.704 error at require (internal/module.js:20:19) amazon-dash.0 2018-03-05 19:24:27.704 error at Module.require (module.js:504:17) amazon-dash.0 2018-03-05 19:24:27.704 error at Function.Module._load (module.js:445:3) amazon-dash.0 2018-03-05 19:24:27.704 error at tryModuleLoad (module.js:453:12) amazon-dash.0 2018-03-05 19:24:27.704 error at Module.load (module.js:494:32) amazon-dash.0 2018-03-05 19:24:27.704 error at Object.Module._extensions..node (module.js:604:18) amazon-dash.0 2018-03-05 19:24:27.704 error at Error (native) amazon-dash.0 2018-03-05 19:24:27.704 error Error: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:24:27.701 error uncaught exception: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:23:57.418 info terminating amazon-dash.0 2018-03-05 19:23:56.965 info starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.13.0 amazon-dash.0 2018-03-05 19:23:56.914 error at Object.Module._extensions..js (module.js:586:10) amazon-dash.0 2018-03-05 19:23:56.914 error at Module._compile (module.js:577:32) amazon-dash.0 2018-03-05 19:23:56.914 error at Object. (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:3:21) amazon-dash.0 2018-03-05 19:23:56.914 error at require (internal/module.js:20:19) amazon-dash.0 2018-03-05 19:23:56.914 error at Module.require (module.js:504:17) amazon-dash.0 2018-03-05 19:23:56.914 error at Function.Module._load (module.js:445:3) amazon-dash.0 2018-03-05 19:23:56.914 error at tryModuleLoad (module.js:453:12) amazon-dash.0 2018-03-05 19:23:56.914 error at Module.load (module.js:494:32) amazon-dash.0 2018-03-05 19:23:56.914 error at Object.Module._extensions..node (module.js:604:18) amazon-dash.0 2018-03-05 19:23:56.914 error at Error (native) amazon-dash.0 2018-03-05 19:23:56.914 error Error: Module version mismatch. Expected 48, got 46. amazon-dash.0 2018-03-05 19:23:56.911 error uncaught exception: Module version mismatch. Expected 48, got 46. !

                  Aber der Yeelight Adapter geht jetzt 🙂

                  Veruscht habe ich schon:

                  cd /opt/iobroker
                  sudo chmod 777 * -R
                  sudo npm install iobroker.js-controller --production
                  
                  

                  Stand ist jetzt:

                  root@iobroker:~# npm -v
                  3.10.10
                  root@iobroker:~# node -v
                  v6.13.0
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 last edited by

                    Hast du das

                    reinstall.sh
                    ````zum neu compilieren der Adapter mal ausgeführt?
                    1 Reply Last reply Reply Quote 0
                    • M
                      mayer last edited by

                      Ich bekam eine Meldung von der Telegramm API, dass die alte Node Version bald nicht mehr unterstützt wird. Jetzt wollte ich natürlich auf die 6.x upgraden, konnte ich aber nicht, weil die Node Version 6.x MAC OS X 10.6 Snow Leopard nicht mehr unterstützt. Also habe ich meinen 2009er MacMini auf High Sierra bringen müssen. Das ging nur über eine gepatchte Version, da offiziell nicht mehr unterstützt für meinen ollen Mac.

                      Was soll ich sagen: Ich hab jetzt ein aktuelles System, welches super läuft, bin auf Node Version 6.12.3 und keinerlei Probleme.

                      Gruss, mayer

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephan2k last edited by

                        Hallo,

                        auf meinem "primär" iobroker läuft aktuell Node.js in Version v6.14.2 und NPM v3.10.10

                        Jetzt habe ich zum testen einen neuen Raspberry mit dem aktuellsten fertig Image vom Download Bereich geladen, und habe dort folgende Version:

                        Node.js in Version v8.11.1 und NPM v5.8.0

                        Könnt ihr mir vielleicht schnell die Befehle für Putty schreiben, damit ich das "primäre" System auch auf die Version bekomm?

                        Vielen Dank euch

                        1 Reply Last reply Reply Quote 0
                        • C
                          chka last edited by

                          @wendy2702:

                          Hast du das

                          reinstall.sh
                          ````zum neu compilieren der Adapter mal ausgeführt? `  
                          

                          ja leider auch nichts

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

                            @chka:

                            @wendy2702:

                            Hast du das

                            reinstall.sh
                            ````zum neu compilieren der Adapter mal ausgeführt? `  
                            

                            ja leider auch nichts `

                            Was soll uns das sagen? Wie lange gewartet? Was kommt im logfile?

                            Was hast du gemacht? Nodejs upgrade? Wenn ja… logfile mit Kommandos?

                            Warum "reinstall.sh" ausgeführt?

                            1 Reply Last reply Reply Quote 0
                            • C
                              chka last edited by

                              sorry habe den thread mit diesem hier verwechselt:

                              viewtopic.php?f=17&t=13851

                              leider bin ich nicht mehr weiter gekommen

                              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

                              676
                              Online

                              31.8k
                              Users

                              80.0k
                              Topics

                              1.3m
                              Posts

                              21
                              98
                              19471
                              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