Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. neuerdings Fehler bei update von Adaptern

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED neuerdings Fehler bei update von Adaptern

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PrinzEisenherz1 last edited by

      Hi zusammen.

      Neuerdings erhalte ich folgende Meldungen beim installieren oder updaten von Adaptern:

      root@ioBroker-VM:/opt/iobroker# iobroker install vis-map
      NPM version: 6.4.1
      npm install iobroker.vis-map@1.0.2 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
      In file included from ../node_modules/nan/nan.h:82:0,
                       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: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
       To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                      ^
      In file included from ../src/bufferutil.cc:7:0:
      /root/.node-gyp/8.15.1/include/node/v8.h:9864:14: note: declared here
       Local<Int32> Value::ToInt32() const {
                    ^~~~~
      In file included from ../node_modules/nan/nan.h:82:0,
                       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: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
       To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                       ^
      In file included from ../src/bufferutil.cc:7:0:
      /root/.node-gyp/8.15.1/include/node/v8.h:9858:15: note: declared here
       Local<Uint32> Value::ToUint32() const {
                     ^~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
         return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                            ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:4895:56: note: declared here
         V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                              ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                           ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
             Local<Script> Compile(Isolate* isolate, Source* source,
                           ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                           ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
             Local<Script> Compile(Isolate* isolate, Source* source,
                           ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               v8::String::kNormalString, length);
                                                ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:2731:21: note: declared here
             Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                           ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                        ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:2769:38: note: declared here
                              Local<String> NewExternal(
                                            ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                    ^~~~~~~~~~~~~~
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                              Local<UnboundScript> CompileUnbound(
                                                   ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       from ../node_modules/nan/nan.h:82,
                       from ../src/bufferutil.cc:16:
      ../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                  ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                              Local<UnboundScript> CompileUnbound(
                                                   ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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>, const v8::ScriptOrigin&)’:
      ../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                    ^~~~~~~~~~~~~~
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                              Local<UnboundScript> CompileUnbound(
                                                   ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       from ../node_modules/nan/nan.h:82,
                       from ../src/bufferutil.cc:16:
      ../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                  ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                              Local<UnboundScript> CompileUnbound(
                                                   ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../src/bufferutil.cc:16:0:
      ../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:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
           return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                             ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:7539:22: note: declared here
                       bool IdleNotification(int idle_time_in_ms));
                            ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../src/bufferutil.cc:16:0:
      ../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
             v8::Isolate::GCEpilogueCallback callback
             ^~
      ../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
             v8::Isolate::GCEpilogueCallback callback) {
             ^~
      ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
             v8::Isolate::GCPrologueCallback callback
                          ^~~~~~~~~~~~~~~~~~
      ../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
             v8::Isolate::GCPrologueCallback callback
             ^~
      ../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:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
             v8::Isolate::GCPrologueCallback callback) {
             ^~
      ../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: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:60: error: ‘hint’ was not declared in this scope
               v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                  ^~~~
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
      ../node_modules/nan/nan.h:672:67: 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:0:
      /root/.node-gyp/8.15.1/include/node/node_buffer.h:67:40: note:   initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
       NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                              ^~~
      In file included from ../src/bufferutil.cc:16:0:
      ../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:12: 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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
             Local<Script> Compile(Isolate* isolate, Source* source,
                           ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../src/bufferutil.cc:16:0:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
      ../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/bufferutil.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
             Local<Script> Compile(Isolate* isolate, Source* source,
                           ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../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:0:
      /root/.node-gyp/8.15.1/include/node/node.h:308: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,
                   ^~~~~~~~~~~~~~~
      /root/.node-gyp/8.15.1/include/node/node.h:321: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:0:
      /root/.node-gyp/8.15.1/include/node/node.h:308: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,
                   ^~~~~~~~~~~~~~~
      /root/.node-gyp/8.15.1/include/node/node.h:321: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:0:
      /root/.node-gyp/8.15.1/include/node/node.h:308: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,
                   ^~~~~~~~~~~~~~~
      /root/.node-gyp/8.15.1/include/node/node.h:321: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,
                   ^~~~~~~~~~~~~~~
      make: *** [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:262:23)
      gyp ERR! stack     at emitTwo (events.js:126:13)
      gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
      gyp ERR! System Linux 4.9.0-8-686-pae
      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 v8.15.1
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok 
      In file included from ../node_modules/nan/nan.h:82:0,
                       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: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
       To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                      ^
      In file included from ../src/validation.cc:7:0:
      /root/.node-gyp/8.15.1/include/node/v8.h:9864:14: note: declared here
       Local<Int32> Value::ToInt32() const {
                    ^~~~~
      In file included from ../node_modules/nan/nan.h:82:0,
                       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: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
       To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                       ^
      In file included from ../src/validation.cc:7:0:
      /root/.node-gyp/8.15.1/include/node/v8.h:9858:15: note: declared here
       Local<Uint32> Value::ToUint32() const {
                     ^~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
         return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                            ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:4895:56: note: declared here
         V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                              ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                           ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
             Local<Script> Compile(Isolate* isolate, Source* source,
                           ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                           ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
             Local<Script> Compile(Isolate* isolate, Source* source,
                           ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               v8::String::kNormalString, length);
                                                ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:2731:21: note: declared here
             Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                           ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                        ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:2769:38: note: declared here
                              Local<String> NewExternal(
                                            ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                    ^~~~~~~~~~~~~~
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                              Local<UnboundScript> CompileUnbound(
                                                   ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       from ../node_modules/nan/nan.h:82,
                       from ../src/validation.cc:15:
      ../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                  ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                              Local<UnboundScript> CompileUnbound(
                                                   ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       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>, const v8::ScriptOrigin&)’:
      ../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                    ^~~~~~~~~~~~~~
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                              Local<UnboundScript> CompileUnbound(
                                                   ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../node_modules/nan/nan_new.h:189:0,
                       from ../node_modules/nan/nan.h:82,
                       from ../src/validation.cc:15:
      ../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                  ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                              Local<UnboundScript> CompileUnbound(
                                                   ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../src/validation.cc:15:0:
      ../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:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
           return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                             ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:7539:22: note: declared here
                       bool IdleNotification(int idle_time_in_ms));
                            ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../src/validation.cc:15:0:
      ../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
             v8::Isolate::GCEpilogueCallback callback
             ^~
      ../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
             v8::Isolate::GCEpilogueCallback callback) {
             ^~
      ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
             v8::Isolate::GCPrologueCallback callback
                          ^~~~~~~~~~~~~~~~~~
      ../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
             v8::Isolate::GCPrologueCallback callback
             ^~
      ../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:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
             v8::Isolate::GCPrologueCallback callback) {
             ^~
      ../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: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:60: error: ‘hint’ was not declared in this scope
               v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                  ^~~~
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
      ../node_modules/nan/nan.h:672:67: 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:0:
      /root/.node-gyp/8.15.1/include/node/node_buffer.h:67:40: note:   initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
       NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                              ^~~
      In file included from ../src/validation.cc:15:0:
      ../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:12: 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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
             Local<Script> Compile(Isolate* isolate, Source* source,
                           ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../src/validation.cc:15:0:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
      ../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                ^
      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                       from ../src/validation.cc:7:
      /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
             Local<Script> Compile(Isolate* isolate, Source* source,
                           ^
      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../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:0:
      /root/.node-gyp/8.15.1/include/node/node.h:308: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,
                   ^~~~~~~~~~~~~~~
      /root/.node-gyp/8.15.1/include/node/node.h:321: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,
                   ^~~~~~~~~~~~~~~
      make: *** [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:262:23)
      gyp ERR! stack     at emitTwo (events.js:126:13)
      gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
      gyp ERR! System Linux 4.9.0-8-686-pae
      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 v8.15.1
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok 
      npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
      npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
      npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      host.ioBroker-VM object system.adapter.vis-map created
      got /opt/iobroker/node_modules/iobroker.vis-map/admin
      upload [3] vis-map.admin /opt/iobroker/node_modules/iobroker.vis-map/admin/words.js words.js application/javascript
      upload [2] vis-map.admin /opt/iobroker/node_modules/iobroker.vis-map/admin/vis-map.png vis-map.png image/png
      upload [1] vis-map.admin /opt/iobroker/node_modules/iobroker.vis-map/admin/index_m.html index_m.html text/html
      upload [0] vis-map.admin /opt/iobroker/node_modules/iobroker.vis-map/admin/index.html index.html text/html
      Adapter "system.adapter.vis.0" restarted.
      root@ioBroker-VM:/opt/iobroker# 
      
      

      Woran könnte das liegen? Hatte ich vorher nicht.

      Gruß
      Johnny

      iobroker in VM (proxmox) Debian 9
      nodejs: 8.15.1
      node: 8.15.1
      npm: 6.4.1
      js-controller: 1.5.7

      Segway 1 Reply Last reply Reply Quote 0
      • P
        PrinzEisenherz1 last edited by

        Keiner ne idee?
        Habe gerade mal den statistics-Adapter installiert und bekomme da auch die ganzen gyp Errors.

        $ ./iobroker add statistics  --host ioBroker-VM
        NPM version: 6.4.1
        npm install iobroker.statistics@0.2.0 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
        In file included from ../node_modules/nan/nan.h:82:0,                 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: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                        ^
        In file included from ../src/bufferutil.cc:7:0:
        /root/.node-gyp/8.15.1/include/node/v8.h:9864:14: note: declared here
         Local<Int32> Value::ToInt32() const {
                      ^~~~~
        
        In file included from ../node_modules/nan/nan.h:82:0,                 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: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                         ^
        In file included from ../src/bufferutil.cc:7:0:
        /root/.node-gyp/8.15.1/include/node/v8.h:9858:15: note: declared here
         Local<Uint32> Value::ToUint32() const {
                       ^~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
           return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                              ^
        
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,                 from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:4895:56: note: declared here
           V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                                ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                             ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
               Local<Script> Compile(Isolate* isolate, Source* source,
                             ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                             ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
               Local<Script> Compile(Isolate* isolate, Source* source,
                             ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 v8::String::kNormalString, length);
                                                  ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:2731:21: note: declared here
               Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                             ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                          ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:2769:38: note: declared here
                                Local<String> NewExternal(
                                              ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                      ^~~~~~~~~~~~~~
        
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,                 from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                Local<UnboundScript> CompileUnbound(
                                                     ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        In file included from ../node_modules/nan/nan_new.h:189:0,
                         from ../node_modules/nan/nan.h:82,
                         from ../src/bufferutil.cc:16:
        ../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                    ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                Local<UnboundScript> CompileUnbound(
                                                     ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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>, const v8::ScriptOrigin&)’:
        ../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                      ^~~~~~~~~~~~~~
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                Local<UnboundScript> CompileUnbound(
                                                     ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        In file included from ../node_modules/nan/nan_new.h:189:0,
                         from ../node_modules/nan/nan.h:82,
                         from ../src/bufferutil.cc:16:
        ../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                    ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                Local<UnboundScript> CompileUnbound(
                                                     ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../src/bufferutil.cc:16:0:../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:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
             return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                               ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:7539:22: note: declared here
                         bool IdleNotification(int idle_time_in_ms));
                              ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../src/bufferutil.cc:16:0:../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
               v8::Isolate::GCEpilogueCallback callback
               ^~
        ../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
               v8::Isolate::GCEpilogueCallback callback) {
               ^~
        ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
               v8::Isolate::GCPrologueCallback callback
                            ^~~~~~~~~~~~~~~~~~
        ../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
               v8::Isolate::GCPrologueCallback callback
               ^~
        ../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:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
               v8::Isolate::GCPrologueCallback callback) {
               ^~
        
        ../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: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:60: error: ‘hint’ was not declared in this scope
                 v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                    ^~~~
        ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
        ../node_modules/nan/nan.h:672:67: 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:0:/root/.node-gyp/8.15.1/include/node/node_buffer.h:67:40: note:   initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
         NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                                ^~~
        In file included from ../src/bufferutil.cc:16:0:
        ../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:12: 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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                  ^
        
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,                 from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
               Local<Script> Compile(Isolate* isolate, Source* source,
                             ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        In file included from ../src/bufferutil.cc:16:0:
        ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
        ../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                  ^
        
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,                 from ../src/bufferutil.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
               Local<Script> Compile(Isolate* isolate, Source* source,
                             ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        ../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:0:/root/.node-gyp/8.15.1/include/node/node.h:308: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,
                     ^~~~~~~~~~~~~~~
        /root/.node-gyp/8.15.1/include/node/node.h:321: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:0:
        /root/.node-gyp/8.15.1/include/node/node.h:308: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,
                     ^~~~~~~~~~~~~~~
        /root/.node-gyp/8.15.1/include/node/node.h:321: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:0:
        /root/.node-gyp/8.15.1/include/node/node.h:308: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,
                     ^~~~~~~~~~~~~~~
        /root/.node-gyp/8.15.1/include/node/node.h:321: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,
                     ^~~~~~~~~~~~~~~
        
        make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Fehler 1
        gyp
         ERR!
         build error 
        gyp
         ERR! stack Error: `make` failed with exit code: 2gyp ERR!
         stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)gyp ERR! stack     at emitTwo (events.js:126:13)
        gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
        
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
        gyp
         ERR! System Linux 4.9.0-8-686-paegyp 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/bufferutilgyp ERR! node -v v8.15.1
        gyp ERR! node-gyp -v v3.8.0
        gyp
         ERR! not ok 
        In file included from ../node_modules/nan/nan.h:82:0,                 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: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                        ^
        In file included from ../src/validation.cc:7:0:
        /root/.node-gyp/8.15.1/include/node/v8.h:9864:14: note: declared here
         Local<Int32> Value::ToInt32() const {
                      ^~~~~
        
        In file included from ../node_modules/nan/nan.h:82:0,                 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: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                         ^
        In file included from ../src/validation.cc:7:0:
        /root/.node-gyp/8.15.1/include/node/v8.h:9858:15: note: declared here
         Local<Uint32> Value::ToUint32() const {
                       ^~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
           return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                              ^
        
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,                 from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:4895:56: note: declared here
           V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                                ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                             ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
               Local<Script> Compile(Isolate* isolate, Source* source,
                             ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                             ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
               Local<Script> Compile(Isolate* isolate, Source* source,
                             ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 v8::String::kNormalString, length);
                                                  ^
        
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,                 from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:2731:21: note: declared here
               Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                             ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                          ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:2769:38: note: declared here
                                Local<String> NewExternal(
                                              ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                      ^~~~~~~~~~~~~~
        
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,                 from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                Local<UnboundScript> CompileUnbound(
                                                     ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        In file included from ../node_modules/nan/nan_new.h:189:0,
                         from ../node_modules/nan/nan.h:82,
                         from ../src/validation.cc:15:
        ../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                    ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                Local<UnboundScript> CompileUnbound(
                                                     ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../node_modules/nan/nan_new.h:189:0,                 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>, const v8::ScriptOrigin&)’:
        ../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                      ^~~~~~~~~~~~~~
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                Local<UnboundScript> CompileUnbound(
                                                     ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        In file included from ../node_modules/nan/nan_new.h:189:0,
                         from ../node_modules/nan/nan.h:82,
                         from ../src/validation.cc:15:
        ../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                    ^
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                         from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                Local<UnboundScript> CompileUnbound(
                                                     ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../src/validation.cc:15:0:../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:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
             return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                               ^
        
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,                 from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:7539:22: note: declared here
                         bool IdleNotification(int idle_time_in_ms));
                              ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        In file included from ../src/validation.cc:15:0:../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
               v8::Isolate::GCEpilogueCallback callback
               ^~
        
        ../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
               v8::Isolate::GCEpilogueCallback callback) {
               ^~
        ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
               v8::Isolate::GCPrologueCallback callback
                            ^~~~~~~~~~~~~~~~~~
        ../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
               v8::Isolate::GCPrologueCallback callback
               ^~
        ../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:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
               v8::Isolate::GCPrologueCallback callback) {
               ^~
        
        ../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: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:60: error: ‘hint’ was not declared in this scope
                 v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                    ^~~~
        ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
        ../node_modules/nan/nan.h:672:67: 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:0:
        /root/.node-gyp/8.15.1/include/node/node_buffer.h:67:40: note:   initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
         NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                                ^~~
        
        In file included from ../src/validation.cc:15:0:../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:12: 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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                  ^
        
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,                 from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
               Local<Script> Compile(Isolate* isolate, Source* source,
                             ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        In file included from ../src/validation.cc:15:0:
        ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
        ../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                  ^
        
        In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,                 from ../src/validation.cc:7:
        /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
               Local<Script> Compile(Isolate* isolate, Source* source,
                             ^
        /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        
        ../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:0:/root/.node-gyp/8.15.1/include/node/node.h:308: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,
                     ^~~~~~~~~~~~~~~
        /root/.node-gyp/8.15.1/include/node/node.h:321: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,
                     ^~~~~~~~~~~~~~~
        
        make: *** [Release/obj.target/validation/src/validation.o] Fehler 1
        gyp
         
        ERR! build error 
        gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
        gyp ERR! stack     at emitTwo (events.js:126:13)
        gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
        
        gyp ERR! System Linux 4.9.0-8-686-paegyp 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 v8.15.1
        gyp ERR! node-gyp -v v3.8.0
        gyp
         ERR! not ok 
        npm
         WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
        npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
        npm
         WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild`
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
        
        
        host.ioBroker-VM install adapter statistics
        npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.statistics"
        npm
         WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
        npm
         WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
        npm 
        WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
        npm 
        WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
        npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
        npm notice created a lockfile as package-lock.json. You should commit this file.
        got /opt/iobroker/node_modules/iobroker.statistics/admin
        upload [5] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/words.js words.js application/javascript
        upload [4] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/statistics.png statistics.png image/png
        upload [3] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/index_m.html index_m.html text/html
        upload [2] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/index.html index.html text/html
        upload [1] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/custom_m.html custom_m.html text/html
        upload [0] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/custom.html custom.html text/html
        host.ioBroker-VM object system.adapter.statistics created
        host.ioBroker-VM object _design/custom created
        host.ioBroker-VM create instance statistics
        host.ioBroker-VM object system.adapter.statistics.0.outputCount created
        host.ioBroker-VM object system.adapter.statistics.0.inputCount created
        host.ioBroker-VM object system.adapter.statistics.0.uptime created
        host.ioBroker-VM object system.adapter.statistics.0.memRss created
        host.ioBroker-VM object system.adapter.statistics.0.memHeapTotal created
        host.ioBroker-VM object system.adapter.statistics.0.memHeapUsed created
        host.ioBroker-VM object system.adapter.statistics.0.cputime created
        host.ioBroker-VM object system.adapter.statistics.0.cpu created
        host.ioBroker-VM object system.adapter.statistics.0.connected created
        host.ioBroker-VM object system.adapter.statistics.0.alive created
        host.ioBroker-VM object system.adapter.statistics.0 created
        process exited with code 0
        

        Adapter wird aber installiert und läuft auch.
        Kann ich da die ganzen Error ignorieren?
        Die utf8 warnings hatte ich vorher nicht.

        Hat das alles eventuell mit dem js-controller 1.5.7 zu tun?

        Gruß
        Johnny

        1 Reply Last reply Reply Quote 0
        • A
          albert last edited by

          Was zeigen "node -v” und “nodejs -v” an?
          Es sollten die gleichen Versionen sein.
          Ansonsten mal ein "./reinstall.sh" im iobroker Verzechniss machen "/opt/iobroker/reinstall.sh".
          Aber Achtung, das reinstall kann zusätzliche Aufwände verursachen, bevor du das machst, unbeding alles sichern.

          1 Reply Last reply Reply Quote 0
          • P
            PrinzEisenherz1 last edited by

            wie im ersten Beitrag schon geschrieben habe ich folgende Versionen

            iobroker in VM (proxmox) Debian 9
            nodejs: 8.15.1
            node: 8.15.1
            npm: 6.4.1
            js-controller: 1.5.7
            

            einen npm rebuild hab ich auch schon durchgeführt, hat aber nichts gebracht.
            Keine Ahnung woher diese Error plötzlich kommen

            A 1 Reply Last reply Reply Quote 0
            • A
              albert @PrinzEisenherz1 last edited by Negalein

              @PrinzEisenherz1 sagte in neuerdings Fehler bei update von Adaptern:

              wie im ersten Beitrag schon geschrieben habe ich folgende Versionen

              Sorry, das hatte ich überlesen.
              Dann würde ich wirklich, unabhängig vom npm-rebuild, einen reinstall vom iobroker machen, vielleicht ist da was mit den Versionen aus den Fugen geraten.
              Ich nutze exakt die gleichen Version wie du, ohne diese Probleme. Hatte ähnliche Probleme nach einem update der nodejs Version, die waren nach einem reinstall aber weg.

              1 Reply Last reply Reply Quote 0
              • P
                PrinzEisenherz1 last edited by

                Danke. Dachte eigentlich das mit npm rebuild müsste ausreichen.
                Hab jetzt mal das reinstall Skript laufen. Mal kucken wenns fertig ist ob die Meldungen dann weg sind.

                Gruß
                Johnny

                1 Reply Last reply Reply Quote 0
                • P
                  PrinzEisenherz1 last edited by

                  Also das reinstall.sh hat mir jetzt die ganze installation zerschossen.
                  Gut das ich n Backup habe

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

                    @PrinzEisenherz1 sagte in neuerdings Fehler bei update von Adaptern:

                    Also das reinstall.sh hat mir jetzt die ganze installation zerschossen.

                    Dann war wohl vorher etwas faul.
                    Das reinstall kompiliert nur die Instanzen nochmal mit dem aktuellen npm neu

                    1 Reply Last reply Reply Quote 0
                    • P
                      PrinzEisenherz1 last edited by

                      Ich weiß aber nicht wo durch. Seit dem update des js-controller lässt sich iobroker auch nicht mehr über iobroker stop beenden.
                      Da meckert die Shell das killall.sh fehlt.

                      Also macht das reinstall.sh nichts anderes wie npm rebuild, oder?

                      Gruß
                      Johnny

                      1 Reply Last reply Reply Quote 0
                      • Segway
                        Segway @PrinzEisenherz1 last edited by

                        @PrinzEisenherz1 sagte in neuerdings Fehler bei update von Adaptern:

                        js-controller: 1.5.7

                        du weisst schon dass dies noch eine Entwicklerversion ist ? Die letzte stable ist 1.4.2

                        1 Reply Last reply Reply Quote 0
                        • P
                          PrinzEisenherz1 last edited by

                          Ist mir bewusst. Wobei ist die nicht mittlerweile auch im stable?

                          Segway 1 Reply Last reply Reply Quote 0
                          • Segway
                            Segway @PrinzEisenherz1 last edited by

                            @PrinzEisenherz1

                            nö im stable ist die 1.4.2

                            wenn man eine Entwicklerversion installiert, können halt unvorhergesehene Sachen passieren.

                            1 Reply Last reply Reply Quote 0
                            • P
                              PrinzEisenherz1 last edited by

                              Ich hab jetzt mal das Backup zurückgespielt und nochmal das reinstall laufen lassen.

                              In file included from ../node_modules/nan/nan_new.h:189:0,
                                               from ../node_modules/nan/nan.h:82,
                                               from ../src/bufferutil.cc:16:
                              ../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                 return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                                          ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/bufferutil.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                                      Local<UnboundScript> CompileUnbound(
                                                                           ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../src/bufferutil.cc:16:0:
                              ../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:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
                                   return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                                                     ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/bufferutil.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:7539:22: note: declared here
                                               bool IdleNotification(int idle_time_in_ms));
                                                    ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../src/bufferutil.cc:16:0:
                              ../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
                                     v8::Isolate::GCEpilogueCallback callback
                                     ^~
                              ../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
                                     v8::Isolate::GCEpilogueCallback callback) {
                                     ^~
                              ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
                                     v8::Isolate::GCPrologueCallback callback
                                                  ^~~~~~~~~~~~~~~~~~
                              ../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
                                     v8::Isolate::GCPrologueCallback callback
                                     ^~
                              ../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:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
                                     v8::Isolate::GCPrologueCallback callback) {
                                     ^~
                              ../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: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:60: error: ‘hint’ was not declared in this scope
                                       v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                                          ^~~~
                              ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
                              ../node_modules/nan/nan.h:672:67: 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:0:
                              /root/.node-gyp/8.15.1/include/node/node_buffer.h:67:40: note:   initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
                               NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                                                      ^~~
                              In file included from ../src/bufferutil.cc:16:0:
                              ../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:12: 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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                                        ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/bufferutil.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
                                     Local<Script> Compile(Isolate* isolate, Source* source,
                                                   ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../src/bufferutil.cc:16:0:
                              ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
                              ../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                                        ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/bufferutil.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
                                     Local<Script> Compile(Isolate* isolate, Source* source,
                                                   ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              ../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:0:
                              /root/.node-gyp/8.15.1/include/node/node.h:308: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,
                                           ^~~~~~~~~~~~~~~
                              /root/.node-gyp/8.15.1/include/node/node.h:321: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:0:
                              /root/.node-gyp/8.15.1/include/node/node.h:308: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,
                                           ^~~~~~~~~~~~~~~
                              /root/.node-gyp/8.15.1/include/node/node.h:321: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:0:
                              /root/.node-gyp/8.15.1/include/node/node.h:308: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,
                                           ^~~~~~~~~~~~~~~
                              /root/.node-gyp/8.15.1/include/node/node.h:321: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,
                                           ^~~~~~~~~~~~~~~
                              bufferutil.target.mk:101: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte
                              make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Fehler 1
                              make: Verzeichnis „/opt/iobroker/node_modules/bufferutil/build“ wird verlassen
                              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:262:23)
                              gyp ERR! stack     at emitTwo (events.js:126:13)
                              gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
                              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
                              gyp ERR! System Linux 4.9.0-8-686-pae
                              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 v8.15.1
                              gyp ERR! node-gyp -v v3.8.0
                              gyp ERR! not ok 
                              
                              > utf-8-validate@1.1.0 install /opt/iobroker/node_modules/utf-8-validate
                              > node-gyp rebuild
                              
                              make: Verzeichnis „/opt/iobroker/node_modules/utf-8-validate/build“ wird betreten
                                CXX(target) Release/obj.target/validation/src/validation.o
                              In file included from ../node_modules/nan/nan.h:82:0,
                                               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: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                                              ^
                              In file included from ../src/validation.cc:7:0:
                              /root/.node-gyp/8.15.1/include/node/v8.h:9864:14: note: declared here
                               Local<Int32> Value::ToInt32() const {
                                            ^~~~~
                              In file included from ../node_modules/nan/nan.h:82:0,
                                               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: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                                               ^
                              In file included from ../src/validation.cc:7:0:
                              /root/.node-gyp/8.15.1/include/node/v8.h:9858:15: note: declared here
                               Local<Uint32> Value::ToUint32() const {
                                             ^~~~~
                              In file included from ../node_modules/nan/nan_new.h:189:0,
                                               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: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
                                 return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                                                    ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:4895:56: note: declared here
                                 V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                                                      ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../node_modules/nan/nan_new.h:189:0,
                                               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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                 return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                                                   ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
                                     Local<Script> Compile(Isolate* isolate, Source* source,
                                                   ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../node_modules/nan/nan_new.h:189:0,
                                               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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                 return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                                                   ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
                                     Local<Script> Compile(Isolate* isolate, Source* source,
                                                   ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../node_modules/nan/nan_new.h:189:0,
                                               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: warning: ‘static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       v8::String::kNormalString, length);
                                                                        ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:2731:21: note: declared here
                                     Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                                                   ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../node_modules/nan/nan_new.h:189:0,
                                               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: warning: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                 return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                                                ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:2769:38: note: declared here
                                                      Local<String> NewExternal(
                                                                    ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../node_modules/nan/nan_new.h:189:0,
                                               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: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                 return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                            ^~~~~~~~~~~~~~
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                                      Local<UnboundScript> CompileUnbound(
                                                                           ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../node_modules/nan/nan_new.h:189:0,
                                               from ../node_modules/nan/nan.h:82,
                                               from ../src/validation.cc:15:
                              ../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                 return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                                          ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                                      Local<UnboundScript> CompileUnbound(
                                                                           ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../node_modules/nan/nan_new.h:189:0,
                                               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>, const v8::ScriptOrigin&)’:
                              ../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                 return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                            ^~~~~~~~~~~~~~
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                                      Local<UnboundScript> CompileUnbound(
                                                                           ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../node_modules/nan/nan_new.h:189:0,
                                               from ../node_modules/nan/nan.h:82,
                                               from ../src/validation.cc:15:
                              ../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                 return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                                                          ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1455:45: note: declared here
                                                      Local<UnboundScript> CompileUnbound(
                                                                           ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../src/validation.cc:15:0:
                              ../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:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
                                   return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                                                     ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:7539:22: note: declared here
                                               bool IdleNotification(int idle_time_in_ms));
                                                    ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../src/validation.cc:15:0:
                              ../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
                                     v8::Isolate::GCEpilogueCallback callback
                                     ^~
                              ../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:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
                                     v8::Isolate::GCEpilogueCallback callback) {
                                     ^~
                              ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
                                     v8::Isolate::GCPrologueCallback callback
                                                  ^~~~~~~~~~~~~~~~~~
                              ../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
                                     v8::Isolate::GCPrologueCallback callback
                                     ^~
                              ../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:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
                                     v8::Isolate::GCPrologueCallback callback) {
                                     ^~
                              ../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: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:60: error: ‘hint’ was not declared in this scope
                                       v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                                          ^~~~
                              ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
                              ../node_modules/nan/nan.h:672:67: 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:0:
                              /root/.node-gyp/8.15.1/include/node/node_buffer.h:67:40: note:   initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
                               NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                                                      ^~~
                              In file included from ../src/validation.cc:15:0:
                              ../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:12: 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: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                                        ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
                                     Local<Script> Compile(Isolate* isolate, Source* source,
                                                   ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              In file included from ../src/validation.cc:15:0:
                              ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
                              ../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                                                        ^
                              In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                               from ../src/validation.cc:7:
                              /root/.node-gyp/8.15.1/include/node/v8.h:1475:21: note: declared here
                                     Local<Script> Compile(Isolate* isolate, Source* source,
                                                   ^
                              /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                 declarator __attribute__((deprecated(message)))
                                 ^~~~~~~~~~
                              ../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:0:
                              /root/.node-gyp/8.15.1/include/node/node.h:308: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,
                                           ^~~~~~~~~~~~~~~
                              /root/.node-gyp/8.15.1/include/node/node.h:321: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,
                                           ^~~~~~~~~~~~~~~
                              validation.target.mk:101: die Regel für Ziel „Release/obj.target/validation/src/validation.o“ scheiterte
                              make: *** [Release/obj.target/validation/src/validation.o] Fehler 1
                              make: Verzeichnis „/opt/iobroker/node_modules/utf-8-validate/build“ wird verlassen
                              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:262:23)
                              gyp ERR! stack     at emitTwo (events.js:126:13)
                              gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
                              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
                              gyp ERR! System Linux 4.9.0-8-686-pae
                              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 v8.15.1
                              gyp ERR! node-gyp -v v3.8.0
                              gyp ERR! not ok 
                              npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
                              npm WARN request-promise-core@1.1.2 requires a peer of request@^2.34 but none is installed. You must install peer dependencies yourself.
                              npm WARN request-promise-native@1.0.7 requires a peer of request@^2.34 but none is installed. You must install peer dependencies yourself.
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate):
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild`
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                              
                              + iobroker.tankerkoenig@2.0.5
                              added 4 packages from 30 contributors and audited 31958 packages in 28.044s
                              found 56 vulnerabilities (38 low, 1 moderate, 17 high)
                                run `npm audit fix` to fix them, or `npm audit` for details
                              DONE iobroker.tankerkoenig
                              [..................] - fetchMetadata: sill resolveWithNewModule iobroker.telegram@1.4.3 checking installable status
                              
                              

                              Da ist die Konsole schon stark gefüllt.
                              Hmmm...hab das Problem echt bloß ich?
                              Seltsam wenn das an der 1.5.7 liegen sollte.
                              Mach nachher mal nen downgrade auf die 1.4.2 und kucke wie es da aussieht.

                              Segway 1 Reply Last reply Reply Quote 0
                              • Segway
                                Segway @PrinzEisenherz1 last edited by

                                @PrinzEisenherz1 sagte in neuerdings Fehler bei update von Adaptern:

                                und nochmal das reinstall laufen lassen

                                welches reinstall hast du benutzt ? von iobroker.net ? da laufen dann ja diese 4 Schritte durch.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  PrinzEisenherz1 last edited by

                                  ich hab die reinstall aus dem install-Ordner genommen.
                                  oder soll ich vielleicht node nochmal neu installieren?

                                  So, der reinstall ist jetzt durchgelaufen und so sieht es jetzt im logfile aus
                                  iobroker.2019-03-18.log

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    PrinzEisenherz1 last edited by

                                    Hab node nochmal neu installiert und ein reinstall laufen lassen.
                                    Also der Spuk mit den warnings beginnt ab dem reinstall vom js-controller.
                                    ich mache jetzt mal einen downgrade auf die 1.4.2 und mache nochmal einen reinstall.
                                    mal kucken was es da macht.

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      PrinzEisenherz1 last edited by

                                      Selbes Problem auch mit js-controller Version 1.4.2
                                      Habe zum Test dasWetter-Adapter aktualisiert und da ist das selbe Problem

                                      dasWetter.txt

                                      Keine Ahnung was da nicht stimmt. Liegt es vielleicht daran das ich iobroker auf nem 32-bit Debian installiert habe?

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        PrinzEisenherz1 last edited by

                                        Also ich hab jetzt ein komplett neues System aufgesetzt (jetzt 64Bit) und mit iobroker backup und restore wieder iobroker installiert.
                                        Egal was ich mach (hab jetzt auch node 10.15.3 umgestellt) erhalte ich diese Logeinträge beim installieren und deinstallieren.
                                        Beispiel löschen js2fs instanz

                                        $ ./iobroker del js2fs
                                        Delete adapter "js2fs"
                                        host.ioBroker-VM64 Counted 1 instances of js2fs
                                        host.ioBroker-VM64 Counted 1 adapters for js2fs
                                        host.ioBroker-VM64 Counted 10 states of js2fs
                                        host.ioBroker-VM64 Counted 12 states (system.adapter.js2fs.*) from states
                                        host.ioBroker-VM64 Deleting 12 object(s).
                                        host.ioBroker-VM64 Deleting 12 state(s).
                                        npm uninstall iobroker.js2fs --silent --save --prefix "/opt/iobroker" (System call)
                                        In file included from ../node_modules/nan/nan.h:190:0,                 from ../src/unix_dgram.cc:5:
                                        ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                                        ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                                           return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                                                       ^~~~~~~~
                                        
                                        In file included from ../src/unix_dgram.cc:5:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                                        ../node_modules/nan/nan.h:817: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 ../node_modules/nan/nan.h:47:0,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        In file included from ../src/unix_dgram.cc:5:0:
                                        ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                                        ../node_modules/nan/nan.h:831: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 ../node_modules/nan/nan.h:47:0,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/node.h:170:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        In file included from ../src/unix_dgram.cc:5:0:
                                        ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                                        ../node_modules/nan/nan.h:845: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 ../node_modules/nan/nan.h:47:0,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/node.h:163:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        
                                        In file included from ../src/unix_dgram.cc:5:0:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                                        ../node_modules/nan/nan.h:1463: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]
                                             ));
                                             ^
                                        In file included from ../node_modules/nan/nan.h:47:0,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here
                                                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                          ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                             __attribute__((deprecated(message))) declarator
                                                                                  ^~~~~~~~~~
                                        
                                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           domain      = info[0]->Int32Value();
                                                                             ^
                                        
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,                 from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           type        = info[1]->Int32Value();
                                                                             ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           protocol    = info[2]->Int32Value();
                                                                             ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        
                                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           fd = info[0]->Int32Value();
                                                                    ^
                                        
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,                 from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                           String::Utf8Value path(info[1]);
                                                                         ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here
                                                           explicit Utf8Value(Local<v8::Value> obj));
                                                                    ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        
                                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           fd = info[0]->Int32Value();
                                                                    ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           buf = info[1]->ToObject();
                                                                   ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63:0,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:10046:15: note: declared here
                                         Local<Object> Value::ToObject() const {
                                                       ^~~~~
                                        ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           offset = info[2]->Uint32Value();
                                                                         ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2477:47: note: declared here
                                           V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                                       ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           length = info[3]->Uint32Value();
                                                                         ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2477:47: note: declared here
                                           V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                                       ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                           String::Utf8Value path(info[4]);
                                                                         ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here
                                                           explicit Utf8Value(Local<v8::Value> obj));
                                                                    ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        
                                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           fd = info[0]->Int32Value();
                                                                    ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           buf = info[1]->ToObject();
                                                                   ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63:0,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:10046:15: note: declared here
                                         Local<Object> Value::ToObject() const {
                                                       ^~~~~
                                        
                                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           fd = info[0]->Int32Value();
                                                                    ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                           String::Utf8Value path(info[1]);
                                                                         ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here
                                                           explicit Utf8Value(Local<v8::Value> obj));
                                                                    ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        
                                        ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           fd = info[0]->Int32Value();
                                                                    ^
                                        In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0,
                                                         from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63,
                                                         from ../node_modules/nan/nan.h:47,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here
                                           V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                      ^
                                        /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        
                                        make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
                                        process exited with code 0
                                        

                                        Weiß langsam nicht mehr weiter. Alle Adapter sind jetzt stable aber trotzdem dieses Problem

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          PrinzEisenherz1 last edited by

                                          jetzt kann ich mit der neuen Installationroutine noch nicht mal mehr auf mein gemountetes cifs mit Script schreiben. iobroker-User. Zum kotzen.
                                          Jetzt schmieren mir alle Kamera-scripte ab die auf den NAS schreiben wollen.
                                          Super.
                                          Ich schmeiss den scheiß gleich raus.
                                          Seit 7 Stunden sitz ich jetzt hier.....kotz....

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          776
                                          Online

                                          31.8k
                                          Users

                                          80.0k
                                          Topics

                                          1.3m
                                          Posts

                                          adapter fehler installation
                                          4
                                          19
                                          799
                                          Loading More Posts
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          The ioBroker Community 2014-2023
                                          logo