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
    2.0k

  • 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

    @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
                            • Thomas BraunT Thomas Braun

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

                              C Offline
                              C Offline
                              cop2810
                              schrieb am zuletzt editiert von Negalein
                              #47

                              @Thomas-Braun Sorry, wusste nicht, dass das so geht.

                              Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                              permitted by applicable law.
                              Last login: Wed Oct 28 09:14:06 2020 from 192.168.178.70
                              pi@raspberrypi:~ $ iobroker stop
                              pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list.d/nodesource.list
                              pi@raspberrypi:~ $ apt update
                              Paketlisten werden gelesen... Fertig
                              N: Datei »nodesource.list.save.1« in Verzeichnis »/etc/apt/sources.list.d/« wird                                                                                                                                                              ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
                              E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13:                                                                                                                                                              Keine Berechtigung)
                              E: Das Verzeichnis /vDebian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                              permitted by applicable law.
                              Last login: Wed Oct 28 09:14:06 2020 from 192.168.178.70
                              pi@raspberrypi:~ $ iobroker stop
                              pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list.d/nodesource.list
                              pi@raspberrypi:~ $ apt update
                              Paketlisten werden gelesen... Fertig
                              N: Datei »nodesource.list.save.1« in Verzeichnis »/etc/apt/sources.list.d/« wird                                                                                                                                                              ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
                              E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13:                                                                                                                                                              Keine Berechtigung)
                              E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden.
                              W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - Remov                                                                                                                                                             eCaches (13: Keine Berechtigung)
                              W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - Re                                                                                                                                                             moveCaches (13: Keine Berechtigung)
                              
                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • C cop2810

                                @Thomas-Braun Sorry, wusste nicht, dass das so geht.

                                Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                permitted by applicable law.
                                Last login: Wed Oct 28 09:14:06 2020 from 192.168.178.70
                                pi@raspberrypi:~ $ iobroker stop
                                pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list.d/nodesource.list
                                pi@raspberrypi:~ $ apt update
                                Paketlisten werden gelesen... Fertig
                                N: Datei »nodesource.list.save.1« in Verzeichnis »/etc/apt/sources.list.d/« wird                                                                                                                                                              ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
                                E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13:                                                                                                                                                              Keine Berechtigung)
                                E: Das Verzeichnis /vDebian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                permitted by applicable law.
                                Last login: Wed Oct 28 09:14:06 2020 from 192.168.178.70
                                pi@raspberrypi:~ $ iobroker stop
                                pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list.d/nodesource.list
                                pi@raspberrypi:~ $ apt update
                                Paketlisten werden gelesen... Fertig
                                N: Datei »nodesource.list.save.1« in Verzeichnis »/etc/apt/sources.list.d/« wird                                                                                                                                                              ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
                                E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13:                                                                                                                                                              Keine Berechtigung)
                                E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden.
                                W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - Remov                                                                                                                                                             eCaches (13: Keine Berechtigung)
                                W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - Re                                                                                                                                                             moveCaches (13: Keine Berechtigung)
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #48

                                @cop2810 Bitte einen neuen Thread eröffnen.
                                Und da bitte CodeTags </> verwenden.

                                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

                                1 Antwort 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
                                  #49

                                  @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?

                                  So jetzt ist es mal wieder soweit... der Orange ist abgestürzt und kommt nicht mehr in die Pötte :(
                                  Wie kann ich mich denn mit einem non-Root Benutzer anmelden?
                                  FInde da nirgends was passendes :(

                                  Thomas BraunT 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?

                                    So jetzt ist es mal wieder soweit... der Orange ist abgestürzt und kommt nicht mehr in die Pötte :(
                                    Wie kann ich mich denn mit einem non-Root Benutzer anmelden?
                                    FInde da nirgends was passendes :(

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

                                    @Habedere Bitte einen eigenen Thread eröffnen. Das hat mit node nichts zu tun.

                                    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

                                    O 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @Habedere Bitte einen eigenen Thread eröffnen. Das hat mit node nichts zu tun.

                                      O Online
                                      O Online
                                      Oli
                                      schrieb am zuletzt editiert von
                                      #51

                                      @Thomas-Braun

                                      super Anleitung, vielen Dank dafür, aber jetzt meine Frage, kann ich Nodejs auch auf einer Dockerinstallation updaten?

                                      Mein ioBroker läuft als Docker auf einer Qnap und bis jetzt sind alles Versuche kläglich gescheitert, mit der Meldung, dass die aktuellste Version schon installiert sei.

                                      Gruß
                                      Oliver

                                      Thomas BraunT NegaleinN 2 Antworten Letzte Antwort
                                      0
                                      • O Oli

                                        @Thomas-Braun

                                        super Anleitung, vielen Dank dafür, aber jetzt meine Frage, kann ich Nodejs auch auf einer Dockerinstallation updaten?

                                        Mein ioBroker läuft als Docker auf einer Qnap und bis jetzt sind alles Versuche kläglich gescheitert, mit der Meldung, dass die aktuellste Version schon installiert sei.

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

                                        @Oli
                                        Von Docker hab ich keine Ahnung. Die Meinungen gehen da wohl auseinander wie das da zu aktualisieren sei.
                                        Bitte aber einen eigenen Thread dazu 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

                                        1 Antwort Letzte Antwort
                                        0
                                        • O Oli

                                          @Thomas-Braun

                                          super Anleitung, vielen Dank dafür, aber jetzt meine Frage, kann ich Nodejs auch auf einer Dockerinstallation updaten?

                                          Mein ioBroker läuft als Docker auf einer Qnap und bis jetzt sind alles Versuche kläglich gescheitert, mit der Meldung, dass die aktuellste Version schon installiert sei.

                                          NegaleinN Offline
                                          NegaleinN Offline
                                          Negalein
                                          Global Moderator
                                          schrieb am zuletzt editiert von
                                          #53

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

                                          kann ich Nodejs auch auf einer Dockerinstallation updaten

                                          Ich (Synology Docker, Buanet) machs und funktioniert.

                                          ° Node.js: 20.17.0 NPM: 10.8.2
                                          ° Proxmox, Ubuntu 22.04.3 LTS
                                          ° Fixer ---> iob fix

                                          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

                                          611

                                          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