Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. JS.Controller Update geht nicht

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    527

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    433

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    998

JS.Controller Update geht nicht

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
193
4 Beiträge 3 Kommentatoren 277 Aufrufe 3 Beobachtet
  • Ä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.
  • K Offline
    K Offline
    kg36304
    schrieb am zuletzt editiert von
    #1

    Hallo zusammen,

    ich wollte heute auf 2.2.9 updaten. Beim Slave hat alles geklappt.

    Hier die Meldung vom Master:

    pi@raspberrypi4-iob:~ $ iobroker upgrade self
    Update js-controller from @2.2.8 to @2.2.9
    NPM version: 6.13.4
    npm install iobroker.js-controller@2.2.9 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
    In file included from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
    ../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); }
                                                                      ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10052:16: note: declared here
     Local<Integer> Value::ToInteger() const {
                    ^~~~~
    In file included from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
    ../node_modules/nan/nan_new.h:34:64: error: no matching function for call to ‘v8::Integer::ToInt32()’
     To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                    ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2437:43: note: candidate: ‘v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                               ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2437:43: note:   candidate expects 1 argument, 0 provided
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2450:30: note: candidate: ‘v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const’
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2450:30: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
    ../node_modules/nan/nan_new.h:39:65: error: no matching function for call to ‘v8::Integer::ToUint32()’
     To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                     ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2435:44: note: candidate: ‘v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
                                                ^~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2435:44: note:   candidate expects 1 argument, 0 provided
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
    ../node_modules/nan/nan_implementation_12_inl.h:49:38: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’
       return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                          ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:5035:23: note: candidate: ‘static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool)’
       static Local<Value> New(Isolate* isolate, bool value);
                           ^~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:5035:23: note:   candidate expects 2 arguments, 1 provided
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_implementation_12_inl.h:49:60: error: expected primary-expression before ‘>’ token
       return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                                                ^
    ../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token
       return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                                                  ^
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’:
    ../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
       return v8::RegExp::New(pattern, flags);
                                            ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:5110:38: note: declared here
                            Local<RegExp> New(Local<String> pattern, Flags flags));
                                          ^~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
       return v8::RegExp::New(pattern, flags);
                                            ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:5110:38: note: declared here
                            Local<RegExp> New(Local<String> pattern, Flags flags));
                                          ^~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
    ../node_modules/nan/nan_implementation_12_inl.h:166:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’
       return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                         ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note:   candidate expects 4 arguments, 2 provided
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
    ../node_modules/nan/nan_implementation_12_inl.h:173:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’
       return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                         ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note:   candidate expects 4 arguments, 2 provided
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
    ../node_modules/nan/nan_implementation_12_inl.h:206:42: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’
             v8::String::kNormalString, length);
                                              ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2802:51: note: candidate: ‘static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                       ^~~~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2802:51: note:   no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
    ../node_modules/nan/nan_implementation_12_inl.h:217:66: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’
       return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                      ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2861:21: note: candidate: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*)’
           Local<String> NewExternal(Isolate* isolate,
                         ^~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
     #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                    ^~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2861:21: note:   no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’
           Local<String> NewExternal(Isolate* isolate,
                         ^~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
     #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                    ^~~~~~~~~~
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
    ../node_modules/nan/nan_implementation_12_inl.h:237:30: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’
       return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                  ^~~~~~~~~~~~~~
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
    ../node_modules/nan/nan_implementation_12_inl.h:244:30: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’
       return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                  ^~~~~~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’:
    ../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           ? optionsObj->Get(opt)->Uint32Value()
                                               ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2477:47: note: declared here
       V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                   ^~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: At global scope:
    ../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
     NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                             ^~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
     NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                             ^~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’:
    ../node_modules/nan/nan.h:289:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’?
         return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                           ^~~~~~~~~~~~~~~~
                                           IdleNotificationDeadline
    ../node_modules/nan/nan.h: At global scope:
    ../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void
           v8::Isolate::GCEpilogueCallback callback
                        ^~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:473:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
    ../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’
         , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                      ^~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void
           v8::Isolate::GCEpilogueCallback callback) {
                        ^~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:479:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
    ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
           v8::Isolate::GCPrologueCallback callback
                        ^~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:484:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
    ../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’
         , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                      ^~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void
           v8::Isolate::GCPrologueCallback callback) {
                        ^~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:490:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
    ../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type
         const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                   ^~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:569:11: note: suggested alternative: ‘WeakCallbackType’
         const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
               ^~
               WeakCallbackType
    ../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token
         const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                                   ^
    ../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’:
    ../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope
           _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
                                              ^~~~
    ../node_modules/nan/nan.h: At global scope:
    ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
         , node::smalloc::FreeCallback callback
                 ^~~~~~~
    ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
         , node::smalloc::FreeCallback callback
                                       ^~~~~~~~
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
    ../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
             v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                      ^~~~~~~~
    ../node_modules/nan/nan.h:665:50: note: suggested alternative: ‘calloc’
             v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                      ^~~~~~~~
                                                      calloc
    ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
             v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                ^~~~
    ../node_modules/nan/nan.h:665:60: note: suggested alternative: ‘uint’
             v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                ^~~~
                                                                uint
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
    ../node_modules/nan/nan.h:672:57: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
         return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                             ^~~~
    In file included from ../src/bufferutil.cc:10:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node_buffer.h:69:50: note:   initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
                                                char* data,
                                                ~~~~~~^~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h:672:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
         return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
    ../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
         return node::Buffer::New(v8::Isolate::GetCurrent(), size);
                ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
    ../node_modules/nan/nan.h:683:26: error: ‘Use’ is not a member of ‘node::Buffer’
         return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
                              ^~~
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
    ../node_modules/nan/nan.h:710:74: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’
         return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                              ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note:   candidate expects 4 arguments, 2 provided
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
    ../node_modules/nan/nan.h:717:74: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’
         return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                              ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note:   candidate expects 4 arguments, 2 provided
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’:
    ../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return script->BindToCurrentContext()->Run();
                                                    ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1271:51: note: declared here
       V8_DEPRECATED("Use maybe version", Local<Value> Run());
                                                       ^~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’:
    ../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return script->Run();
                            ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1271:51: note: declared here
       V8_DEPRECATED("Use maybe version", Local<Value> Run());
                                                       ^~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’:
    ../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, func, argc, argv));
                                                                ^
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, func, argc, argv));
                                                                ^
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’:
    ../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, symbol, argc, argv));
                                                                  ^
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, symbol, argc, argv));
                                                                  ^
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’:
    ../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, method, argc, argv));
                                                                  ^
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, method, argc, argv));
                                                                  ^
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) const’:
    ../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         ));
         ^
    ../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’
     # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                                                               ^~~
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         ));
         ^
    ../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’
     # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                                                               ^~~
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: In function ‘void NanAsyncQueueWorker(NanAsyncWorker*)’:
    ../node_modules/nan/nan.h:1800:25: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
         , (uv_after_work_cb)NanAsyncExecuteComplete
                             ^~~~~~~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’:
    ../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
             v8::String::Value value(toStr);
                                          ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2916:51: note: declared here
         V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj));
                                                       ^~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
             v8::String::Value value(toStr);
                                          ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2916:51: note: declared here
         V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj));
                                                       ^~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:16:
    ../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value>)’:
    ../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         NanAssignPersistent(t_, t->ToObject());
                                             ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here
     Local<Object> Value::ToObject() const {
                   ^~~~~
    ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:
    ../src/bufferutil.cc:30:52: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
         NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
                                                        ^
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:372:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)’
     inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
                 ^~~~~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:386:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)’
     inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
                 ^~~~~~~~~~~~~~~
    ../src/bufferutil.cc:31:48: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
         NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
                                                    ^
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:372:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)’
     inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
                 ^~~~~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:386:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)’
     inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
                 ^~~~~~~~~~~~~~~
    ../src/bufferutil.cc:32:50: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
         NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
                                                      ^
    In file included from ../src/bufferutil.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:372:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)’
     inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
                 ^~~~~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:386:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)’
     inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
                 ^~~~~~~~~~~~~~~
    ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Merge(const v8::FunctionCallbackInfo<v8::Value>&)’:
    ../src/bufferutil.cc:49:49: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         Local<Object> bufferObj = args[0]->ToObject();
                                                     ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here
     Local<Object> Value::ToObject() const {
                   ^~~~~
    ../src/bufferutil.cc:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           Local<Object> src = array->Get(i)->ToObject();
                                                       ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here
     Local<Object> Value::ToObject() const {
                   ^~~~~
    ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Unmask(const v8::FunctionCallbackInfo<v8::Value>&)’:
    ../src/bufferutil.cc:67:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         Local<Object> buffer_obj = args[0]->ToObject();
                                                      ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here
     Local<Object> Value::ToObject() const {
                   ^~~~~
    ../src/bufferutil.cc:69:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         Local<Object> mask_obj = args[1]->ToObject();
                                                    ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here
     Local<Object> Value::ToObject() const {
                   ^~~~~
    ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Mask(const v8::FunctionCallbackInfo<v8::Value>&)’:
    ../src/bufferutil.cc:88:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         Local<Object> buffer_obj = args[0]->ToObject();
                                                      ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here
     Local<Object> Value::ToObject() const {
                   ^~~~~
    ../src/bufferutil.cc:89:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         Local<Object> mask_obj = args[1]->ToObject();
                                                    ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here
     Local<Object> Value::ToObject() const {
                   ^~~~~
    ../src/bufferutil.cc:91:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         Local<Object> output_obj = args[2]->ToObject();
                                                      ^
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here
     Local<Object> Value::ToObject() const {
                   ^~~~~
    ../src/bufferutil.cc:92:51: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         unsigned int dataOffset = args[3]->Int32Value();
                                                       ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                  ^~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    ../src/bufferutil.cc:93:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         unsigned int length = args[4]->Int32Value();
                                                   ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                  ^~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/bufferutil.cc:8:
    ../src/bufferutil.cc: At global scope:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
           (node::addon_register_func) (regfunc),                          \
                                               ^
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
       ^~~~~~~~~~~~~
    ../src/bufferutil.cc:120:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(bufferutil, init)
     ^~~~~~~~~~~
    In file included from ../src/bufferutil.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78:   required from here
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                    reinterpret_cast<Callback>(callback), type);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make: *** [bufferutil.target.mk:103: Release/obj.target/bufferutil/src/bufferutil.o] Fehler 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:191:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
    gyp ERR! System Linux 4.19.97-v7l+
    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/bufferutil
    gyp ERR! node -v v10.19.0
    gyp ERR! node-gyp -v v5.0.5
    gyp ERR! not ok 
    In file included from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
    ../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); }
                                                                      ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10052:16: note: declared here
     Local<Integer> Value::ToInteger() const {
                    ^~~~~
    In file included from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
    ../node_modules/nan/nan_new.h:34:64: error: no matching function for call to ‘v8::Integer::ToInt32()’
     To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                    ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2437:43: note: candidate: ‘v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                               ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2437:43: note:   candidate expects 1 argument, 0 provided
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2450:30: note: candidate: ‘v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const’
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2450:30: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
    ../node_modules/nan/nan_new.h:39:65: error: no matching function for call to ‘v8::Integer::ToUint32()’
     To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                     ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2435:44: note: candidate: ‘v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
                                                ^~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2435:44: note:   candidate expects 1 argument, 0 provided
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
    ../node_modules/nan/nan_implementation_12_inl.h:49:38: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’
       return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                          ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:5035:23: note: candidate: ‘static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool)’
       static Local<Value> New(Isolate* isolate, bool value);
                           ^~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:5035:23: note:   candidate expects 2 arguments, 1 provided
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_implementation_12_inl.h:49:60: error: expected primary-expression before ‘>’ token
       return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                                                ^
    ../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token
       return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                                                  ^
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’:
    ../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
       return v8::RegExp::New(pattern, flags);
                                            ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:5110:38: note: declared here
                            Local<RegExp> New(Local<String> pattern, Flags flags));
                                          ^~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
       return v8::RegExp::New(pattern, flags);
                                            ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:5110:38: note: declared here
                            Local<RegExp> New(Local<String> pattern, Flags flags));
                                          ^~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
    ../node_modules/nan/nan_implementation_12_inl.h:166:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’
       return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                         ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note:   candidate expects 4 arguments, 2 provided
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
    ../node_modules/nan/nan_implementation_12_inl.h:173:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’
       return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                         ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note:   candidate expects 4 arguments, 2 provided
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
    ../node_modules/nan/nan_implementation_12_inl.h:206:42: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’
             v8::String::kNormalString, length);
                                              ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2802:51: note: candidate: ‘static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                       ^~~~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2802:51: note:   no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
    ../node_modules/nan/nan_implementation_12_inl.h:217:66: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’
       return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                      ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2861:21: note: candidate: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*)’
           Local<String> NewExternal(Isolate* isolate,
                         ^~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
     #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                    ^~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2861:21: note:   no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’
           Local<String> NewExternal(Isolate* isolate,
                         ^~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
     #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                    ^~~~~~~~~~
    In file included from ../node_modules/nan/nan_new.h:189,
                     from ../node_modules/nan/nan.h:82,
                     from ../src/validation.cc:15:
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
    ../node_modules/nan/nan_implementation_12_inl.h:237:30: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’
       return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                  ^~~~~~~~~~~~~~
    ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
    ../node_modules/nan/nan_implementation_12_inl.h:244:30: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’
       return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                  ^~~~~~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’:
    ../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           ? optionsObj->Get(opt)->Uint32Value()
                                               ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2477:47: note: declared here
       V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                   ^~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: At global scope:
    ../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
     NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                             ^~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
     NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                             ^~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’:
    ../node_modules/nan/nan.h:289:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’?
         return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                           ^~~~~~~~~~~~~~~~
                                           IdleNotificationDeadline
    ../node_modules/nan/nan.h: At global scope:
    ../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void
           v8::Isolate::GCEpilogueCallback callback
                        ^~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:473:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
    ../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’
         , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                      ^~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void
           v8::Isolate::GCEpilogueCallback callback) {
                        ^~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:479:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
    ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
           v8::Isolate::GCPrologueCallback callback
                        ^~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:484:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
    ../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’
         , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                      ^~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void
           v8::Isolate::GCPrologueCallback callback) {
                        ^~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:490:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
    ../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type
         const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                   ^~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h:569:11: note: suggested alternative: ‘WeakCallbackType’
         const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
               ^~
               WeakCallbackType
    ../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token
         const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                                   ^
    ../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’:
    ../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope
           _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
                                              ^~~~
    ../node_modules/nan/nan.h: At global scope:
    ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
         , node::smalloc::FreeCallback callback
                 ^~~~~~~
    ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
         , node::smalloc::FreeCallback callback
                                       ^~~~~~~~
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
    ../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
             v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                      ^~~~~~~~
    ../node_modules/nan/nan.h:665:50: note: suggested alternative: ‘calloc’
             v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                      ^~~~~~~~
                                                      calloc
    ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
             v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                ^~~~
    ../node_modules/nan/nan.h:665:60: note: suggested alternative: ‘uint’
             v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                ^~~~
                                                                uint
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
    ../node_modules/nan/nan.h:672:57: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
         return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                             ^~~~
    In file included from ../src/validation.cc:10:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node_buffer.h:69:50: note:   initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
                                                char* data,
                                                ~~~~~~^~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h:672:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
         return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
    ../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
         return node::Buffer::New(v8::Isolate::GetCurrent(), size);
                ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
    ../node_modules/nan/nan.h:683:26: error: ‘Use’ is not a member of ‘node::Buffer’
         return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
                              ^~~
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
    ../node_modules/nan/nan.h:710:74: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’
         return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                              ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note:   candidate expects 4 arguments, 2 provided
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
    ../node_modules/nan/nan.h:717:74: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’
         return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                              ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’
       static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                       ^~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note:   candidate expects 4 arguments, 2 provided
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’:
    ../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return script->BindToCurrentContext()->Run();
                                                    ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1271:51: note: declared here
       V8_DEPRECATED("Use maybe version", Local<Value> Run());
                                                       ^~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’:
    ../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return script->Run();
                            ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:1271:51: note: declared here
       V8_DEPRECATED("Use maybe version", Local<Value> Run());
                                                       ^~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’:
    ../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, func, argc, argv));
                                                                ^
    In file included from ../src/validation.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, func, argc, argv));
                                                                ^
    In file included from ../src/validation.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’:
    ../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, symbol, argc, argv));
                                                                  ^
    In file included from ../src/validation.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, symbol, argc, argv));
                                                                  ^
    In file included from ../src/validation.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’:
    ../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, method, argc, argv));
                                                                  ^
    In file included from ../src/validation.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
             v8::Isolate::GetCurrent(), target, method, argc, argv));
                                                                  ^
    In file included from ../src/validation.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) const’:
    ../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         ));
         ^
    ../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’
     # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                                                               ^~~
    In file included from ../src/validation.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         ));
         ^
    ../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’
     # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                                                               ^~~
    In file included from ../src/validation.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here
                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
         __attribute__((deprecated(message))) declarator
                                              ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: In function ‘void NanAsyncQueueWorker(NanAsyncWorker*)’:
    ../node_modules/nan/nan.h:1800:25: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
         , (uv_after_work_cb)NanAsyncExecuteComplete
                             ^~~~~~~~~~~~~~~~~~~~~~~
    ../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’:
    ../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
             v8::String::Value value(toStr);
                                          ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2916:51: note: declared here
         V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj));
                                                       ^~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
             v8::String::Value value(toStr);
                                          ^
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26,
                     from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2916:51: note: declared here
         V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj));
                                                       ^~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/validation.cc:15:
    ../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value>)’:
    ../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         NanAssignPersistent(t_, t->ToObject());
                                             ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here
     Local<Object> Value::ToObject() const {
                   ^~~~~
    ../src/validation.cc: In static member function ‘static void Validation::Initialize(v8::Handle<v8::Object>)’:
    ../src/validation.cc:112:62: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
         NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
                                                                  ^
    In file included from ../src/validation.cc:8:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:372:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)’
     inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
                 ^~~~~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:386:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)’
     inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
                 ^~~~~~~~~~~~~~~
    ../src/validation.cc: In static member function ‘static void Validation::IsValidUTF8(const v8::FunctionCallbackInfo<v8::Value>&)’:
    ../src/validation.cc:132:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         Local<Object> buffer_obj = args[0]->ToObject();
                                                      ^
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here
     Local<Object> Value::ToObject() const {
                   ^~~~~
    In file included from ../src/validation.cc:8:
    ../src/validation.cc: At global scope:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
           (node::addon_register_func) (regfunc),                          \
                                               ^
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
       ^~~~~~~~~~~~~
    ../src/validation.cc:147:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(validation, init)
     ^~~~~~~~~~~
    In file included from ../src/validation.cc:7:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78:   required from here
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                    reinterpret_cast<Callback>(callback), type);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/validation.cc: In function ‘int is_valid_utf8(size_t, char*)’:
    ../src/validation.cc:82:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
           case 5 : ch += (uint8_t) value[i++]; ch <<= 6;
                                                ~~~^~~~~
    ../src/validation.cc:83:7: note: here
           case 4 : ch += (uint8_t) value[i++]; ch <<= 6;
           ^~~~
    ../src/validation.cc:83:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
           case 4 : ch += (uint8_t) value[i++]; ch <<= 6;
                                                ~~~^~~~~
    ../src/validation.cc:84:7: note: here
           case 3 : ch += (uint8_t) value[i++]; ch <<= 6;
           ^~~~
    ../src/validation.cc:84:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
           case 3 : ch += (uint8_t) value[i++]; ch <<= 6;
                                                ~~~^~~~~
    ../src/validation.cc:85:7: note: here
           case 2 : ch += (uint8_t) value[i++]; ch <<= 6;
           ^~~~
    ../src/validation.cc:85:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
           case 2 : ch += (uint8_t) value[i++]; ch <<= 6;
                                                ~~~^~~~~
    ../src/validation.cc:86:7: note: here
           case 1 : ch += (uint8_t) value[i++]; ch <<= 6;
           ^~~~
    ../src/validation.cc:86:47: warning: this statement may fall through [-Wimplicit-fallthrough=]
           case 1 : ch += (uint8_t) value[i++]; ch <<= 6;
                                                ~~~^~~~~
    ../src/validation.cc:87:7: note: here
           case 0 : ch += (uint8_t) value[i];
           ^~~~
    ../src/validation.cc: In function ‘int isLegalUTF8(const uint8_t*, int)’:
    ../src/validation.cc:51:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
               ^~
    ../src/validation.cc:52:3: note: here
       case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
       ^~~~
    ../src/validation.cc:52:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
               ^~
    ../src/validation.cc:53:3: note: here
       case 2: if ((a = (*--srcptr)) > 0xBF) return 0;
       ^~~~
    ../src/validation.cc:54:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
         switch (*source) {
         ^~~~~~
    ../src/validation.cc:63:3: note: here
       case 1: if (*source >= 0x80 && *source < 0xC2) return 0;
       ^~~~
    make: *** [validation.target.mk:103: Release/obj.target/validation/src/validation.o] Fehler 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:191:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
    gyp ERR! System Linux 4.19.97-v7l+
    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/utf-8-validate
    gyp ERR! node -v v10.19.0
    gyp ERR! node-gyp -v v5.0.5
    gyp ERR! not ok 
    Starting node restart.js
    pi@raspberrypi4-iob:~ $ iobroker start
    pi@raspberrypi4-iob:~ $ 
    

    Ich muss zugeben, dass ich nicht weiß was ich falsch gemacht habe bzw. was ich jetzt tun muss.

    Danke.

    1 Antwort Letzte Antwort
    0
    • K Offline
      K Offline
      kg36304
      schrieb am zuletzt editiert von
      #2

      Okay, hat scheinbar doch geklappt.

      Danke.

      1 Antwort Letzte Antwort
      0
      • K Offline
        K Offline
        knopers1
        schrieb am zuletzt editiert von
        #3

        @kg36304 said in JS.Controller Update geht nicht:

        iobroker upgrade self

        solltestdu nich erst in das richrige Verzeichniss wechseln?

        cd /opt/iobroker
        

        HP Microserver Gen8, RPI-4, IoBroker,

        AlCalzoneA 1 Antwort Letzte Antwort
        0
        • K knopers1

          @kg36304 said in JS.Controller Update geht nicht:

          iobroker upgrade self

          solltestdu nich erst in das richrige Verzeichniss wechseln?

          cd /opt/iobroker
          
          AlCalzoneA Offline
          AlCalzoneA Offline
          AlCalzone
          Developer
          schrieb am zuletzt editiert von
          #4

          @knopers1 Nicht nötig. Die ioBroker-Kommandos werden automatisch im richtigen Verzeichnis ausgeführt.

          Bei npm install kommt es allerdings aufs Verzeichnis an.

          Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

          1 Antwort Letzte Antwort
          0

          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

          Registrieren Anmelden
          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

          365

          Online

          32.8k

          Benutzer

          82.9k

          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