Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Diskussion zum HowTo nodejs-Installation und upgrade

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.4k

Diskussion zum HowTo nodejs-Installation und upgrade

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
nodejs
844 Beiträge 91 Kommentatoren 233.5k Aufrufe 63 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @Habedere Gerne.
    Kann halt sein, das ein anderer Supporter dir sagt, du sollst auf node12 gehen, wenn du mit irgendeinem anderen Problem bei einem Adapter ankommst.

    H Offline
    H Offline
    Habedere
    schrieb am zuletzt editiert von
    #27

    @Thomas-Braun
    Jopp - hab ich auf dem Schirm.
    Hätte ich ja auch gleich daruf kommen können, wenn man sich den Infoadapter ansieht:

    v14.13.0 (Es gibt eine neuere Version: v14.9.0 - Empfohlene Version v12.18.3)

    Versuch macht kluch :)

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • H Habedere

      @Thomas-Braun
      Jopp - hab ich auf dem Schirm.
      Hätte ich ja auch gleich daruf kommen können, wenn man sich den Infoadapter ansieht:

      v14.13.0 (Es gibt eine neuere Version: v14.9.0 - Empfohlene Version v12.18.3)

      Versuch macht kluch :)

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #28

      @Habedere sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

      v14.13.0 (Es gibt eine neuere Version: v14.9.0

      Ist aber auch nicht logisch. Welcher Browser?

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      H 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @Habedere sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

        v14.13.0 (Es gibt eine neuere Version: v14.9.0

        Ist aber auch nicht logisch. Welcher Browser?

        H Offline
        H Offline
        Habedere
        schrieb am zuletzt editiert von
        #29

        @Thomas-Braun
        Chrome

        Hier mal kurz die Daten des Orange

        root@orangepizero:~# which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
        /usr/bin/nodejs
        v8.16.0
        /usr/bin/node
        v8.16.0
        /usr/bin/npm
        6.4.1
        nodejs:
          Installed: 8.16.0-1nodesource1
          Candidate: 8.16.0-1nodesource1
          Version table:
         *** 8.16.0-1nodesource1 500
                500 https://deb.nodesource.com/node_8.x stretch/main armhf Packages
                100 /var/lib/dpkg/status
             8.11.1~dfsg-2~bpo9+1 100
                100 http://httpredir.debian.org/debian stretch-backports/main armhf Packages
             4.8.2~dfsg-1 500
                500 http://httpredir.debian.org/debian stretch/main armhf Packages
        
        

        Js-controller ist noch 1.4.2 drauf.

        Da ich es ja scheinbar am Raspi schon vergeigt habe, ist jetzt fraglich ob meine vorgehensweise korrekt war.

        Ich arbeite mich einfach nach der u.g. Anleitung durch oder?!
        https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten/2

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • H Habedere

          @Thomas-Braun
          Chrome

          Hier mal kurz die Daten des Orange

          root@orangepizero:~# which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
          /usr/bin/nodejs
          v8.16.0
          /usr/bin/node
          v8.16.0
          /usr/bin/npm
          6.4.1
          nodejs:
            Installed: 8.16.0-1nodesource1
            Candidate: 8.16.0-1nodesource1
            Version table:
           *** 8.16.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_8.x stretch/main armhf Packages
                  100 /var/lib/dpkg/status
               8.11.1~dfsg-2~bpo9+1 100
                  100 http://httpredir.debian.org/debian stretch-backports/main armhf Packages
               4.8.2~dfsg-1 500
                  500 http://httpredir.debian.org/debian stretch/main armhf Packages
          
          

          Js-controller ist noch 1.4.2 drauf.

          Da ich es ja scheinbar am Raspi schon vergeigt habe, ist jetzt fraglich ob meine vorgehensweise korrekt war.

          Ich arbeite mich einfach nach der u.g. Anleitung durch oder?!
          https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten/2

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #30

          @Habedere
          Nix gegen stabilostick, aber ich mache es immer nach 'meiner' Methode.
          Einfach in der (bei dir offenbar bereits vorhandenen) Datei /etc/apt/sources.list.d/nodesource.list
          die gewünschte Version eintragen und per

          sudo apt update 
          sudo apt dist-upgrade
          

          hochziehen.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          H 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @Habedere
            Nix gegen stabilostick, aber ich mache es immer nach 'meiner' Methode.
            Einfach in der (bei dir offenbar bereits vorhandenen) Datei /etc/apt/sources.list.d/nodesource.list
            die gewünschte Version eintragen und per

            sudo apt update 
            sudo apt dist-upgrade
            

            hochziehen.

            H Offline
            H Offline
            Habedere
            schrieb am zuletzt editiert von
            #31

            @Thomas-Braun
            Ah ok - dachte nur weil die Anleitung offiziell verlinkt wird.

            Jetzt spinnt leider mein Mbus Adapter :(

            host.orangepizero	2020-10-06 19:18:19.269	info	Rebuild for adapter system.adapter.mbus.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
            host.orangepizero	2020-10-06 19:18:19.268	error	instance system.adapter.mbus.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
            host.orangepizero	2020-10-06 19:18:19.267	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:985:32)
            host.orangepizero	2020-10-06 19:18:19.267	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
            host.orangepizero	2020-10-06 19:18:19.266	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1137:30)
            host.orangepizero	2020-10-06 19:18:19.266	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-mbus/index.js:7:38)
            host.orangepizero	2020-10-06 19:18:19.265	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/node-mbus/node_modules/bindings/bindings.js:112:48)
            host.orangepizero	2020-10-06 19:18:19.264	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
            host.orangepizero	2020-10-06 19:18:19.264	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1025:19)
            host.orangepizero	2020-10-06 19:18:19.263	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:878:14)
            host.orangepizero	2020-10-06 19:18:19.263	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:985:32)
            host.orangepizero	2020-10-06 19:18:19.262	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1187:18)
            host.orangepizero	2020-10-06 19:18:19.261	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
            host.orangepizero	2020-10-06 19:18:19.261	error	Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
            host.orangepizero	2020-10-06 19:18:19.260	error	Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires
            host.orangepizero	2020-10-06 19:18:19.259	error	Caught by controller[0]: was compiled against a different Node.js version using
            host.orangepizero	2020-10-06 19:18:19.258	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/node-mbus/build/Release/mbus.node'
            host.orangepizero	2020-10-06 19:18:19.257	error	Caught by controller[0]: ^
            host.orangepizero	2020-10-06 19:18:19.255	error	Caught by controller[0]: throw e;
            host.orangepizero	2020-10-06 19:18:19.252	error	Caught by controller[0]: /opt/iobroker/node_modules/node-mbus/node_modules/bindings/bindings.js:121
            host.orangepizero	2020-10-06 19:18:17.692	info	instance system.adapter.mbus.0 started with pid 1919
            
            GlasfaserG 1 Antwort Letzte Antwort
            0
            • H Habedere

              @Thomas-Braun
              Ah ok - dachte nur weil die Anleitung offiziell verlinkt wird.

              Jetzt spinnt leider mein Mbus Adapter :(

              host.orangepizero	2020-10-06 19:18:19.269	info	Rebuild for adapter system.adapter.mbus.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
              host.orangepizero	2020-10-06 19:18:19.268	error	instance system.adapter.mbus.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              host.orangepizero	2020-10-06 19:18:19.267	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:985:32)
              host.orangepizero	2020-10-06 19:18:19.267	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
              host.orangepizero	2020-10-06 19:18:19.266	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1137:30)
              host.orangepizero	2020-10-06 19:18:19.266	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-mbus/index.js:7:38)
              host.orangepizero	2020-10-06 19:18:19.265	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/node-mbus/node_modules/bindings/bindings.js:112:48)
              host.orangepizero	2020-10-06 19:18:19.264	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
              host.orangepizero	2020-10-06 19:18:19.264	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1025:19)
              host.orangepizero	2020-10-06 19:18:19.263	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:878:14)
              host.orangepizero	2020-10-06 19:18:19.263	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:985:32)
              host.orangepizero	2020-10-06 19:18:19.262	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1187:18)
              host.orangepizero	2020-10-06 19:18:19.261	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
              host.orangepizero	2020-10-06 19:18:19.261	error	Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
              host.orangepizero	2020-10-06 19:18:19.260	error	Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires
              host.orangepizero	2020-10-06 19:18:19.259	error	Caught by controller[0]: was compiled against a different Node.js version using
              host.orangepizero	2020-10-06 19:18:19.258	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/node-mbus/build/Release/mbus.node'
              host.orangepizero	2020-10-06 19:18:19.257	error	Caught by controller[0]: ^
              host.orangepizero	2020-10-06 19:18:19.255	error	Caught by controller[0]: throw e;
              host.orangepizero	2020-10-06 19:18:19.252	error	Caught by controller[0]: /opt/iobroker/node_modules/node-mbus/node_modules/bindings/bindings.js:121
              host.orangepizero	2020-10-06 19:18:17.692	info	instance system.adapter.mbus.0 started with pid 1919
              
              GlasfaserG Offline
              GlasfaserG Offline
              Glasfaser
              schrieb am zuletzt editiert von
              #32

              @Habedere sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

              Caught by controller[0]: the module (for instance, using npm rebuild or npm install).

              cd /opt/iobroker
              
              npm rebuild
              

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

              Thomas BraunT H 2 Antworten Letzte Antwort
              0
              • GlasfaserG Glasfaser

                @Habedere sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                Caught by controller[0]: the module (for instance, using npm rebuild or npm install).

                cd /opt/iobroker
                
                npm rebuild
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #33

                @Glasfaser

                iobroker rebuild mbus
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                GlasfaserG H 2 Antworten Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @Glasfaser

                  iobroker rebuild mbus
                  
                  GlasfaserG Offline
                  GlasfaserG Offline
                  Glasfaser
                  schrieb am zuletzt editiert von
                  #34

                  @Thomas-Braun
                  ...ja ... eigentlich wird es auch selbst behoben ..
                  . wollte aber sicher gehen und alles nochmal per "npm rebuild" durchführen lassen .

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

                  1 Antwort Letzte Antwort
                  0
                  • GlasfaserG Glasfaser

                    @Habedere sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                    Caught by controller[0]: the module (for instance, using npm rebuild or npm install).

                    cd /opt/iobroker
                    
                    npm rebuild
                    
                    H Offline
                    H Offline
                    Habedere
                    schrieb am zuletzt editiert von
                    #35

                    @Glasfaser sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                    @Habedere sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                    Caught by controller[0]: the module (for instance, using npm rebuild or npm install).

                    cd /opt/iobroker
                    
                    npm rebuild
                    
                    /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in d                                                                                             efinition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call                                                                                             (int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                       data->callback.Call(2, argv);
                                                  ^
                    In file included from ../src/./serialport.h:6:0,
                                     from ../src/serialport.cpp:1:
                    ../../nan/nan.h:1674:3: note: declared here
                       Call(int argc, v8::Local<v8::Value> argv[]) const {
                       ^~~~
                    ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                    ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call                                                                                             (int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                       data->callback.Call(1, argv);
                                                  ^
                    In file included from ../src/./serialport.h:6:0,
                                     from ../src/serialport.cpp:1:
                    ../../nan/nan.h:1674:3: note: declared here
                       Call(int argc, v8::Local<v8::Value> argv[]) const {
                       ^~~~
                    ../src/serialport.cpp: At global scope:
                    ../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
                       void init(v8::Handle<v8::Object> target) {
                                     ^~~~~~
                    ../src/serialport.cpp:460:13: error: ‘Handle’ is not a member of ‘v8’
                       void init(v8::Handle<v8::Object> target) {
                                 ^~
                    ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ toke                                                                                             n
                       void init(v8::Handle<v8::Object> target) {
                                                      ^
                    ../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
                       void init(v8::Handle<v8::Object> target) {
                                                        ^~~~~~
                    In file included from ../../nan/nan.h:53:0,
                                     from ../src/./serialport.h:6,
                                     from ../src/serialport.cpp:1:
                    ../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
                     NODE_MODULE(serialport, init);
                                             ^
                    /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in defi                                                                                             nition of macro ‘NODE_MODULE_X’
                           (node::addon_register_func) (regfunc),                          \
                                                        ^~~~~~~
                    ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(serialport, init);
                     ^~~~~~~~~~~
                    serialport.target.mk:112: recipe for target 'Release/obj.target/serialport/src/s                                                                                             erialport.o' failed
                    make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
                    make: Leaving directory '/opt/iobroker/node_modules/iobroker.discovery/node_modu                                                                                             les/serialport/build'
                    gyp ERR! build error
                    gyp ERR! stack Error: `make` failed with exit code: 2
                    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module                                                                                             s/node-gyp/lib/build.js:194:23)
                    gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                             s.js:275:12)
                    gyp ERR! System Linux 4.19.13-sunxi
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                                                                                             p/bin/node-gyp.js" "rebuild"
                    gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialpo                                                                                             rt
                    gyp ERR! node -v v12.18.4
                    gyp ERR! node-gyp -v v5.1.0
                    gyp ERR! not ok
                    npm ERR! code ELIFECYCLE
                    npm ERR! errno 1
                    npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
                    npm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the serialport@6.2.2 install script.
                    npm ERR! This is probably not a problem with npm. There is likely additional log                                                                                             ging output above.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2020-10-06T19_31_30_970Z-debug.log
                    
                    
                    GlasfaserG 1 Antwort Letzte Antwort
                    0
                    • H Habedere

                      @Glasfaser sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                      @Habedere sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                      Caught by controller[0]: the module (for instance, using npm rebuild or npm install).

                      cd /opt/iobroker
                      
                      npm rebuild
                      
                      /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in d                                                                                             efinition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call                                                                                             (int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                         data->callback.Call(2, argv);
                                                    ^
                      In file included from ../src/./serialport.h:6:0,
                                       from ../src/serialport.cpp:1:
                      ../../nan/nan.h:1674:3: note: declared here
                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                         ^~~~
                      ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                      ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call                                                                                             (int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                         data->callback.Call(1, argv);
                                                    ^
                      In file included from ../src/./serialport.h:6:0,
                                       from ../src/serialport.cpp:1:
                      ../../nan/nan.h:1674:3: note: declared here
                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                         ^~~~
                      ../src/serialport.cpp: At global scope:
                      ../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
                         void init(v8::Handle<v8::Object> target) {
                                       ^~~~~~
                      ../src/serialport.cpp:460:13: error: ‘Handle’ is not a member of ‘v8’
                         void init(v8::Handle<v8::Object> target) {
                                   ^~
                      ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ toke                                                                                             n
                         void init(v8::Handle<v8::Object> target) {
                                                        ^
                      ../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
                         void init(v8::Handle<v8::Object> target) {
                                                          ^~~~~~
                      In file included from ../../nan/nan.h:53:0,
                                       from ../src/./serialport.h:6,
                                       from ../src/serialport.cpp:1:
                      ../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
                       NODE_MODULE(serialport, init);
                                               ^
                      /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in defi                                                                                             nition of macro ‘NODE_MODULE_X’
                             (node::addon_register_func) (regfunc),                          \
                                                          ^~~~~~~
                      ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                       NODE_MODULE(serialport, init);
                       ^~~~~~~~~~~
                      serialport.target.mk:112: recipe for target 'Release/obj.target/serialport/src/s                                                                                             erialport.o' failed
                      make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
                      make: Leaving directory '/opt/iobroker/node_modules/iobroker.discovery/node_modu                                                                                             les/serialport/build'
                      gyp ERR! build error
                      gyp ERR! stack Error: `make` failed with exit code: 2
                      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module                                                                                             s/node-gyp/lib/build.js:194:23)
                      gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                             s.js:275:12)
                      gyp ERR! System Linux 4.19.13-sunxi
                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                                                                                             p/bin/node-gyp.js" "rebuild"
                      gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialpo                                                                                             rt
                      gyp ERR! node -v v12.18.4
                      gyp ERR! node-gyp -v v5.1.0
                      gyp ERR! not ok
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 1
                      npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
                      npm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the serialport@6.2.2 install script.
                      npm ERR! This is probably not a problem with npm. There is likely additional log                                                                                             ging output above.
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2020-10-06T19_31_30_970Z-debug.log
                      
                      
                      GlasfaserG Offline
                      GlasfaserG Offline
                      Glasfaser
                      schrieb am zuletzt editiert von
                      #36

                      @Habedere

                      installiere ihn neu :

                      1.JPG

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

                      H 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @Glasfaser

                        iobroker rebuild mbus
                        
                        H Offline
                        H Offline
                        Habedere
                        schrieb am zuletzt editiert von
                        #37

                        @Thomas-Braun sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                        @Glasfaser

                        iobroker rebuild mbus
                        
                        root@orangepizero:/opt/iobroker# iobroker rebuild mbus
                        npm rebuild --loglevel error (System call) in "/opt/iobroker/node_modules/iobroker.mbus"
                        In file included from ../../nan/nan_converters.h:67:0,
                                         from ../../nan/nan.h:221,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
                        ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
                               val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                                           ^
                        ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
                         X(Boolean)
                         ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2664:59: note: declared here
                                         V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                                                   ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from ../../nan/nan_converters.h:67:0,
                                         from ../../nan/nan.h:221,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
                        ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
                           return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                                                 ^
                        ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
                         X(bool, Boolean)
                         ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2702:51: note: declared here
                                         V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                           ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from ../../nan/nan_new.h:189:0,
                                         from ../../nan/nan.h:222,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
                        ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                                   , obj));
                                                        ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
                           static MaybeLocal<Function> New(
                                                       ^~~
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
                        ../../nan/nan.h:1064:78: warning: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                                                      ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2684:31: note: declared here
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
                        ../../nan/nan.h:1855:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                                                                                        ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                         bool Set(Local<Value> key, Local<Value> value));
                                              ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
                        ../../nan/nan.h:1861:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             New(persistentHandle)->Set(key, value);
                                                                  ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                         bool Set(Local<Value> key, Local<Value> value));
                                              ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
                        ../../nan/nan.h:1867:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             New(persistentHandle)->Set(index, value);
                                                                    ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3508:22: note: declared here
                                         bool Set(uint32_t index, Local<Value> value));
                                              ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
                        ../../nan/nan.h:1873:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                 New(persistentHandle)->Get(New(key).ToLocalChecked()));
                                                                                     ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here
                           V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                           ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
                        ../../nan/nan.h:1879:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             return scope.Escape(New(persistentHandle)->Get(key));
                                                                               ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here
                           V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                           ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
                        ../../nan/nan.h:1884:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             return scope.Escape(New(persistentHandle)->Get(index));
                                                                                 ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3557:51: note: declared here
                           V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                                           ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from /usr/include/c++/6/cassert:44:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node_object_wrap.h:26,
                                         from ../../nan/nan.h:54,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
                        ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                             assert(persistent().IsNearDeath());
                                                 ^
                        In file included from ../../nan/nan.h:2698:0,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
                        ../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
                             persistent().MarkIndependent();
                                                          ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:570:22: note: declared here
                               V8_INLINE void MarkIndependent());
                                              ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        In file included from /usr/include/c++/6/cassert:44:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node_object_wrap.h:26,
                                         from ../../nan/nan.h:54,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
                        ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                             assert(wrap->handle_.IsNearDeath());
                                                  ^
                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’
                           v8::String::Utf8Value path(info[0]->ToString());
                                                                        ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                           V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                    ^~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                         Local<String> ToString(Isolate* isolate) const);
                                                       ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’
                           v8::Local<v8::Object> options = info[1]->ToObject();
                                                                             ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                           V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                    ^~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                         Local<Object> ToObject(Isolate* isolate) const);
                                                       ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                         Local<Object> ToObject(Isolate* isolate) const);
                                                       ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                        ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                           data->callback.Call(2, argv);
                                                      ^
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h:1655:3: note: declared here
                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                           ^~~~
                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’
                           v8::Local<v8::Object> options = info[1]->ToObject();
                                                                             ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                           V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                    ^~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                         Local<Object> ToObject(Isolate* isolate) const);
                                                       ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                         Local<Object> ToObject(Isolate* isolate) const);
                                                       ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
                        ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                           data->callback.Call(1, argv);
                                                      ^
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h:1655:3: note: declared here
                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                           ^~~~
                        ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
                        ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                           data->callback.Call(1, argv);
                                                      ^
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h:1655:3: note: declared here
                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                           ^~~~
                        ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
                        ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                           data->callback.Call(1, argv);
                                                      ^
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h:1655:3: note: declared here
                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                           ^~~~
                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’
                           v8::Local<v8::Object> options = info[1]->ToObject();
                                                                             ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                           V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                    ^~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                         Local<Object> ToObject(Isolate* isolate) const);
                                                       ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                         Local<Object> ToObject(Isolate* isolate) const);
                                                       ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
                        ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                           data->callback.Call(1, argv);
                                                      ^
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h:1655:3: note: declared here
                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                           ^~~~
                        ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                        ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                                                        ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                         bool Set(Local<Value> key, Local<Value> value));
                                              ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                                                        ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                         bool Set(Local<Value> key, Local<Value> value));
                                              ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                                                        ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                         bool Set(Local<Value> key, Local<Value> value));
                                              ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                           data->callback.Call(2, argv);
                                                      ^
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h:1655:3: note: declared here
                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                           ^~~~
                        ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                        ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                                                                  ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                         bool Set(Local<Value> key, Local<Value> value));
                                              ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                           declarator __attribute__((deprecated(message)))
                           ^~~~~~~~~~
                        ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                           data->callback.Call(2, argv);
                                                      ^
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h:1655:3: note: declared here
                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                           ^~~~
                        ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                        ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                           data->callback.Call(1, argv);
                                                      ^
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h:1655:3: note: declared here
                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                           ^~~~
                        ../src/serialport.cpp: At global scope:
                        ../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
                           void init(v8::Handle<v8::Object> target) {
                                         ^~~~~~
                        ../src/serialport.cpp:460:13: error: ‘Handle’ is not a member of ‘v8’
                           void init(v8::Handle<v8::Object> target) {
                                     ^~
                        ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token
                           void init(v8::Handle<v8::Object> target) {
                                                          ^
                        ../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
                           void init(v8::Handle<v8::Object> target) {
                                                            ^~~~~~
                        In file included from ../../nan/nan.h:52:0,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        ../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
                         NODE_MODULE(serialport, init);
                                                 ^
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                               (node::addon_register_func) (regfunc),                          \
                                                            ^~~~~~~
                        ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                         NODE_MODULE(serialport, init);
                         ^~~~~~~~~~~
                        make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
                        gyp ERR! build error
                        gyp ERR! stack Error: `make` failed with exit code: 2
                        gyp ERR! 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:315:20)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                        gyp ERR! System Linux 4.19.13-sunxi
                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.mbus/node_modules/serialport
                        gyp ERR! node -v v12.18.4
                        gyp ERR! node-gyp -v v5.1.0
                        gyp ERR! not ok
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
                        npm ERR! Exit status 1
                        npm ERR!
                        npm ERR! Failed at the serialport@6.2.2 install 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-10-06T19_36_22_957Z-debug.log
                        
                        Rebuild mbus done
                        root@orangepizero:/opt/iobroker# root@orangepizero:/opt/iobroker# iobroker rebuild mbus
                        In file included from ../../nan/nan_converters.h:67:0,
                                         from ../../nan/nan.h:221,
                                         from ../src/./serialport.h:6,
                        -bash: root@orangepizero:/opt/iobroker#: No such file or directory
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
                        ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
                               val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                                           ^
                        ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
                         X(Boolean)
                         ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                         from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2664:59: note: declared here
                                         V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                        root@orangepizero:/opt/iobroker# npm rebuild --loglevel error (System call) in "/opt/iobroker/node_modules/iobroker.mbus"
                           return val->NAME ## Value(isolate->GetCurrentContext());                     \
                        -bash: syntax error near unexpected token `('
                                                                                 ^
                        ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
                         X(bool, Boolean)
                         ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                        root@orangepizero:/opt/iobroker# In file included from ../../nan/nan_converters.h:67:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:221,
                        from: can't read /var/mail/../../nan/nan.h:221,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#        val->To ## TYPE(isolate->GetCurrentContext())                            \
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
                        ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                                   , obj));
                                                        ^
                        In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                         from ../../nan/nan.h:52,
                                         from ../src/./serialport.h:6,
                                         from ../src/serialport.cpp:1:
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
                           static MaybeLocal<Function> New(
                                                       ^~~
                        /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
                        In file included from ../src/./serialport.h:6:0,
                                         from ../src/serialport.cpp:1:
                        ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8val-: command not found
                        root@orangepizero:/opt/iobroker#                                                    ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
                        -bash: ../../nan/nan_converters_43_inl.h:22:1:: No such file or directory
                        root@orangepizero:/opt/iobroker#  X(Boolean)
                        -bash: syntax error near unexpected token `Boolean'
                        root@orangepizero:/opt/iobroker#  ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                        from: can't read /var/mail/../../nan/nan.h:52,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2664:59: note: declared here
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2664:59:: No such file or directory
                        root@orangepizero:/opt/iobroker#                  V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#                                                            ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                        root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^~~~~~~~~~: command not found
                        root@orangepizero:/opt/iobroker# In file included from ../../nan/nan_converters.h:67:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:221,
                        from: can't read /var/mail/../../nan/nan.h:221,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#    return val->NAME ## Value(isolate->GetCurrentContext());                     \
                        -bash: return: val-: numeric argument required
                        -bash: return: can only `return' from a function or sourced script
                        root@orangepizero:/opt/iobroker#                                                          ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
                        -bash: ../../nan/nan_converters_43_inl.h:40:1:: No such file or directory
                        root@orangepizero:/opt/iobroker#  X(bool, Boolean)
                        -bash: syntax error near unexpected token `bool,'
                        root@orangepizero:/opt/iobroker#  ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                        from: can't read /var/mail/../../nan/nan.h:52,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2702:51: note: declared here
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2702:51:: No such file or directory
                        root@orangepizero:/opt/iobroker#                  V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#                                                    ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                        root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^~~~~~~~~~: command not found
                        root@orangepizero:/opt/iobroker# In file included from ../../nan/nan_new.h:189:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:222,
                        from: can't read /var/mail/../../nan/nan.h:222,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker# ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#                            , obj));
                        -bash: syntax error near unexpected token `)'
                        root@orangepizero:/opt/iobroker#                                 ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                        from: can't read /var/mail/../../nan/nan.h:52,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#    static MaybeLocal<Function> New(
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#                                ^~~
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^~~: command not found
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
                        -bash: v8::Context: No such file or directory
                        root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h:1064:78: warning: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#        v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#                                                                               ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                        from: can't read /var/mail/../../nan/nan.h:52,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2684:31: note: declared here
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2684:31:: No such file or directory
                        root@orangepizero:/opt/iobroker#                  Local<String> ToString(Isolate* isolate) const);
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#                                ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                        root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^~~~~~~~~~: command not found
                        root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h:1855:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#      New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                        -bash: syntax error near unexpected token `persistentHandle'
                        root@orangepizero:/opt/iobroker#                                                                 ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                        from: can't read /var/mail/../../nan/nan.h:52,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22:: No such file or directory
                        root@orangepizero:/opt/iobroker#                  bool Set(Local<Value> key, Local<Value> value));
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#                       ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                        root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^~~~~~~~~~: command not found
                        root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h:1861:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#      New(persistentHandle)->Set(key, value);
                        -bash: syntax error near unexpected token `persistentHandle'
                        root@orangepizero:/opt/iobroker#                                           ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                        from: can't read /var/mail/../../nan/nan.h:52,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22:: No such file or directory
                        root@orangepizero:/opt/iobroker#                  bool Set(Local<Value> key, Local<Value> value));
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#                       ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                        root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^~~~~~~~~~: command not found
                        root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h:1867:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#      New(persistentHandle)->Set(index, value);
                        -bash: syntax error near unexpected token `persistentHandle'
                        root@orangepizero:/opt/iobroker#                                             ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                        from: can't read /var/mail/../../nan/nan.h:52,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3508:22: note: declared here
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3508:22:: No such file or directory
                        root@orangepizero:/opt/iobroker#                  bool Set(uint32_t index, Local<Value> value));
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#                       ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                        root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^~~~~~~~~~: command not found
                        root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h:1873:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#          New(persistentHandle)->Get(New(key).ToLocalChecked()));
                        -bash: syntax error near unexpected token `persistentHandle'
                        root@orangepizero:/opt/iobroker#                                                              ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                        root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                        root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                        from: can't read /var/mail/../../nan/nan.h:52,
                        root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                        from: can't read /var/mail/../src/./serialport.h:6,
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51:: No such file or directory
                        root@orangepizero:/opt/iobroker#    V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                        -bash: syntax error near unexpected token `"Use maybe version",'
                        root@orangepizero:/opt/iobroker#                                                    ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                        -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                        root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^~~~~~~~~~: command not found
                        root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        In: command not found
                        root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                        from: can't read /var/mail/../src/serialport.cpp:1:
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker# ../../nan/nan.h:1879:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#      return scope.Escape(New(persistentHandle)->Get(key));
                        -bash: syntax error near unexpected token `('
                        root@orangepizero:/opt/iobroker#                                                        ^
                        Could not find the database of available applications, run update-command-not-found as root to fix this
                        ^: command not found
                        root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-inter
                        
                        

                        selbes spiel in grün...

                        GlasfaserG 1 Antwort Letzte Antwort
                        0
                        • H Habedere

                          @Thomas-Braun sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                          @Glasfaser

                          iobroker rebuild mbus
                          
                          root@orangepizero:/opt/iobroker# iobroker rebuild mbus
                          npm rebuild --loglevel error (System call) in "/opt/iobroker/node_modules/iobroker.mbus"
                          In file included from ../../nan/nan_converters.h:67:0,
                                           from ../../nan/nan.h:221,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
                          ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
                                 val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                                             ^
                          ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
                           X(Boolean)
                           ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2664:59: note: declared here
                                           V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                                                     ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          In file included from ../../nan/nan_converters.h:67:0,
                                           from ../../nan/nan.h:221,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
                          ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
                             return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                                                   ^
                          ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
                           X(bool, Boolean)
                           ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2702:51: note: declared here
                                           V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                             ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          In file included from ../../nan/nan_new.h:189:0,
                                           from ../../nan/nan.h:222,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
                          ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                                     , obj));
                                                          ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
                             static MaybeLocal<Function> New(
                                                         ^~~
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
                          ../../nan/nan.h:1064:78: warning: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                 v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                                                        ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2684:31: note: declared here
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
                          ../../nan/nan.h:1855:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                                                                                          ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                           bool Set(Local<Value> key, Local<Value> value));
                                                ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
                          ../../nan/nan.h:1861:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               New(persistentHandle)->Set(key, value);
                                                                    ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                           bool Set(Local<Value> key, Local<Value> value));
                                                ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
                          ../../nan/nan.h:1867:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               New(persistentHandle)->Set(index, value);
                                                                      ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3508:22: note: declared here
                                           bool Set(uint32_t index, Local<Value> value));
                                                ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
                          ../../nan/nan.h:1873:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                   New(persistentHandle)->Get(New(key).ToLocalChecked()));
                                                                                       ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here
                             V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                             ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
                          ../../nan/nan.h:1879:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               return scope.Escape(New(persistentHandle)->Get(key));
                                                                                 ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here
                             V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                             ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
                          ../../nan/nan.h:1884:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               return scope.Escape(New(persistentHandle)->Get(index));
                                                                                   ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3557:51: note: declared here
                             V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                                             ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          In file included from /usr/include/c++/6/cassert:44:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node_object_wrap.h:26,
                                           from ../../nan/nan.h:54,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
                          ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                               assert(persistent().IsNearDeath());
                                                   ^
                          In file included from ../../nan/nan.h:2698:0,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
                          ../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
                               persistent().MarkIndependent();
                                                            ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:570:22: note: declared here
                                 V8_INLINE void MarkIndependent());
                                                ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          In file included from /usr/include/c++/6/cassert:44:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node_object_wrap.h:26,
                                           from ../../nan/nan.h:54,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
                          ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                               assert(wrap->handle_.IsNearDeath());
                                                    ^
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’
                             v8::String::Utf8Value path(info[0]->ToString());
                                                                          ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                             V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                      ^~~~~~~~
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                           Local<String> ToString(Isolate* isolate) const);
                                                         ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’
                             v8::Local<v8::Object> options = info[1]->ToObject();
                                                                               ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                             V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                      ^~~~~~~~
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                           Local<Object> ToObject(Isolate* isolate) const);
                                                         ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                           Local<Object> ToObject(Isolate* isolate) const);
                                                         ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                          ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                             data->callback.Call(2, argv);
                                                        ^
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h:1655:3: note: declared here
                             Call(int argc, v8::Local<v8::Value> argv[]) const {
                             ^~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’
                             v8::Local<v8::Object> options = info[1]->ToObject();
                                                                               ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                             V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                      ^~~~~~~~
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                           Local<Object> ToObject(Isolate* isolate) const);
                                                         ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                           Local<Object> ToObject(Isolate* isolate) const);
                                                         ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
                          ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                             data->callback.Call(1, argv);
                                                        ^
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h:1655:3: note: declared here
                             Call(int argc, v8::Local<v8::Value> argv[]) const {
                             ^~~~
                          ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
                          ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                             data->callback.Call(1, argv);
                                                        ^
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h:1655:3: note: declared here
                             Call(int argc, v8::Local<v8::Value> argv[]) const {
                             ^~~~
                          ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
                          ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                             data->callback.Call(1, argv);
                                                        ^
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h:1655:3: note: declared here
                             Call(int argc, v8::Local<v8::Value> argv[]) const {
                             ^~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’
                             v8::Local<v8::Object> options = info[1]->ToObject();
                                                                               ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                             V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                      ^~~~~~~~
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                           Local<Object> ToObject(Isolate* isolate) const);
                                                         ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                           Local<Object> ToObject(Isolate* isolate) const);
                                                         ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
                          ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                             data->callback.Call(1, argv);
                                                        ^
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h:1655:3: note: declared here
                             Call(int argc, v8::Local<v8::Value> argv[]) const {
                             ^~~~
                          ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                          ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                                                          ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                           bool Set(Local<Value> key, Local<Value> value));
                                                ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                                                          ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                           bool Set(Local<Value> key, Local<Value> value));
                                                ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                                                          ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                           bool Set(Local<Value> key, Local<Value> value));
                                                ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                             data->callback.Call(2, argv);
                                                        ^
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h:1655:3: note: declared here
                             Call(int argc, v8::Local<v8::Value> argv[]) const {
                             ^~~~
                          ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                          ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                                                                    ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                                           bool Set(Local<Value> key, Local<Value> value));
                                                ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                             declarator __attribute__((deprecated(message)))
                             ^~~~~~~~~~
                          ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                             data->callback.Call(2, argv);
                                                        ^
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h:1655:3: note: declared here
                             Call(int argc, v8::Local<v8::Value> argv[]) const {
                             ^~~~
                          ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                          ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                             data->callback.Call(1, argv);
                                                        ^
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h:1655:3: note: declared here
                             Call(int argc, v8::Local<v8::Value> argv[]) const {
                             ^~~~
                          ../src/serialport.cpp: At global scope:
                          ../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
                             void init(v8::Handle<v8::Object> target) {
                                           ^~~~~~
                          ../src/serialport.cpp:460:13: error: ‘Handle’ is not a member of ‘v8’
                             void init(v8::Handle<v8::Object> target) {
                                       ^~
                          ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token
                             void init(v8::Handle<v8::Object> target) {
                                                            ^
                          ../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
                             void init(v8::Handle<v8::Object> target) {
                                                              ^~~~~~
                          In file included from ../../nan/nan.h:52:0,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          ../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
                           NODE_MODULE(serialport, init);
                                                   ^
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                                 (node::addon_register_func) (regfunc),                          \
                                                              ^~~~~~~
                          ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                           NODE_MODULE(serialport, init);
                           ^~~~~~~~~~~
                          make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
                          gyp ERR! build error
                          gyp ERR! stack Error: `make` failed with exit code: 2
                          gyp ERR! 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:315:20)
                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                          gyp ERR! System Linux 4.19.13-sunxi
                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.mbus/node_modules/serialport
                          gyp ERR! node -v v12.18.4
                          gyp ERR! node-gyp -v v5.1.0
                          gyp ERR! not ok
                          npm ERR! code ELIFECYCLE
                          npm ERR! errno 1
                          npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
                          npm ERR! Exit status 1
                          npm ERR!
                          npm ERR! Failed at the serialport@6.2.2 install 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-10-06T19_36_22_957Z-debug.log
                          
                          Rebuild mbus done
                          root@orangepizero:/opt/iobroker# root@orangepizero:/opt/iobroker# iobroker rebuild mbus
                          In file included from ../../nan/nan_converters.h:67:0,
                                           from ../../nan/nan.h:221,
                                           from ../src/./serialport.h:6,
                          -bash: root@orangepizero:/opt/iobroker#: No such file or directory
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
                          ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
                                 val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                                             ^
                          ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
                           X(Boolean)
                           ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                                           from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2664:59: note: declared here
                                           V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                          root@orangepizero:/opt/iobroker# npm rebuild --loglevel error (System call) in "/opt/iobroker/node_modules/iobroker.mbus"
                             return val->NAME ## Value(isolate->GetCurrentContext());                     \
                          -bash: syntax error near unexpected token `('
                                                                                   ^
                          ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
                           X(bool, Boolean)
                           ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                          root@orangepizero:/opt/iobroker# In file included from ../../nan/nan_converters.h:67:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:221,
                          from: can't read /var/mail/../../nan/nan.h:221,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#        val->To ## TYPE(isolate->GetCurrentContext())                            \
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
                          ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                                     , obj));
                                                          ^
                          In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                                           from ../../nan/nan.h:52,
                                           from ../src/./serialport.h:6,
                                           from ../src/serialport.cpp:1:
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
                             static MaybeLocal<Function> New(
                                                         ^~~
                          /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
                          In file included from ../src/./serialport.h:6:0,
                                           from ../src/serialport.cpp:1:
                          ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8val-: command not found
                          root@orangepizero:/opt/iobroker#                                                    ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
                          -bash: ../../nan/nan_converters_43_inl.h:22:1:: No such file or directory
                          root@orangepizero:/opt/iobroker#  X(Boolean)
                          -bash: syntax error near unexpected token `Boolean'
                          root@orangepizero:/opt/iobroker#  ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                          from: can't read /var/mail/../../nan/nan.h:52,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2664:59: note: declared here
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2664:59:: No such file or directory
                          root@orangepizero:/opt/iobroker#                  V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#                                                            ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                          root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^~~~~~~~~~: command not found
                          root@orangepizero:/opt/iobroker# In file included from ../../nan/nan_converters.h:67:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:221,
                          from: can't read /var/mail/../../nan/nan.h:221,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#    return val->NAME ## Value(isolate->GetCurrentContext());                     \
                          -bash: return: val-: numeric argument required
                          -bash: return: can only `return' from a function or sourced script
                          root@orangepizero:/opt/iobroker#                                                          ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
                          -bash: ../../nan/nan_converters_43_inl.h:40:1:: No such file or directory
                          root@orangepizero:/opt/iobroker#  X(bool, Boolean)
                          -bash: syntax error near unexpected token `bool,'
                          root@orangepizero:/opt/iobroker#  ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                          from: can't read /var/mail/../../nan/nan.h:52,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2702:51: note: declared here
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2702:51:: No such file or directory
                          root@orangepizero:/opt/iobroker#                  V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#                                                    ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                          root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^~~~~~~~~~: command not found
                          root@orangepizero:/opt/iobroker# In file included from ../../nan/nan_new.h:189:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:222,
                          from: can't read /var/mail/../../nan/nan.h:222,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker# ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#                            , obj));
                          -bash: syntax error near unexpected token `)'
                          root@orangepizero:/opt/iobroker#                                 ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                          from: can't read /var/mail/../../nan/nan.h:52,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#    static MaybeLocal<Function> New(
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#                                ^~~
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^~~: command not found
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
                          -bash: v8::Context: No such file or directory
                          root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h:1064:78: warning: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#        v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#                                                                               ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                          from: can't read /var/mail/../../nan/nan.h:52,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2684:31: note: declared here
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2684:31:: No such file or directory
                          root@orangepizero:/opt/iobroker#                  Local<String> ToString(Isolate* isolate) const);
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#                                ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                          root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^~~~~~~~~~: command not found
                          root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h:1855:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#      New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                          -bash: syntax error near unexpected token `persistentHandle'
                          root@orangepizero:/opt/iobroker#                                                                 ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                          from: can't read /var/mail/../../nan/nan.h:52,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22:: No such file or directory
                          root@orangepizero:/opt/iobroker#                  bool Set(Local<Value> key, Local<Value> value));
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#                       ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                          root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^~~~~~~~~~: command not found
                          root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h:1861:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#      New(persistentHandle)->Set(key, value);
                          -bash: syntax error near unexpected token `persistentHandle'
                          root@orangepizero:/opt/iobroker#                                           ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                          from: can't read /var/mail/../../nan/nan.h:52,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22: note: declared here
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3499:22:: No such file or directory
                          root@orangepizero:/opt/iobroker#                  bool Set(Local<Value> key, Local<Value> value));
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#                       ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                          root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^~~~~~~~~~: command not found
                          root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h:1867:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#      New(persistentHandle)->Set(index, value);
                          -bash: syntax error near unexpected token `persistentHandle'
                          root@orangepizero:/opt/iobroker#                                             ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                          from: can't read /var/mail/../../nan/nan.h:52,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3508:22: note: declared here
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3508:22:: No such file or directory
                          root@orangepizero:/opt/iobroker#                  bool Set(uint32_t index, Local<Value> value));
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#                       ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                          root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^~~~~~~~~~: command not found
                          root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h:1873:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#          New(persistentHandle)->Get(New(key).ToLocalChecked()));
                          -bash: syntax error near unexpected token `persistentHandle'
                          root@orangepizero:/opt/iobroker#                                                              ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,
                          root@orangepizero:/opt/iobroker#                  from /home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          from: can't read /var/mail//home/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,
                          root@orangepizero:/opt/iobroker#                  from ../../nan/nan.h:52,
                          from: can't read /var/mail/../../nan/nan.h:52,
                          root@orangepizero:/opt/iobroker#                  from ../src/./serialport.h:6,
                          from: can't read /var/mail/../src/./serialport.h:6,
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51:: No such file or directory
                          root@orangepizero:/opt/iobroker#    V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                          -bash: syntax error near unexpected token `"Use maybe version",'
                          root@orangepizero:/opt/iobroker#                                                    ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                          -bash: /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8config.h:328:3:: No such file or directory
                          root@orangepizero:/opt/iobroker#    declarator __attribute__((deprecated(message)))
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#    ^~~~~~~~~~
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^~~~~~~~~~: command not found
                          root@orangepizero:/opt/iobroker# In file included from ../src/./serialport.h:6:0,
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          In: command not found
                          root@orangepizero:/opt/iobroker#                  from ../src/serialport.cpp:1:
                          from: can't read /var/mail/../src/serialport.cpp:1:
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker# ../../nan/nan.h:1879:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#      return scope.Escape(New(persistentHandle)->Get(key));
                          -bash: syntax error near unexpected token `('
                          root@orangepizero:/opt/iobroker#                                                        ^
                          Could not find the database of available applications, run update-command-not-found as root to fix this
                          ^: command not found
                          root@orangepizero:/opt/iobroker# In file included from /home/iobroker/.cache/node-gyp/12.18.4/include/node/v8-inter
                          
                          

                          selbes spiel in grün...

                          GlasfaserG Offline
                          GlasfaserG Offline
                          Glasfaser
                          schrieb am zuletzt editiert von
                          #38

                          @Habedere

                          siehe über dein Beitrag !

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

                          1 Antwort Letzte Antwort
                          0
                          • GlasfaserG Glasfaser

                            @Habedere

                            installiere ihn neu :

                            1.JPG

                            H Offline
                            H Offline
                            Habedere
                            schrieb am zuletzt editiert von
                            #39

                            @Glasfaser sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                            @Habedere

                            installiere ihn neu :

                            1.JPG

                            alles klar - ich probiers...

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • H Habedere

                              @Glasfaser sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                              @Habedere

                              installiere ihn neu :

                              1.JPG

                              alles klar - ich probiers...

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #40

                              @Habedere

                              root@orangepizero
                              

                              Bitte nicht als root anmelden. Da läuft doch bestimmt das debian-artiges?

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              H 2 Antworten Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @Habedere

                                root@orangepizero
                                

                                Bitte nicht als root anmelden. Da läuft doch bestimmt das debian-artiges?

                                H Offline
                                H Offline
                                Habedere
                                schrieb am zuletzt editiert von
                                #41

                                @Thomas-Braun sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                                @Habedere

                                root@orangepizero
                                

                                Bitte nicht als root anmelden. Da läuft doch bestimmt das debian-artiges?

                                Welcome to ARMBIAN 5.69 stable Debian GNU/Linux 9 (stretch) 4.19.13-sunxi
                                System load: 1.46 0.55 0.20 Up time: 1 min
                                Memory usage: 39 % of 493MB IP: 192.168.178.4
                                CPU temp: 54°C
                                Usage of /: 8% of 29G

                                Hmm auf dem Orange bin ich so selten drauf - der ist nur für den Mbus da.

                                PS: Der Mbus Adapter läuft wieder :) THX @all

                                GlasfaserG Thomas BraunT 2 Antworten Letzte Antwort
                                0
                                • H Habedere

                                  @Thomas-Braun sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                                  @Habedere

                                  root@orangepizero
                                  

                                  Bitte nicht als root anmelden. Da läuft doch bestimmt das debian-artiges?

                                  Welcome to ARMBIAN 5.69 stable Debian GNU/Linux 9 (stretch) 4.19.13-sunxi
                                  System load: 1.46 0.55 0.20 Up time: 1 min
                                  Memory usage: 39 % of 493MB IP: 192.168.178.4
                                  CPU temp: 54°C
                                  Usage of /: 8% of 29G

                                  Hmm auf dem Orange bin ich so selten drauf - der ist nur für den Mbus da.

                                  PS: Der Mbus Adapter läuft wieder :) THX @all

                                  GlasfaserG Offline
                                  GlasfaserG Offline
                                  Glasfaser
                                  schrieb am zuletzt editiert von
                                  #42

                                  @Habedere sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                                  PS: Der Mbus Adapter läuft wieder

                                  sehr schön .... ;)

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

                                  1 Antwort Letzte Antwort
                                  0
                                  • H Habedere

                                    @Thomas-Braun sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                                    @Habedere

                                    root@orangepizero
                                    

                                    Bitte nicht als root anmelden. Da läuft doch bestimmt das debian-artiges?

                                    Welcome to ARMBIAN 5.69 stable Debian GNU/Linux 9 (stretch) 4.19.13-sunxi
                                    System load: 1.46 0.55 0.20 Up time: 1 min
                                    Memory usage: 39 % of 493MB IP: 192.168.178.4
                                    CPU temp: 54°C
                                    Usage of /: 8% of 29G

                                    Hmm auf dem Orange bin ich so selten drauf - der ist nur für den Mbus da.

                                    PS: Der Mbus Adapter läuft wieder :) THX @all

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #43

                                    @Habedere Auch selten meldet man sich nicht als root an. NIE ist die Devise.

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    H 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @Habedere Auch selten meldet man sich nicht als root an. NIE ist die Devise.

                                      H Offline
                                      H Offline
                                      Habedere
                                      schrieb am zuletzt editiert von
                                      #44

                                      @Thomas-Braun sagte in [HowTo] Nodejs-Installation und Upgrades unter Debian:

                                      @Habedere Auch selten meldet man sich nicht als root an. NIE ist die Devise.

                                      Du siehst - es fehlt an Grundlagen ;) Ich google mich von einer Anleitung zum nächsten Thread im Forum :)

                                      Das muss ich also mal als nächstes angehen :+1:

                                      1 Antwort Letzte Antwort
                                      0
                                      • C Offline
                                        C Offline
                                        cop2810
                                        schrieb am zuletzt editiert von
                                        #45

                                        Hallo Community , ich habe in Problem. Bin nu im raspberry Geschäft und habe nach der Anleitung oben gearbeitet bis ich folgenden Fehler bekam.
                                        Screenshot 2020-10-28 095112.jpg

                                        Was muss ich machen um das wieder glatt zu ziehen?

                                        VG
                                        Stephan

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • C cop2810

                                          Hallo Community , ich habe in Problem. Bin nu im raspberry Geschäft und habe nach der Anleitung oben gearbeitet bis ich folgenden Fehler bekam.
                                          Screenshot 2020-10-28 095112.jpg

                                          Was muss ich machen um das wieder glatt zu ziehen?

                                          VG
                                          Stephan

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #46

                                          @cop2810
                                          Bitte keine Screenshots sondern Text auch als Text (in CodeTags) ins Forum.
                                          Und bitte einen eigenen Thread eröffnen.

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          C 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          746

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe