Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    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

    [How-to] Node.js für ioBroker richtig updaten

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

      @Homoran sagte in [How-to] Node.js für ioBroker richtig updaten:

      ass du die 10.x in dem Befehl gegen eine 12.x austauschen mu

      Ok, dann vielen Dank!

      1 Reply Last reply Reply Quote 0
      • S
        SolarGuido @Homoran last edited by

        @Homoran sagte in [How-to] Node.js für ioBroker richtig updaten:

        @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

        Da läuft ein Linux drauf? Debian?

        Armbian

        Ja , aber Debian ist glaub ich die Basis dafür , nur das Armbian eingeschränkt ist gegenüber Deban...

        Ich werde es probieren mache ne Ordner Sicherung vorher, da werden doch nur Änderungen in opt/iobroker gemacht oder auch andere Verzeichnisse?

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

          @SolarGuido sagte in [How-to] Node.js für ioBroker richtig updaten:

          Ja , aber Debian ist glaub ich die Basis dafür , nur das Armbian eingeschränkt ist gegenüber Deban...

          Naja, ist ein für ARM Hardware optimiertes Debian.

          S 1 Reply Last reply Reply Quote 0
          • S
            SolarGuido @Homoran last edited by

            @Homoran

            da werden doch nur Änderungen in opt/iobroker gemacht oder auch andere Verzeichnisse??
            Also nur das Verzeichnis sichern, damit wenn es schief läuft ich wieder auf Start komme, richtig?

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

              @SolarGuido Nein, da wird node.js upgedated und danach über npm rebuild die Pakete von ioBroker neu kompiliert

              Es betrifft ggf. mehr als ioB
              Aber Backup von ioB mit backitup ist immer eine gute Basis für einen neuanfang

              S 2 Replies Last reply Reply Quote 0
              • S
                SolarGuido @Homoran last edited by

                @Homoran sagte in [How-to] Node.js für ioBroker richtig updaten:

                wird node.js upgedated und danach über npm rebuild die Pakete von ioBroker neu kompiliert

                ok, danke für die Auskunft

                1 Reply Last reply Reply Quote 0
                • S
                  SolarGuido @Homoran last edited by SolarGuido

                  @Homoran

                  ich habe es ja fast befürchtet:

                  root@ioBroker-OPiplus2e:/opt/iobroker# curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                  
                  ## Installing the NodeSource Node.js 12.x repo...
                  
                  
                  ## Populating apt-get cache...
                  
                  + apt-get update
                  Ign:1 http://httpredir.debian.org/debian stretch InRelease
                  OK:2 http://security.debian.org stretch/updates InRelease
                  OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                  OK:4 http://httpredir.debian.org/debian stretch-backports InRelease
                  OK:5 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                  OK:6 http://httpredir.debian.org/debian stretch Release
                  OK:7 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                  OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                  OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                  OK:8 https://apt.armbian.com stretch InRelease
                  Ign:11 https://download.webmin.com/download/repository sarge InRelease
                  OK:12 https://download.webmin.com/download/repository sarge Release
                  Paketlisten werden gelesen... Fertig
                  
                  ## Confirming "stretch" is supported...
                  
                  + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/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 12.x repo...
                  
                  + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list
                  + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
                  
                  ## Running `apt-get update` for you...
                  
                  + apt-get update
                  OK:1 http://security.debian.org stretch/updates InRelease
                  Ign:2 http://httpredir.debian.org/debian stretch InRelease
                  OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                  OK:4 http://httpredir.debian.org/debian stretch-backports InRelease
                  OK:5 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                  OK:6 http://httpredir.debian.org/debian stretch Release
                  OK:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                  OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                  OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                  OK:7 https://apt.armbian.com stretch InRelease
                  Ign:11 https://download.webmin.com/download/repository sarge InRelease
                  OK:12 https://download.webmin.com/download/repository sarge Release
                  Paketlisten werden gelesen... Fertig
                  
                  ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
                  ## You may also need development tools to build native addons:
                       sudo apt-get install gcc g++ make
                  ## To install the Yarn package manager, run:
                       curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                       echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                       sudo apt-get update && sudo apt-get install yarn
                  
                  
                  root@ioBroker-OPiplus2e:/opt/iobroker# sudo apt-get install -y 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 15,9 MB an Archiven heruntergeladen werden.
                  Nach dieser Operation werden 83,7 MB Plattenplatz zusätzlich benutzt.
                  Vormals nicht ausgewähltes Paket nodejs wird gewählt.
                  (Lese Datenbank ... 75054 Dateien und Verzeichnisse sind derzeit installiert.)
                  Vorbereitung zum Entpacken von .../nodejs_12.16.2-1nodesource1_armhf.deb ...
                  Entpacken von nodejs (12.16.2-1nodesource1) ...
                  nodejs (12.16.2-1nodesource1) wird eingerichtet ...
                  Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                  root@ioBroker-OPiplus2e:/opt/iobroker# node -v
                  v8.16.0
                  
                  

                  ich hab auch :

                  sudo apt-get --purge remove node
                  
                  sudo apt-get --purge remove nodejs
                  
                  sudo apt-get autoremove
                  
                  sudo reboot
                  

                  hat auch nix gebracht bringt immer wieder bei node -v die 8.16.0
                  das komische, er sagt keine Installation gefunden...

                  starte ich iobroker:

                  Plattform: linux
                  Betriebssystem: linux
                  Die Architektur: arm
                  CPUs: 4
                  Geschwindigkeit: 1296 MHz
                  Modell: ARMv7 Processor rev 5 (v7l)
                  RAM: 1.9 GB
                  System-Betriebszeit: 00:20:32
                  Node.js: v8.16.0
                  Datenträgergröße: 14.1 GiB
                  Datenträger verfügbar: 7.2 GiB
                  Adapter-Anzahl: 345
                  NPM: v6.4.1
                  Betriebszeit: 00:00:30
                  Aktive Instanzen: 7 (war gerade am starten außer java braucht ja 10 minimum) läuft alles ...
                  
                  root@ioBroker-OPiplus2e:/opt/iobroker# sudo apt-get install -y nodejs
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  nodejs ist schon die neueste Version (12.16.2-1nodesource1).
                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                  
                  root@ioBroker-OPiplus2e:/opt/iobroker# node -v
                  v8.16.0
                  root@ioBroker-OPiplus2e:/opt/iobroker# ^C
                  root@ioBroker-OPiplus2e:/opt/iobroker# nodejs -v
                  v12.16.2
                  root@ioBroker-OPiplus2e:/opt/iobroker# npm -v
                  6.4.1
                  
                  
                  

                  LoL

                  eine Idee was ich machen kann?

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SolarGuido @SolarGuido last edited by SolarGuido

                    ich habs:

                    To manually remove node js, npm and node_modules from Ubuntu, you need to do the following steps.
                    
                    First of all you need to run the following command from command terminal as sudo.
                    sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node opt/local/include/node /opt/local/lib/node_modules
                    
                    Remove node or node_modules directories from /usr/local/lib with the help of following command.
                    sudo rm -rf /usr/local/lib/node*
                    
                    Remove node or node_modules directories from /usr/local/include with the help of following command.
                    sudo rm -rf /usr/local/include/node*
                    
                    Remove any node file or dir from /usr/local/bin with the help of following command.
                    sudo rm -rf /usr/local/bin/node*
                    
                    Go to home directory and remove any node or node_modules directory, if exists.
                    Now it is done
                    

                    und danach neu starten (habe opt/iobroker sicherheitshalber kurz umbenannt beim Neustart)

                    danach

                    root@ioBroker-OPiplus2e:/opt/iobroker# curl -sL https://deb.nodesource.com/setup                                                                                                                                                             _12.x | sudo -E bash -
                    
                    ## Installing the NodeSource Node.js 12.x repo...
                    
                    
                    ## Populating apt-get cache...
                    
                    + apt-get update
                    OK:1 http://security.debian.org stretch/updates InRelease
                    Ign:2 http://httpredir.debian.org/debian stretch InRelease
                    OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                    OK:4 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                    OK:5 http://httpredir.debian.org/debian stretch-backports InRelease
                    OK:7 http://httpredir.debian.org/debian stretch Release
                    OK:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                    OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                    OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                    OK:6 https://apt.armbian.com stretch InRelease
                    Ign:11 https://download.webmin.com/download/repository sarge InRelease
                    OK:12 https://download.webmin.com/download/repository sarge Release
                    Paketlisten werden gelesen... Fertig
                    
                    ## Confirming "stretch" is supported...
                    
                    + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Rel                                                                                                                                                             ease'
                    
                    ## 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 12.x repo...
                    
                    + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/source                                                                                                                                                             s.list.d/nodesource.list
                    + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/s                                                                                                                                                             ources.list.d/nodesource.list
                    
                    ## Running `apt-get update` for you...
                    
                    + apt-get update
                    Ign:1 http://httpredir.debian.org/debian stretch InRelease
                    OK:2 http://security.debian.org stretch/updates InRelease
                    OK:3 http://httpredir.debian.org/debian stretch-updates InRelease
                    OK:4 http://httpredir.debian.org/debian stretch-backports InRelease
                    OK:5 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
                    OK:7 http://httpredir.debian.org/debian stretch Release
                    OK:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu disco InRelease
                    OK:9 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu disco InRelease
                    OK:10 https://deb.nodesource.com/node_12.x stretch InRelease
                    OK:6 https://apt.armbian.com stretch InRelease
                    Ign:11 https://download.webmin.com/download/repository sarge InRelease
                    OK:12 https://download.webmin.com/download/repository sarge Release
                    Paketlisten werden gelesen... Fertig
                    
                    ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
                    ## You may also need development tools to build native addons:
                         sudo apt-get install gcc g++ make
                    ## To install the Yarn package manager, run:
                         curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                         echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/s                                                                                                                                                             ources.list.d/yarn.list
                         sudo apt-get update && sudo apt-get install yarn
                    
                    
                    root@ioBroker-OPiplus2e:/opt/iobroker# sudo apt-get install -y 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 15,9 MB an Archiven heruntergeladen werden.
                    Nach dieser Operation werden 83,7 MB Plattenplatz zusätzlich benutzt.
                    Vormals nicht ausgewähltes Paket nodejs wird gewählt.
                    (Lese Datenbank ... 75054 Dateien und Verzeichnisse sind derzeit installiert.)
                    Vorbereitung zum Entpacken von .../nodejs_12.16.2-1nodesource1_armhf.deb ...
                    Entpacken von nodejs (12.16.2-1nodesource1) ...
                    nodejs (12.16.2-1nodesource1) wird eingerichtet ...
                    Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                    root@ioBroker-OPiplus2e:/opt/iobroker# node -v
                    v12.16.2
                    
                    

                    hat geklappt.

                    da NPM rebuild nicht lief hab ich dann "node reinstall.js" gestartet. In der Anleitung ist es nicht deutlich, habe es im Forum gefunden. Eventuell in der Anleitung erwähnen, nur ein Hinweis...
                    Nur ist das auch auf Fehler ...

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

                      @SolarGuido Merkwürdige Zusammenstellung in den sources hast du... disco stretch sarge... Das passt hinten und vorne nicht zueinander.

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

                        @Thomas-Braun

                        das ist ja armbian, in erster line Stretch, das webmin sarge keine ahnung läuft schon immer und one fehler dürfte aber damit nix zu tun haben.

                        Ich hab jetzt iobroker komplett neu installieren müssen. ist das korrekt das da nur npm 6 läuft?

                        Habe jetzt die alte iobroker-data rein kopiert nur verstehe ich das in der Anleitung nicht da steht :

                        Anschließend wieder ioBroker starten. Der Rest läuft dann wie bei c) und dauert seine Zeit.
                        

                        ok, das bedeutet nach dem start installiert er alle adapter neu , scheint zu gehen 4 sind schon installiert 🙂

                        lattform: linux
                        Betriebssystem: linux
                        Die Architektur: arm
                        CPUs: 4
                        Geschwindigkeit: 1296 MHz
                        Modell: ARMv7 Processor rev 5 (v7l)
                        RAM: 1.9 GB
                        System-Betriebszeit: 02:26:04
                        Node.js: v12.16.2
                        NPM: 6.14.4
                        Datenträgergröße: 14.1 GiB
                        Datenträger verfügbar: 7.2 GiB
                        Adapter-Anzahl: 345
                        Betriebszeit: 00:06:14
                        Aktive Instanzen: 4
                        

                        so sieht das jetzt aus...

                        und alle Adapter wurden neu installiert. Alle Daten und Settings blieben erhalten und sogar Javascript läuft jetzt wieder 🙂

                        Danach auch noch 4 Adpter update gemacht ging ohne Fehler. Alle Instanzen grün.

                        Nur der admin2.0 Adapter ist nicht mehr da , macht aber auch nicht viel...

                        und "iot.0 2020-04-20 02:43:06.696 warn (4995) Cannot initialize getImage: Error: Cannot find module 'sharp'"

                        wieder mal dieser sharp den ich nicht habe...

                        und beim iot.adapter kommt kein update bei LastFunktion; last controlled function, was schon weniger nice ist...

                        testen muss ich morgen gehe pennen

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

                          @SolarGuido
                          Ich würde da dringend die ganzen Repos rauswerfen die nicht zu stretch passen. Gerade webmin kann dir grundlegende Pakete zerbröseln. Hat seinen Grund, dass z. B ubuntu webmin bei sich rausgeworfen hat.

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

                            @Thomas-Braun

                            ok danke für den tip, verstehe auch nicht warum da sarge drin ist...

                            habe es gerade mal nach geuckt die unterscheiden wohl nicht nach irgend einer debian version. Webmin bietet nur das eine an. Es gibt auch nur eine version für alle debian vesionen. Scheint also ok zu sei läuft auch schon seit 2 Jahren ohne probleme.

                            ja ich arbeitet auch mit putty , aber ich mag webmin trotzdem für einige Dinge sehr komfortable

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

                              Es läuft alles jetzt. Der IOT Adapter macht irgendwie nix mehr in

                              lastCommand	
                              state
                              Last command
                              
                              lastFunction	
                              state
                              Last controlled function
                              state	
                              
                              lastResponse	
                              state
                              
                              Last textual response
                              state	
                              
                              

                              hab jetzt meine betroffenen Scripte auf Alexa History umgestellt. Das hat wohl auch nix mit nodejs zu tun. Ich hab den iot mal downgrade gemacht bis 3er version, hilft nix. denke das ist ein grundsätzliches problem.

                              Anonsten scheint alles zu laufen, hab mal das log gecheckt und einiges getestet. bisher nix negativ aufgefallen.

                              Ich gaube auch der Weg neue Installation iobroker, danach den data ordner austauschen , dann neu starten und warten, ist am saubersten.

                              Jedenfalls Danke für die unterstützung

                              1 Reply Last reply Reply Quote 0
                              • H
                                Hc-Yami last edited by

                                Die Anleitung oben sucht noch nach node.js Versionen 10. Das müsste noch auf 12. geändert werden da der Info Adapter ja nun eine 12er Version empfiehlt. 🙂

                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Hc-Yami last edited by

                                  @Hc-Yami dann musst du nur die 10.x gegen eine 12.x und irgendwann gegen eine 14.x austauschen.
                                  Das war zum Erstellungsdatum des Posts eben die 10.x

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    Hc-Yami @Homoran last edited by

                                    @Homoran hey das weiß ich. Nur kann ich mir vorstellen, dass es Leute wie mich gibt die einfach Googlen "iobroker node.js update" dann den Thread finden und die Anleitung durchgehen. Es wäre ja dann cool wenn das dann auch wieder angepasst wird. Demnach denke ich es ist sinnvoll den Post anzupassen. 🙂

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

                                      @Hc-Yami sagte in [How-to] Node.js für ioBroker richtig updaten:

                                      Es wäre ja dann cool wenn das dann auch wieder angepasst wird.

                                      Vielleicht wird es nicht ganz so deutlich, wie beabsichtigt. Aber die weiter fortgesetze Timeline wird schon besprochen

                                      @Stabilostick sagte in [How-to] Node.js für ioBroker richtig updaten:

                                      Node.js-Versionen mit gerader Hauptversionsnummer werden als LTS-Versionen (Long Term Support) bezeichnet und einige Jahre gepflegt (z.B. 8.x). In 2017 war das Node.js 8, 2018 kam Node.js 10 hinzu und im Oktober 2019 wird Node.js 12 den LTS-Status erhalten.

                                      @Stabilostick sagte in [How-to] Node.js für ioBroker richtig updaten:

                                      mindestens Node.js 10. zu verwenden.

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

                                        Moin, ich hoffe ich bin hier richtig

                                        seit dem ich eben node.js auf 12.x und aktualisiert habe kommt wenn ich ein Adapter aktualisieren möchte diese Meldung.
                                        Beispiel am Ping Adapter:

                                        $ ./iobroker upgrade history
                                        Update history from @1.9.3 to @1.9.4
                                        NPM version: 6.14.4
                                        npm install iobroker.history@1.9.4 --loglevel error --prefix "/opt/iobroker" (System call)
                                        
                                        ╭─────────────────────────────────────────────────────────╮│                                                         ││ Manual installation of ioBroker is no longer supported  ││ on Linux, OSX and FreeBSD!                              ││ Please refer to the documentation on how to install it! ││ https://github.com/ioBroker/ioBroker/wiki/Installation  ││                                                         │╰─────────────────────────────────────────────────────────╯
                                        npm ERR! code ELIFECYCLEnpm ERR! errno 100npm ERR! iobroker@2.0.3 postinstall: `node lib/install.js`npm ERR! Exit status 100npm ERR! npm ERR! Failed at the iobroker@2.0.3 postinstall script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-04-24T11_19_06_212Z-debug.log
                                        ERROR: host.raspberrypi Cannot install iobroker.history@1.9.4: 100
                                        ERROR: process exited with code 25
                                        

                                        Nodes zeigt er mir mit v12.16.2 aktuell an

                                        wo hab ich den Fehler gemacht? 🙄

                                        es Läuft alles auf ein PI 3
                                        mfg
                                        Michiagn

                                        M 1 Reply Last reply Reply Quote 0
                                        • S
                                          strago last edited by

                                          Hallo Zusammen,

                                          Nach dem Update auf node.js 12.x auf meinem Slave (Raspberry pi 3) funktioniert leider der i2c adapter nicht mehr.

                                          folgende Fehlermeldung kommt:

                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.981	error	instance system.adapter.i2c.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.981	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:1000:32)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.981	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.980	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1156:30)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.980	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/i2c-bus/i2c-bus.js:4:28)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.979	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:81:44)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.979	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.978	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1042:19)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.978	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:899:14)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.978	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:1000:32)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.977	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1206:18)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.977	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.976	error	Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.976	error	Caught by controller[0]: NODE_MODULE_VERSION 64. This version of Node.js requires
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.975	error	Caught by controller[0]: was compiled against a different Node.js version using
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.975	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/i2c-bus/build/Release/i2c.node'
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.974	error	Caught by controller[0]: ^
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.974	error	Caught by controller[0]: throw e
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:03:47.973	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:88
                                          

                                          bzw. bei der erneuten Installation des Adapters kommen folgende Fehler:

                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:04.917	error	iobroker host.raspberrypi-Erdgeschoss Cannot install iobroker.i2c: 1
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:04.891	info	iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-04-24T11_09_04_808Z-debug.log
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:04.797	info	iobroker ERR! Failed at the i2c-bus@1.2.5 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:04.794	info	iobroker ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:04.792	info	iobroker npm
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.624	info	iobroker gyp ERR! node -v v12.16.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.621	info	iobroker stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:310:20)gyp ERR! stack at Process.
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.619	info	iobroker ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR!
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.616	info	iobroker gyp
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.614	info	iobroker make: *** [i2c.target.mk:111: Release/obj.target/i2c/src/i2c.o] Error 1
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.172	info	iobroker In file included from ../src/i2c.cc:107:../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writequick.cc:60:32: error: no mat
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.168	info	iobroker In file included from ../src/i2c.cc:107:../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writequick.cc:47:32: error: no ma
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.162	info	iobroker In file included from ../src/i2c.cc:106:../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writei2cblock.cc:108:32: err
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.156	info	iobroker In file included from ../src/i2c.cc:106:../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writei2cblock.cc:68:32: err
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.147	info	iobroker In file included from ../src/i2c.cc:105:../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeblock.cc:110:32: error: no ma
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.142	info	iobroker In file included from ../src/i2c.cc:105:../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeblock.cc:70:32: error: no ma
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.134	info	iobroker In file included from ../src/i2c.cc:104:../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeword.cc:64:32: error: no matchi
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.130	info	iobroker In file included from ../src/i2c.cc:104:../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeword.cc:49:32: error: no match
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.125	info	iobroker In file included from ../src/i2c.cc:103:../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writebyte.cc:63:32: error: no matchi
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.120	info	iobroker In file included from ../src/i2c.cc:103:../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writebyte.cc:49:32: error: no match
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.115	info	iobroker In file included from ../src/i2c.cc:102:../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./setaddr.cc:61:32: error: no matching fun
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.110	info	iobroker In file included from ../src/i2c.cc:102:../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./setaddr.cc:47:32: error: no matching fu
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.104	info	iobroker In file included from ../src/i2c.cc:101:../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./sendbyte.cc:60:32: error: no matching
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.100	info	iobroker In file included from ../src/i2c.cc:101:../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./sendbyte.cc:47:32: error: no matching
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.094	info	iobroker In file included from ../src/i2c.cc:100:../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./receivebyte.cc:60:32: error: no
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.091	info	iobroker In file included from ../src/i2c.cc:100:../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./receivebyte.cc:48:32: error: no
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.083	info	iobroker In file included from ../src/i2c.cc:99:../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readi2cblock.cc:109:32: error:
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.078	info	iobroker In file included from ../src/i2c.cc:99:../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readi2cblock.cc:69:32: error:
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.069	info	iobroker In file included from ../src/i2c.cc:98:../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readblock.cc:98:32: error: no matchin
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.065	info	iobroker In file included from ../src/i2c.cc:98:../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readblock.cc:66:32: error: no matchi
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.058	info	iobroker In file included from ../src/i2c.cc:97:../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readword.cc:62:32: error: no matching f
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.054	info	iobroker In file included from /home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.16.2/include/node/v8.h:2709:40: not
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.051	info	iobroker In file included from ../src/i2c.cc:97:../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readword.cc:49:32: error: no matching
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.044	info	iobroker In file included from ../src/i2c.cc:96:../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readbyte.cc:62:32: error: no matching f
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.041	info	iobroker In file included from ../src/i2c.cc:96:../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readbyte.cc:49:32: error: no matching
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.034	info	iobroker In file included from /home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.16.2/include/node/v8.h:2709:40: not
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.029	info	iobroker In file included from /home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.16.2/include/node/v8.h:2709:40: not
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.026	info	iobroker In file included from ../src/i2c.cc:95:../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./i2cfuncs.cc:48:32: error: no matching
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:02.014	info	iobroker In file included from ../src/i2c.cc:1:../src/i2c.cc: At global scope:/home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:608:43: warning: cast between incompatible function types from
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.976	info	iobroker In file included from /usr/include/c++/8/cassert:44, from /home/iobroker/.cache/node-gyp/12.16.2/include/node/node_object_wrap.h:26, from ../node_modules/nan/n
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.973	info	iobroker In file included from /home/iobroker/.cache/node-gyp/12.16.2/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.16.2/include/node/v8.h:27, f
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.970	info	iobroker In file included from ../node_modules/nan/nan.h:2365, from ../src/i2c.cc:2:../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:../node
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.965	info	iobroker In file included from /usr/include/c++/8/cassert:44, from /home/iobroker/.cache/node-gyp/12.16.2/include/node/node_object_wrap.h:26, from ../node_modules/nan/n
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.913	info	iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../node_modules/nan/nan.h:1875:62: warning: cast between incompati
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.901	info	iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:../node_modu
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.893	info	iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.890	info	iobroker In file included from /home/iobroker/.cache/node-gyp/12.16.2/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.16.2/include/node/v8.h:27, f
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.888	info	iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.881	info	iobroker In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:182:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.878	info	iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.868	info	iobroker In file included from /home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.16.2/include/node/v8.h:2878:7: note
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.865	info	iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:916:53: error: no matching functi
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.861	info	iobroker In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:175:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.858	info	iobroker In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:182:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.855	info	iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.812	info	iobroker In file included from /home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.16.2/include/node/v8.h:5531:23: not
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.809	info	iobroker In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:203, from ../src/i2c.cc:2:../node_modules/nan/nan_implementation_12_inl
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.792	info	iobroker In file included from /home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.16.2/include/node/v8.h:4275:31: not
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.789	info	iobroker In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:203, from ../src/i2c.cc:2:../node_modules/nan/nan_implementation_12_inl
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.766	info	iobroker In file included from /home/iobroker/.cache/node-gyp/12.16.2/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.16.2/include/node/v8.h:27, f
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.763	info	iobroker In file included from ../node_modules/nan/nan_converters.h:67, from ../node_modules/nan/nan.h:202, from ../src/i2c.cc:2:../node_modules/nan/nan_converters_43_i
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.752	info	iobroker In file included from /home/iobroker/.cache/node-gyp/12.16.2/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.16.2/include/node/v8.h:27, f
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:09:01.750	info	iobroker In file included from ../node_modules/nan/nan_converters.h:67, from ../node_modules/nan/nan.h:202, from ../src/i2c.cc:2:../node_modules/nan/nan_converters_43_i
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:08:25.873	info	iobroker npm install iobroker.i2c --loglevel error --prefix "/opt/iobroker" (System call)
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:08:25.870	info	iobroker NPM version: 6.14.4
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:08:25.040	info	iobroker install iobroker.i2c
                                          host.raspberrypi-Erdgeschoss	2020-04-24 13:08:22.963	info	iobroker url "iobroker.i2c"
                                          

                                          Mit node.js 10.20.1 läuft der Adapter noch.

                                          Der Entwickler @UncleSam ist aktuell leider nicht wirklich erreichbar.

                                          Anpassungen am Adapter kann ich leider nicht vornehmen.

                                          Vielleicht hat jemand einen Tipp.

                                          Danke!

                                          sg
                                          Strago

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User last edited by A Former User

                                            Muss ich was tun bei der Fehlermeldung:

                                            020-04-24 16:49:17.704	warn	the module (for instance, using `npm rebuild` or `npm install`).
                                            iot.0	2020-04-24 16:49:17.704	warn	NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                                            iot.0	2020-04-24 16:49:17.704	warn	NODE_MODULE_VERSION 64. This version of Node.js requires
                                            iot.0	2020-04-24 16:49:17.704	warn	was compiled against a different Node.js version using
                                            iot.0	2020-04-24 16:49:17.704	warn	(8213) Cannot initialize getImage: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node
                                            

                                            npm rebuild nach dem Update auf Version 12 hab ich gemacht.

                                            Glasfaser 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

                                            827
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            679797
                                            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