NEWS
SOLVED XBox-Adapter Fehler
-
Systemdata Bitte Ausfüllen Hardwaresystem: Synology Docker Arbeitsspeicher: 10GB Festplattenart: HDD Betriebssystem: Synology Node-Version: 10.17.0 Nodejs-Version: 10.17.0 NPM-Version: 6.11.3 Installationsart: Image Image genutzt: Ja Ort/Name der Imagedatei: Buanet Ich habe heute den Adapter auf 0.5.12 upgedatet.
Seitdem bleibt er Gelb und es kommen regelmäßig Fehler im Log.Kannst du mit dem Log was anfangen?
xbox.0 2020-01-17 19:17:42.985 info (15335) [END] cleaned everything up... xbox.0 2020-01-17 19:17:42.972 info (15335) [END] REST server stopped xbox.0 2020-01-17 19:17:42.953 info (15335) Got terminate signal TERMINATE_YOURSELF xbox.0 2020-01-17 19:17:42.313 warn (15335) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 19:17:41.310 warn (15335) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 19:17:40.306 warn (15335) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 19:17:39.303 warn (15335) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 19:17:38.299 warn (15335) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 19:17:33.443 error (15335) [START] Restarting adapter in 30 seconds xbox.0 2020-01-17 19:17:33.443 error SyntaxError: invalid syntax xbox.0 2020-01-17 19:17:33.443 error ^ xbox.0 2020-01-17 19:17:33.443 error cls, data, context=None, many=None, partial=None, unknown=None, *args, **kwargs, xbox.0 2020-01-17 19:17:33.443 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/models.py", line 209 xbox.0 2020-01-17 19:17:33.443 error from marshmallow_objects.models import ( # noqa xbox.0 2020-01-17 19:17:33.443 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/__init__.py", line 3, in <module> xbox.0 2020-01-17 19:17:33.443 error from marshmallow_objects import Model, NestedModel, fields xbox.0 2020-01-17 19:17:33.443 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/json_model.py", line 4, in <module> xbox.0 2020-01-17 19:17:33.443 error from xbox.stump import json_model xbox.0 2020-01-17 19:17:33.443 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/manager.py", line 13, in <module> xbox.0 2020-01-17 19:17:33.443 error from xbox.stump.manager import StumpManager xbox.0 2020-01-17 19:17:33.443 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/consolewrap.py", line 6, in <module> xbox.0 2020-01-17 19:17:33.443 error from ..consolewrap import ConsoleWrap xbox.0 2020-01-17 19:17:33.443 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/device.py", line 6, in <module> xbox.0 2020-01-17 19:17:33.443 error from .device import * xbox.0 2020-01-17 19:17:33.443 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/__init__.py", line 6, in <module> xbox.0 2020-01-17 19:17:33.443 error from .routes import routes xbox.0 2020-01-17 19:17:33.443 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/app.py", line 5, in <module> xbox.0 2020-01-17 19:17:33.443 error from xbox.rest.app import app xbox.0 2020-01-17 19:17:33.443 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/scripts/rest_server.py", line 9, in <module> xbox.0 2020-01-17 19:17:33.443 error from xbox.rest.scripts.rest_server import main xbox.0 2020-01-17 19:17:33.443 error File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server", line 5, in <module> xbox.0 2020-01-17 19:17:33.443 error Traceback (most recent call last): xbox.0 2020-01-17 19:17:33.443 error (15335) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found xbox.0 2020-01-17 19:17:31.717 info (15335) [START] Starting REST server xbox.0 2020-01-17 19:17:31.685 info (15335) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-17 19:17:25.731 info (15299) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason xbox.0 2020-01-17 19:17:25.730 info (15299) terminating
Danke
-
Ich vermute in einem der Python Pakete wurde die Depndency nur auf eine Minimal Version als Vorraussetzung festgelegt. Da es Anfang Mai eine Version mit Major increase von
marshmallow-objects
gab, wo bei dir der Fehler auftritt, vermute ich dass du die neue Version bekommen hast und die was kaputt macht.Kannst mal mit
pip3 show marshmallow-objects
checken. -
@foxriver76 sagte in XBox-Adapter Fehler:
Kannst mal mit pip3 show marshmallow-objects checken.
pip3 wird nicht gefunden
root@iobroker:/opt/iobroker# pip3 show marshmallow-objects bash: pip3: Kommando nicht gefunden.
-
Probier mal
pip show marshmallow-objects
-
@foxriver76 sagte in XBox-Adapter Fehler:
pip show marshmallow-objects
bash: pip: Kommando nicht gefunden.
Hab jetzt nochmal versucht den Adapter upzudaten.
Dies alles kommt im log beim Update.$ ./iobroker url "https://github.com/foxriver76/ioBroker.xbox/tarball/master" xbox install https://github.com/foxriver76/ioBroker.xbox/tarball/master NPM version: 6.11.3 npm install https://github.com/foxriver76/ioBroker.xbox/tarball/master --loglevel error --prefix "/opt/iobroker" (System call) dpkg-query: Paket »libssl-dev« ist nicht installiert und es ist keine Information verfügbarVerwenden Sie dpkg --info (= dpkg-deb --info) zum Untersuchen von Archivenund dpkg --contents (= dpkg-deb --contents) zum Auflisten ihres Inhalts. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root? 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::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); } ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10052:16: note: declared here Local<Integer> Value::ToInteger() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82: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: error: no matching function for call to ‘v8::Integer::ToInt32()’ To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); } ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const Local<Int32> ToInt32(Isolate* isolate) const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan.h:82: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: error: no matching function for call to ‘v8::Integer::ToUint32()’ To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); } ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate expects 1 argument, 0 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate: static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool) static Local<Value> New(Isolate* isolate, bool value); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 providedIn 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:49:60: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’:../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’ v8::String::kNormalString, length); ^ In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte( ^~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: candidate: static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*) Local<String> NewExternal(Isolate* isolate, ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’ Local<String> NewExternal(Isolate* isolate, ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189: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:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:../node_modules/nan/nan_implementation_12_inl.h:244:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’:../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ? optionsObj->Get(opt)->Uint32Value() ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/bufferutil.cc:16: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:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’? return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^~~~~~~~~~~~~~~~ ../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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_buffer.h:68: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_t)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_t)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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’:../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->BindToCurrentContext()->Run(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’:../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->Run(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv)); ^In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv)); ^In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) const’:../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’ # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val)) ^~~ In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’:../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value>)’:../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] NanAssignPersistent(t_, t->ToObject()); ^ In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:../src/bufferutil.cc:30:52: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask); ^ In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~../src/bufferutil.cc:31:48: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "mask", BufferUtil::Mask); ^In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~../src/bufferutil.cc:32:50: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "merge", BufferUtil::Merge); ^In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Merge(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/bufferutil.cc:49:49: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> bufferObj = args[0]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> src = array->Get(i)->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Unmask(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/bufferutil.cc:67:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:69:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> mask_obj = args[1]->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Mask(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/bufferutil.cc:88:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:89:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> mask_obj = args[1]->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:91:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> output_obj = args[2]->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:92:51: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int dataOffset = args[3]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/bufferutil.cc:93:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int length = args[4]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 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:193:23)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.4.59+ 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/bufferutilgyp ERR! node -v v10.17.0gyp ERR! node-gyp -v v5.0.3gyp 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::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); } ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10052:16: note: declared here Local<Integer> Value::ToInteger() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82: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: error: no matching function for call to ‘v8::Integer::ToInt32()’ To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); } ^ In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const Local<Int32> ToInt32(Isolate* isolate) const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan.h:82: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: error: no matching function for call to ‘v8::Integer::ToUint32()’ To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); } ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate expects 1 argument, 0 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate: static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool) static Local<Value> New(Isolate* isolate, bool value); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 providedIn 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:49:60: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’:../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’ v8::String::kNormalString, length); ^ In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte( ^~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: candidate: static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*) Local<String> NewExternal(Isolate* isolate, ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’ Local<String> NewExternal(Isolate* isolate, ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189: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:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:../node_modules/nan/nan_implementation_12_inl.h:244:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’:../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ? optionsObj->Get(opt)->Uint32Value() ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/validation.cc:15: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:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’? return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^~~~~~~~~~~~~~~~ ../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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_buffer.h:68: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_t)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_t)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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’:../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->BindToCurrentContext()->Run(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’:../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->Run(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^In file included from ../src/validation.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv)); ^In file included from ../src/validation.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv)); ^In file included from ../src/validation.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) const’:../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’ # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val)) ^~~ In file included from ../src/validation.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’:../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value>)’:../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] NanAssignPersistent(t_, t->ToObject()); ^ In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/validation.cc: In static member function ‘static void Validation::Initialize(v8::Handle<v8::Object>)’:../src/validation.cc:112:62: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8); ^ In file included from ../src/validation.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/validation.cc: In static member function ‘static void Validation::IsValidUTF8(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/validation.cc:132:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^ In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ 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:193:23)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.4.59+ 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-validategyp ERR! node -v v10.17.0gyp ERR! node-gyp -v v5.0.3gyp ERR! not ok Cache entry deserialization failed, entry ignored upload [2] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/xbox.png xbox.png image/png upload [1] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/words.js words.js application/javascript upload [0] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/index_m.html index_m.html text/html Update "system.adapter.xbox.0" process exited with code 0
-
@Negalein Fehlen auf jeden Fall Pakete.. komisch. Mach mal
sudo apt install -y build-essential libssl-dev libffi-dev python3-dev
-
@foxriver76 sagte in XBox-Adapter Fehler:
sudo apt install -y build-essential libssl-dev libffi-dev python3-dev
root@iobroker:/opt/iobroker# sudo apt install -y build-essential libssl-dev libffi-dev python3-dev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paket python3-dev ist nicht verfügbar, wird aber von einem anderen Paket referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst wurde oder nur aus einer anderen Quelle verfügbar ist. E: Paket libssl-dev kann nicht gefunden werden. E: Paket libffi-dev kann nicht gefunden werden. E: Für Paket »python3-dev« existiert kein Installationskandidat.
-
@Negalein Du hast nur den Adapter aktualisiert, kein neues Docker Image oder so? Ist das Debian Stretch?
-
@foxriver76 sagte in XBox-Adapter Fehler:
Du hast nur den Adapter aktualisiert, kein neues Docker Image oder so?
Ja, nur das Update vom Adapter gemacht
Ist das Debian Stretch?
da hab ich leider keine Ahnung
vielleicht hilft dir das noch weiter.
Ich verwende JS-Controller 2.1.1 -
@Negalein Merkwürdig, dann müsste ja alles drauf sein und dass er die Pakete alle net findet ist auch Strange.was kommt denn bei
apt update
raus? -
@foxriver76 sagte in XBox-Adapter Fehler:
was kommt denn bei apt update raus?
root@iobroker:/opt/iobroker# apt update Ign:1 http://deb.debian.org/debian stretch InRelease Holen:2 http://security.debian.org/debian-security stretch/updates InRelease [94,3 kB] Holen:3 http://deb.debian.org/debian stretch-updates InRelease [91,0 kB] Holen:4 http://deb.debian.org/debian stretch Release [118 kB] Holen:5 https://deb.nodesource.com/node_10.x stretch InRelease [4.585 B] Holen:6 http://deb.debian.org/debian stretch Release.gpg [2.365 B] Holen:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [513 kB] Holen:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages [27,9 kB] Holen:9 https://deb.nodesource.com/node_10.x stretch/main amd64 Packages [766 B] Holen:10 http://deb.debian.org/debian stretch/main amd64 Packages [7.086 kB] Es wurden 7.938 kB in 4 s geholt (1.805 kB/s). Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 11 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
-
@Negalein
apt list --upgradeable
und mach nochmalapt install -y build-essential libssl-dev libffi-dev python3-dev
nach dem Update jetzt wobei er die Paketlisten davor aktualisiert haben sollte -
@foxriver76 sagte in XBox-Adapter Fehler:
apt list --upgradeable und mach nochmal apt install -y build-essential libssl-dev libffi-dev python3-dev
jetzt wurde einiges nachinstalliert.
Aber hier findet er auch noch nichts
root@iobroker:/opt/iobroker# pip3 show marshmallow-objects bash: pip3: Kommando nicht gefunden. root@iobroker:/opt/iobroker# pip show marshmallow-objects bash: pip: Kommando nicht gefunden. root@iobroker:/opt/iobroker#
Adapter bleibt gelb
xbox.0 2020-01-17 22:36:18.260 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:18.259 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:17.256 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:17.256 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:16.253 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:16.252 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:15.249 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:15.248 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:14.245 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:14.245 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:13.241 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:13.240 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:13.231 debug (13972) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 22:36:08.388 error (13972) [START] Restarting adapter in 30 seconds xbox.0 2020-01-17 22:36:08.388 error SyntaxError: invalid syntax xbox.0 2020-01-17 22:36:08.388 error ^ xbox.0 2020-01-17 22:36:08.388 error cls, data, context=None, many=None, partial=None, unknown=None, *args, **kwargs, xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/models.py", line 209 xbox.0 2020-01-17 22:36:08.388 error from marshmallow_objects.models import ( # noqa xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/__init__.py", line 3, in <module> xbox.0 2020-01-17 22:36:08.388 error from marshmallow_objects import Model, NestedModel, fields xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/json_model.py", line 4, in <module> xbox.0 2020-01-17 22:36:08.388 error from xbox.stump import json_model xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/manager.py", line 13, in <module> xbox.0 2020-01-17 22:36:08.388 error from xbox.stump.manager import StumpManager xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/consolewrap.py", line 6, in <module> xbox.0 2020-01-17 22:36:08.388 error from ..consolewrap import ConsoleWrap xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/device.py", line 6, in <module> xbox.0 2020-01-17 22:36:08.388 error from .device import * xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/__init__.py", line 6, in <module> xbox.0 2020-01-17 22:36:08.388 error from .routes import routes xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/app.py", line 5, in <module> xbox.0 2020-01-17 22:36:08.388 error from xbox.rest.app import app xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/scripts/rest_server.py", line 9, in <module> xbox.0 2020-01-17 22:36:08.388 error from xbox.rest.scripts.rest_server import main xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server", line 5, in <module> xbox.0 2020-01-17 22:36:08.388 error Traceback (most recent call last): xbox.0 2020-01-17 22:36:08.388 error (13972) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found xbox.0 2020-01-17 22:36:06.667 info (13972) [START] Starting REST server xbox.0 2020-01-17 22:36:06.667 debug (13972) [START] IP address is 10.0.1.83 xbox.0 2020-01-17 22:36:06.643 info (13972) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-17 22:36:04.231 debug (13972) States connected to redis: 0.0.0.0:9000 xbox.0 2020-01-17 22:36:04.158 debug (13972) statesDB connected xbox.0 2020-01-17 22:36:04.157 debug (13972) States create PubSub Client xbox.0 2020-01-17 22:36:04.147 debug (13972) Objects connected to redis: 0.0.0.0:9001 xbox.0 2020-01-17 22:36:04.145 debug (13972) Redis States: Use Redis connection: 0.0.0.0:9000 xbox.0 2020-01-17 22:36:04.143 debug (13972) objectDB connected xbox.0 2020-01-17 22:36:04.131 debug (13972) Objects client initialize lua scripts xbox.0 2020-01-17 22:36:04.130 debug (13972) Objects create PubSub Client xbox.0 2020-01-17 22:36:04.119 debug (13972) Objects client ready ... initialize now xbox.0 2020-01-17 22:36:04.085 debug (13972) Redis Objects: Use Redis connection: 0.0.0.0:9001 xbox.0 2020-01-17 22:36:00.633 info (13512) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason xbox.0 2020-01-17 22:36:00.632 info (13512) terminating xbox.0 2020-01-17 22:36:00.631 info (13512) [END] cleaned everything up... xbox.0 2020-01-17 22:36:00.617 info (13512) [END] REST server stopped xbox.0 2020-01-17 22:36:00.604 debug (13512) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 22:36:00.595 info (13512) Got terminate signal TERMINATE_YOURSELF xbox.0 2020-01-17 22:36:00.460 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:00.459 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:59.456 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:59.455 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:59.352 debug (13512) [CHECK] Auth is not established xbox.0 2020-01-17 22:35:59.351 debug (13512) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:35:59.350 debug (13512) [CONNECT] Check connection xbox.0 2020-01-17 22:35:59.349 error (13512) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:35:59.346 debug (13512) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:35:59.343 debug (13512) [PING] Xbox online xbox.0 2020-01-17 22:35:58.450 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:58.449 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:57.447 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:57.447 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:56.443 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:56.443 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:55.440 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:55.439 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:54.437 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:54.437 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:53.433 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:53.433 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:53.354 debug (13512) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:35:53.353 debug (13512) [CONNECT] Check connection xbox.0 2020-01-17 22:35:53.352 error (13512) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:35:53.348 debug (13512) [CHECK] Auth is not established xbox.0 2020-01-17 22:35:53.346 debug (13512) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:35:53.341 debug (13512) [PING] Xbox online xbox.0 2020-01-17 22:35:52.430 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:52.429 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:51.427 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:51.427 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:50.425 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:50.425 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:49.422 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:49.421 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:48.419 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:48.418 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:47.416 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:47.416 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:47.354 debug (13512) [CHECK] Auth is not established xbox.0 2020-01-17 22:35:47.352 debug (13512) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:35:47.352 debug (13512) [CONNECT] Check connection xbox.0 2020-01-17 22:35:47.351 error (13512) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:35:47.345 debug (13512) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:35:47.344 debug (13512) [PING] Xbox online xbox.0 2020-01-17 22:35:46.412 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:46.412 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:45.409 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:45.409 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:44.406 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:44.405 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:43.402 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:43.402 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:42.399 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:42.398 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:41.396 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:41.395 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:41.364 debug (13512) [CHECK] Auth is not established xbox.0 2020-01-17 22:35:41.362 warn (13512) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:35:41.361 debug (13512) [CONNECT] Check connection xbox.0 2020-01-17 22:35:41.359 error (13512) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:35:41.353 debug (13512) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:35:41.349 debug (13512) [PING] Xbox online xbox.0 2020-01-17 22:35:40.393 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:40.392 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:39.390 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:39.389 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:38.386 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:38.386 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:37.382 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:37.382 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:36.379 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:36.379 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:35.376 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:35.375 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:35.362 debug (13512) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 22:35:30.570 error (13512) [START] Restarting adapter in 30 seconds xbox.0 2020-01-17 22:35:30.569 error SyntaxError: invalid syntax xbox.0 2020-01-17 22:35:30.569 error ^ xbox.0 2020-01-17 22:35:30.569 error cls, data, context=None, many=None, partial=None, unknown=None, *args, **kwargs, xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/models.py", line 209 xbox.0 2020-01-17 22:35:30.569 error from marshmallow_objects.models import ( # noqa xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/__init__.py", line 3, in <module> xbox.0 2020-01-17 22:35:30.569 error from marshmallow_objects import Model, NestedModel, fields xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/json_model.py", line 4, in <module> xbox.0 2020-01-17 22:35:30.569 error from xbox.stump import json_model xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/manager.py", line 13, in <module> xbox.0 2020-01-17 22:35:30.569 error from xbox.stump.manager import StumpManager xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/consolewrap.py", line 6, in <module> xbox.0 2020-01-17 22:35:30.569 error from ..consolewrap import ConsoleWrap xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/device.py", line 6, in <module> xbox.0 2020-01-17 22:35:30.569 error from .device import * xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/__init__.py", line 6, in <module> xbox.0 2020-01-17 22:35:30.569 error from .routes import routes xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/app.py", line 5, in <module> xbox.0 2020-01-17 22:35:30.569 error from xbox.rest.app import app xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/scripts/rest_server.py", line 9, in <module> xbox.0 2020-01-17 22:35:30.569 error from xbox.rest.scripts.rest_server import main xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server", line 5, in <module> xbox.0 2020-01-17 22:35:30.569 error Traceback (most recent call last): xbox.0 2020-01-17 22:35:30.569 error (13512) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found xbox.0 2020-01-17 22:35:28.778 info (13512) [START] Starting REST server xbox.0 2020-01-17 22:35:28.777 debug (13512) [START] IP address is 10.0.1.83 xbox.0 2020-01-17 22:35:28.744 info (13512) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-17 22:35:26.261 debug (13512) States connected to redis: 0.0.0.0:9000 xbox.0 2020-01-17 22:35:26.209 debug (13512) statesDB connected xbox.0 2020-01-17 22:35:26.208 debug (13512) States create PubSub Client xbox.0 2020-01-17 22:35:26.198 debug (13512) Objects connected to redis: 0.0.0.0:9001 xbox.0 2020-01-17 22:35:26.195 debug (13512) Redis States: Use Redis connection: 0.0.0.0:9000 xbox.0 2020-01-17 22:35:26.193 debug (13512) objectDB connected xbox.0 2020-01-17 22:35:26.181 debug (13512) Objects client initialize lua scripts xbox.0 2020-01-17 22:35:26.180 debug (13512) Objects create PubSub Client xbox.0 2020-01-17 22:35:26.171 debug (13512) Objects client ready ... initialize now xbox.0 2020-01-17 22:35:26.132 debug (13512) Redis Objects: Use Redis connection: 0.0.0.0:9001 xbox.0 2020-01-17 22:34:50.623 info (13026) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason xbox.0 2020-01-17 22:34:50.580 info (13026) [END] cleaned everything up... xbox.0 2020-01-17 22:34:50.553 error (13026) [START] Restarting adapter in 30 seconds xbox.0 2020-01-17 22:34:50.552 error (13026) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found xbox.0 2020-01-17 22:34:50.549 info (13026) [END] REST server stopped xbox.0 2020-01-17 22:34:50.531 debug (13026) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 22:34:49.348 info (13026) [START] Starting REST server xbox.0 2020-01-17 22:34:49.348 debug (13026) [START] IP address is 10.0.1.83 xbox.0 2020-01-17 22:34:49.325 info (13026) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-17 22:34:48.503 info (13026) Got terminate signal TERMINATE_YOURSELF xbox.0 2020-01-17 22:34:46.717 debug (13026) States connected to redis: 0.0.0.0:9000 xbox.0 2020-01-17 22:34:46.664 debug (13026) statesDB connected xbox.0 2020-01-17 22:34:46.663 debug (13026) States create PubSub Client xbox.0 2020-01-17 22:34:46.632 debug (13026) Objects connected to redis: 0.0.0.0:9001 xbox.0 2020-01-17 22:34:46.629 debug (13026) Redis States: Use Redis connection: 0.0.0.0:9000 xbox.0 2020-01-17 22:34:46.627 debug (13026) objectDB connected xbox.0 2020-01-17 22:34:46.615 debug (13026) Objects client initialize lua scripts xbox.0 2020-01-17 22:34:46.614 debug (13026) Objects create PubSub Client xbox.0 2020-01-17 22:34:46.606 debug (13026) Objects client ready ... initialize now xbox.0 2020-01-17 22:34:46.570 debug (13026) Redis Objects: Use Redis connection: 0.0.0.0:9001 xbox.0 2020-01-17 22:34:43.136 info (12526) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason xbox.0 2020-01-17 22:34:43.135 info (12526) terminating xbox.0 2020-01-17 22:34:43.135 info (12526) [END] cleaned everything up... xbox.0 2020-01-17 22:34:43.118 info (12526) [END] REST server stopped xbox.0 2020-01-17 22:34:43.105 debug (12526) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 22:34:43.099 info (12526) Got terminate signal TERMINATE_YOURSELF xbox.0 2020-01-17 22:34:42.947 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:42.946 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:41.941 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:41.939 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:41.853 debug (12526) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:34:41.852 debug (12526) [CONNECT] Check connection xbox.0 2020-01-17 22:34:41.851 error (12526) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:34:41.850 debug (12526) [CHECK] Auth is not established xbox.0 2020-01-17 22:34:41.848 debug (12526) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:34:41.838 debug (12526) [PING] Xbox online xbox.0 2020-01-17 22:34:40.937 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:40.936 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:39.934 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:39.934 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:38.931 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:38.930 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:37.928 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:37.927 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:36.924 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:36.923 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:35.920 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:35.920 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:35.843 debug (12526) [CHECK] Auth is not established xbox.0 2020-01-17 22:34:35.839 debug (12526) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:34:35.839 debug (12526) [CONNECT] Check connection xbox.0 2020-01-17 22:34:35.838 error (12526) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:34:35.834 debug (12526) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:34:35.831 debug (12526) [PING] Xbox online xbox.0 2020-01-17 22:34:34.918 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:34.918 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:33.915 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:33.914 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:32.912 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:32.912 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:31.909 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:31.909 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:30.905 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:30.905 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:29.894 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:29.894 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:29.843 debug (12526) [CHECK] Auth is not established xbox.0 2020-01-17 22:34:29.839 debug (12526) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:34:29.839 debug (12526) [CONNECT] Check connection
-
@Negalein was sagt er denn jetzt bei
apt install -y build-essential libssl-dev libffi-dev python3-dev
? -
@foxriver76 sagte in XBox-Adapter Fehler:
was sagt er denn jetzt bei apt install -y build-essential libssl-dev libffi-dev python3-dev?
root@iobroker:/opt/iobroker# apt install -y build-essential libssl-dev libffi-dev python3-dev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig build-essential ist schon die neueste Version (12.3). libffi-dev ist schon die neueste Version (3.2.1-6). python3-dev ist schon die neueste Version (3.5.3-1). libssl-dev ist schon die neueste Version (1.1.0l-1~deb9u1). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 11 nicht aktualisiert. root@iobroker:/opt/iobroker#
-
@Negalein schon mal gut. Ja pip ist nicht installiert, ich habe da was über node mit ausgeliefert falls pip nicht existiert. Ich schaue mal wenn ich am PC bin wie man die Version herausfindet und downgradet.
Kannst nochmal ein reinstall des Adapters probieren, falls es an fehlenden Libs lag.
-
@foxriver76 sagte in XBox-Adapter Fehler:
Kannst nochmal ein reinstall des Adapters probieren, falls es an fehlenden Libs lag.
noch immer viele Fehler
$ ./iobroker url "https://github.com/foxriver76/ioBroker.xbox/tarball/master" xbox install https://github.com/foxriver76/ioBroker.xbox/tarball/master NPM version: 6.11.3 npm install https://github.com/foxriver76/ioBroker.xbox/tarball/master --loglevel error --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::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); } ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10052:16: note: declared here Local<Integer> Value::ToInteger() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82: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: error: no matching function for call to ‘v8::Integer::ToInt32()’ To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); } ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const Local<Int32> ToInt32(Isolate* isolate) const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan.h:82: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: error: no matching function for call to ‘v8::Integer::ToUint32()’ To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); } ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate expects 1 argument, 0 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate: static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool) static Local<Value> New(Isolate* isolate, bool value); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 providedIn 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:49:60: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’:../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’ v8::String::kNormalString, length); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte( ^~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: candidate: static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*) Local<String> NewExternal(Isolate* isolate, ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’ Local<String> NewExternal(Isolate* isolate, ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189: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:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:../node_modules/nan/nan_implementation_12_inl.h:244:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’:../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ? optionsObj->Get(opt)->Uint32Value() ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/bufferutil.cc:16: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:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’? return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^~~~~~~~~~~~~~~~ ../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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_buffer.h:68: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_t)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_t)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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’:../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->BindToCurrentContext()->Run(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’:../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->Run(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv)); ^In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv)); ^In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) const’:../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’ # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val)) ^~~In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’:../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value>)’:../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] NanAssignPersistent(t_, t->ToObject()); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:../src/bufferutil.cc:30:52: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask); ^In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~../src/bufferutil.cc:31:48: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "mask", BufferUtil::Mask); ^In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~../src/bufferutil.cc:32:50: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "merge", BufferUtil::Merge); ^ In file included from ../src/bufferutil.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Merge(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/bufferutil.cc:49:49: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> bufferObj = args[0]->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> src = array->Get(i)->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc: In static member function ‘static void BufferUtil::Unmask(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/bufferutil.cc:67:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:69:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> mask_obj = args[1]->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Mask(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/bufferutil.cc:88:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:89:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> mask_obj = args[1]->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:91:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> output_obj = args[2]->ToObject(); ^In file included from ../src/bufferutil.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:92:51: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int dataOffset = args[3]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/bufferutil.cc:93:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int length = args[4]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 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:193:23)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.4.59+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/bufferutilgyp ERR! node -v v10.17.0gyp ERR! node-gyp -v v5.0.3gyp 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::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); } ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10052:16: note: declared here Local<Integer> Value::ToInteger() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82: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: error: no matching function for call to ‘v8::Integer::ToInt32()’ To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); } ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const Local<Int32> ToInt32(Isolate* isolate) const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan.h:82: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: error: no matching function for call to ‘v8::Integer::ToUint32()’ To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); } ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate expects 1 argument, 0 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate: static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool) static Local<Value> New(Isolate* isolate, bool value); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 providedIn 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:49:60: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’:../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’ v8::String::kNormalString, length); ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte( ^~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: candidate: static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*) Local<String> NewExternal(Isolate* isolate, ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’ Local<String> NewExternal(Isolate* isolate, ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~In file included from ../node_modules/nan/nan_new.h:189: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:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:../node_modules/nan/nan_implementation_12_inl.h:244:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’:../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ? optionsObj->Get(opt)->Uint32Value() ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/validation.cc:15: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:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’? return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^~~~~~~~~~~~~~~~ ../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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_buffer.h:68: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_t)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_t)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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’:../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->BindToCurrentContext()->Run(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’:../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->Run(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^In file included from ../src/validation.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv)); ^In file included from ../src/validation.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv)); ^In file included from ../src/validation.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) const’:../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’ # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val)) ^~~ In file included from ../src/validation.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’:../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value>)’:../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] NanAssignPersistent(t_, t->ToObject()); ^In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/validation.cc: In static member function ‘static void Validation::Initialize(v8::Handle<v8::Object>)’:../src/validation.cc:112:62: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8); ^In file included from ../src/validation.cc:8:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/validation.cc: In static member function ‘static void Validation::IsValidUTF8(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/validation.cc:132:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^ In file included from ../src/validation.cc:7:0:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ 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:193:23)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.4.59+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-validategyp ERR! node -v v10.17.0gyp ERR! node-gyp -v v5.0.3gyp ERR! not ok ERROR: xbox-smartglass-core 1.0.12 has requirement urwid==2.0.1, but you'll have urwid 2.1.0 which is incompatible. upload [2] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/xbox.png xbox.png image/png upload [1] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/words.js words.js application/javascript upload [0] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/index_m.html index_m.html text/html process exited with code 0
-
@Negalein
Mach mal bitte eine händische Installation.rm -r /opt/iobroker/node_modules/iobroker.xbox/
npm i iobroker.xbox --unsafe-perm --prefix /opt/iobroker --production
-
@foxriver76 sagte in XBox-Adapter Fehler:
rm -r /opt/iobroker/node_modules/iobroker.xbox/
da kommt bei Enter nur eine neue Zeile. Sonst keine Meldung.
npm i iobroker.xbox --unsafe-perm --prefix /opt/iobroker --production
hier der Log (leider der Anfang abgeschnitten)
from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h:49:60: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’: ../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’ v8::String::kNormalString, length); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte( ^~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: candidate: static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*) Local<String> NewExternal(Isolate* isolate, ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’ Local<String> NewExternal(Isolate* isolate, ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189: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:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan_implementation_12_inl.h:244:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’: ../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ? optionsObj->Get(opt)->Uint32Value() ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16: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:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’? return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^~~~~~~~~~~~~~~~ ../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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node_buffer.h:68: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_t)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_t)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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided 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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’: ../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->BindToCurrentContext()->Run(); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’: ../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->Run(); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ isdeprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv)); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated:Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv)); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) const’: ../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ isdeprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ ../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’ # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val)) ^~~ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’: ../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value>)’: ../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] NanAssignPersistent(t_, t->ToObject()); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(v8::Handle<v8::Object>)’: ../src/bufferutil.cc:30:52: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/bufferutil.cc:31:48: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "mask", BufferUtil::Mask); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/bufferutil.cc:32:50: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "merge", BufferUtil::Merge); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Merge(const v8::FunctionCallbackInfo<v8::Value>&)’: ../src/bufferutil.cc:49:49: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> bufferObj = args[0]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> src = array->Get(i)->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Unmask(const v8::FunctionCallbackInfo<v8::Value>&)’: ../src/bufferutil.cc:67:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:69:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> mask_obj = args[1]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Mask(const v8::FunctionCallbackInfo<v8::Value>&)’: ../src/bufferutil.cc:88:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:89:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> mask_obj = args[1]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:91:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> output_obj = args[2]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:92:51: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int dataOffset = args[3]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/bufferutil.cc:93:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int length = args[4]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ bufferutil.target.mk:105: 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:193:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.4.59+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/bufferutil gyp ERR! node -v v10.17.0 gyp ERR! node-gyp -v v5.0.3 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::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); } ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10052:16: note: declared here Local<Integer> Value::ToInteger() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82: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: error: no matching function for call to ‘v8::Integer::ToInt32()’ To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); } ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const Local<Int32> ToInt32(Isolate* isolate) const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan.h:82: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: error: no matching function for call to ‘v8::Integer::ToUint32()’ To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); } ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate expects 1 argument, 0 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate: static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool) static Local<Value> New(Isolate* isolate, bool value); ^~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h:49:60: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’: ../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’ v8::String::kNormalString, length); ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte( ^~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../node_modules/nan/nan_new.h:189: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: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: candidate: static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*) Local<String> NewExternal(Isolate* isolate, ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’ Local<String> NewExternal(Isolate* isolate, ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189: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:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan_implementation_12_inl.h:244:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’: ../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ? optionsObj->Get(opt)->Uint32Value() ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15: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:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’? return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^~~~~~~~~~~~~~~~ ../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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node_buffer.h:68: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_t)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_t)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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided 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: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’: ../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->BindToCurrentContext()->Run(); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’: ../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->Run(); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ isdeprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^ In file included from ../src/validation.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv)); ^ In file included from ../src/validation.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated:Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv)); ^ In file included from ../src/validation.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) const’: ../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ isdeprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ ../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’ # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val)) ^~~ In file included from ../src/validation.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’: ../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value>)’: ../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] NanAssignPersistent(t_, t->ToObject()); ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/validation.cc: In static member function ‘static void Validation::Initialize(v8::Handle<v8::Object>)’: ../src/validation.cc:112:62: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’is ambiguous NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8); ^ In file included from ../src/validation.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/validation.cc: In static member function ‘static void Validation::IsValidUTF8(const v8::FunctionCallbackInfo<v8::Value>&)’: ../src/validation.cc:132:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^ In file included from ../src/validation.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ validation.target.mk:105: 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:193:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.4.59+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate gyp ERR! node -v v10.17.0 gyp ERR! node-gyp -v v5.0.3 gyp ERR! not ok > iobroker.xbox@0.5.12 install /opt/iobroker/node_modules/iobroker.xbox > npip install No python_modules directory; installing pip locally if needed. Successfully completed pip check. Collecting xbox-smartglass-rest>=0.9.8 Using cached https://files.pythonhosted.org/packages/4d/4f/f035df8a2ec5742b9e772071e006ea21aae3fc3bd0963753cfc1045d6fda/xbox_smartglass_rest-0.9.8-py2.py3-none-any.whl Collecting xbox-webapi>=1.1.7 Using cached https://files.pythonhosted.org/packages/2d/bf/aaf24cc78184393c5c2472e822c0e145b793e346a8085bee02e89a3428ba/xbox_webapi-1.1.7-py2.py3-none-any.whl Collecting xbox-smartglass-core>=1.0.12 Using cached https://files.pythonhosted.org/packages/13/c8/2ffce1ddabe5b73422c7c46e808e4b02dbbc9362d2ecd2aee2a65e6e30a5/xbox_smartglass_core-1.0.12-py2.py3-none-any.whl Collecting xbox-smartglass-stump>=0.9.5 Using cached https://files.pythonhosted.org/packages/34/f0/a75667f67ce6251b96a6989b8169eb9f2e25407ce2b0888e544b8caa98fe/xbox_smartglass_stump-0.9.5-py2.py3-none-any.whl Collecting Flask Using cached https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/49/b5/ad/7355506059779337473b8eeb49384c9c0a9d45d34c8211a96d/urwid-2.1.0-cp35-cp35m-linux_x86_64.whl Collecting appdirs Using cached https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl Collecting requests Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/c5/d2/ab/a54fb5ea53ac3badba098160e8452fa126a51febda80440ded/demjson-2.2.4-cp35-none-any.whl Processing /home/iobroker/.cache/pip/wheels/13/cd/02/acabe4bfa9899d53c3e3b13675610d2e2dcb9ae110359d4f61/construct-2.9.41-cp35-none-any.whl Collecting cryptography==2.3.1 Using cached https://files.pythonhosted.org/packages/59/32/92cade62c645756a83598edf56289e9b19aae5370642a7ce690cd06bc72f/cryptography-2.3.1-cp34-abi3-manylinux1_x86_64.whl Collecting gevent==1.3.7 Using cached https://files.pythonhosted.org/packages/87/c4/9afb40b4a8b9186787d477aa6ebcfa17ead40ecbf83d5a1ed53dadd4f6ef/gevent-1.3.7-cp35-cp35m-manylinux1_x86_64.whl Collecting aenum==2.1.2; python_version <= "3.5" Using cached https://files.pythonhosted.org/packages/0d/46/5b6a6c13fee40f9dfaba84de1394bfe082c0c7d95952ba0ffbd56ce3a3f7/aenum-2.1.2-py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/0a/5f/3c/e0ffceb6554711f12a7101384f29ec13b85136dfcf1f692b8f/dpkt-1.9.1-cp35-none-any.whl Collecting marshmallow-objects Using cached https://files.pythonhosted.org/packages/4d/1c/fe15bc370707e8f8db09ab0edead45ab413b75795a8be523ca6482152183/marshmallow_objects-2.0.0-py2.py3-none-any.whl Collecting Werkzeug>=0.15 Using cached https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl Collecting Jinja2>=2.10.1 Using cached https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl Collecting click>=5.1 Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl Collecting itsdangerous>=0.24 Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl Collecting chardet<3.1.0,>=3.0.2 Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Using cached https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl Collecting idna<2.9,>=2.5 Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl Collecting certifi>=2017.4.17 Using cached https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl Collecting cffi!=1.11.3,>=1.7 Using cached https://files.pythonhosted.org/packages/a8/8d/986e0c4e2aa3b24db56a0affc50d1a379150e3c4da45d51d549dc2697d53/cffi-1.13.2-cp35-cp35m-manylinux1_x86_64.whl Collecting asn1crypto>=0.21.0 Using cached https://files.pythonhosted.org/packages/e9/51/1db4a60049fb7390959be586b6eb743098e6cea3f6b2d3ed9e17fec62ba2/asn1crypto-1.3.0-py2.py3-none-any.whl Collecting six>=1.4.1 Using cached https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl Collecting greenlet>=0.4.14; platform_python_implementation == "CPython" Using cached https://files.pythonhosted.org/packages/2e/65/27f35497cc0102a792390d056e793e064da95fc9eae45d75ae0ba49c0a0d/greenlet-0.4.15-cp35-cp35m-manylinux1_x86_64.whl Collecting marshmallow>=3.0.0 Using cached https://files.pythonhosted.org/packages/6e/76/01224f14737627166b94eb3bf0e334372c014edca781e39db320ce977755/marshmallow-3.3.0-py2.py3-none-any.whl Collecting MarkupSafe>=0.23 Using cached https://files.pythonhosted.org/packages/6e/57/d40124076756c19ff2269678de7ae25a14ebbb3f6314eb5ce9477f191350/MarkupSafe-1.1.1-cp35-cp35m-manylinux1_x86_64.whl Processing /home/iobroker/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511/pycparser-2.19-py2.py3-none-any.whl ERROR: xbox-smartglass-core 1.0.12 has requirement urwid==2.0.1, but you'll have urwid 2.1.0 which is incompatible. Installing collected packages: urwid, appdirs, chardet, urllib3, idna, certifi, requests, demjson, xbox-webapi, construct, pycparser, cffi, asn1crypto, six, cryptography, greenlet, gevent, aenum, dpkt, xbox-smartglass-core, marshmallow, marshmallow-objects, xbox-smartglass-stump, Werkzeug, MarkupSafe, Jinja2, click, itsdangerous, Flask, xbox-smartglass-rest Successfully installed Flask-1.1.1 Jinja2-2.10.3 MarkupSafe-1.1.1 Werkzeug-0.16.0 aenum-2.1.2 appdirs-1.4.3 asn1crypto-1.3.0 certifi-2019.11.28 cffi-1.13.2 chardet-3.0.4 click-7.0 construct-2.9.41 cryptography-2.3.1 demjson-2.2.4 dpkt-1.9.1 gevent-1.3.7 greenlet-0.4.15 idna-2.8 itsdangerous-1.1.0 marshmallow-3.3.0 marshmallow-objects-2.0.0 pycparser-2.19 requests-2.22.0 six-1.14.0 urllib3-1.25.7 urwid-2.1.0 xbox-smartglass-core-1.0.12 xbox-smartglass-rest-0.9.8 xbox-smartglass-stump-0.9.5 xbox-webapi-1.1.7 npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-detector' 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 bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 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.xbox@0.5.12 added 3 packages from 3 contributors in 72.319s
Adapter bleibt gelb
xbox.0 2020-01-17 23:55:17.849 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:17.848 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:16.846 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:16.845 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:15.842 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:15.842 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:14.839 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:14.839 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:13.836 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:13.836 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:13.803 debug (1910) [CHECK] Auth is not established xbox.0 2020-01-17 23:55:13.800 debug (1910) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 23:55:13.799 debug (1910) [CONNECT] Check connection xbox.0 2020-01-17 23:55:13.789 error (1910) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 23:55:13.784 debug (1910) [DISCOVER] Searching for consoles xbox.0 2020-01-17 23:55:13.781 debug (1910) [PING] Xbox online xbox.0 2020-01-17 23:55:12.833 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:12.832 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:11.830 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:11.830 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:10.827 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:10.827 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:09.824 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:09.823 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:08.821 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:08.821 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:07.818 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:07.818 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:07.811 warn (1910) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 23:55:07.811 debug (1910) [CONNECT] Check connection xbox.0 2020-01-17 23:55:07.809 error (1910) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 23:55:07.806 debug (1910) [CHECK] Auth is not established xbox.0 2020-01-17 23:55:07.800 debug (1910) [DISCOVER] Searching for consoles xbox.0 2020-01-17 23:55:07.791 debug (1910) [PING] Xbox online xbox.0 2020-01-17 23:55:06.813 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:06.813 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:05.810 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:05.809 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:04.806 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:04.805 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:03.802 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:03.801 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:02.797 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:02.797 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:01.794 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:01.794 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:01.784 debug (1910) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 23:54:56.949 error (1910) [START] Restarting adapter in 30 seconds xbox.0 2020-01-17 23:54:56.949 error (1910) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found Traceback (most recent call last): File "/opt/iobroke xbox.0 2020-01-17 23:54:55.208 info (1910) [START] Starting REST server xbox.0 2020-01-17 23:54:55.208 debug (1910) [START] IP address is 10.0.1.83 xbox.0 2020-01-17 23:54:55.182 info (1910) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0
-
@Negalein sagte in XBox-Adapter Fehler:
ERROR: xbox-smartglass-core 1.0.12 has requirement urwid==2.0.1, but you'll have urwid 2.1.0 which is incompatible.
Evtl liegt es nur daran. Mal folgendes probieren:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
dannpython get-pip.py
dannpip install "urwid==2.0.1"
. Trotzdem strange, dassurwid
in der falschen Version drauf ist wobei nicht mal pip installiert ist und somit vermutlich keine Konflikte existieren sollten. Vermutlich könnten die Jungs vom Xbox-Rest-Server auch mit >=2.0.1 kompatibel sein.