NEWS
UNSOLVED Fehler: host.raspberrypi Cannot install iobroker.i2
-
Systemdata Bitte Ausfüllen Hardwaresystem: Pi3B+ Arbeitsspeicher: 1GB Festplattenart: SD-Karte Betriebssystem: RaspiOS Node-Version: 12.18.3 Nodejs-Version: 12.18.3 NPM-Version: 6.14.6 Installationsart: Skript Image genutzt: Ja Ort/Name der Imagedatei: iobroker HP Fehlermeldung bei der Installation des I2C Adapters:
Fertig mit Fehler: host.raspberrypi Cannot install iobroker.i2c@0.0.6: 1
$ ./iobroker add i2c --host raspberrypi NPM version: 6.14.6 npm install iobroker.i2c@0.0.6 --loglevel error --prefix "/opt/iobroker" (System call) In file included from ../node_modules/nan/nan_converters.h:67, from ../node_modules/nan/nan.h:202, from ../src/i2c.cc:2:../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:../node_modules/nan/nan_converters_43_inl.h:18:69: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations] val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \ ^../node_modules/nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’ X(Boolean) ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2664:59: note: declared here V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean( ^~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_converters.h:67, from ../node_modules/nan/nan.h:202, from ../src/i2c.cc:2:../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:../node_modules/nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations] return val->NAME ## Value(isolate->GetCurrentContext()); \ ^../node_modules/nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’ X(bool, Boolean) ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2702:51: note: declared here V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:203, from ../src/i2c.cc:2:../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:../node_modules/nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’ , obj)); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:4275:31: note: candidate: ‘static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)’ static MaybeLocal<Function> New( ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:4275:31: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:203, from ../src/i2c.cc:2:../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:../node_modules/nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’ return v8::StringObject::New(value).As<v8::StringObject>(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:5531:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’ static Local<Value> New(Isolate* isolate, Local<String> value); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:5531:23: note: candidate expects 2 arguments, 1 providedIn file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:203, from ../src/i2c.cc:2:../node_modules/nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token return v8::StringObject::New(value).As<v8::StringObject>(); ^../node_modules/nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token return v8::StringObject::New(value).As<v8::StringObject>(); ^ In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:840: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/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:182:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h:840: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/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:182:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:855: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/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:175:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h:855: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/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:175:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:870: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/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:168:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h:870: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/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:168:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:../node_modules/nan/nan.h:916:53: error: no matching function for call to ‘v8::Value::ToString()’ v8::Local<v8::String> string = from->ToString(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( ^~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2668:44: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ Local<String> ToString(Isolate* isolate) const); ^~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2684:31: note: candidate expects 1 argument, 0 provided Local<String> ToString(Isolate* isolate) const); ^~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h:926:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’ length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:182:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:182:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1538:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(New(key).ToLocalChecked(), value); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1544:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(key, value); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:../node_modules/nan/nan.h:1550:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(index, value); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3508:22: note: declared here bool Set(uint32_t index, Local<Value> value)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1556:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Get(New(key).ToLocalChecked())); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:../node_modules/nan/nan.h:1562:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(key)); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:../node_modules/nan/nan.h:1567:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(index)); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3557:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../node_modules/nan/nan.h:1875:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from /usr/include/c++/8/cassert:44, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node_object_wrap.h:26, from ../node_modules/nan/nan.h:53, from ../src/i2c.cc:2:../node_modules/nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:../node_modules/nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ assert(persistent().IsNearDeath()); ^~~~~~~~~~~ In file included from ../node_modules/nan/nan.h:2365, from ../src/i2c.cc:2:../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:../node_modules/nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations] persistent().MarkIndependent(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:570:22: note: declared here V8_INLINE void MarkIndependent()); ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from /usr/include/c++/8/cassert:44, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node_object_wrap.h:26, from ../node_modules/nan/nan.h:53, from ../src/i2c.cc:2:../node_modules/nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:../node_modules/nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ assert(wrap->handle_.IsNearDeath()); ^~~~~~~~~~~ In file included from ../src/i2c.cc:1:../src/i2c.cc: At global scope:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:608:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:642:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/i2c.cc:88:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(i2c, InitAll) ^~~~~~~~~~~ In file included from ../src/i2c.cc:95:../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./i2cfuncs.cc:48:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:95:../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./i2cfuncs.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:96:../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readbyte.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:96:../src/./readbyte.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:96:../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readbyte.cc:62:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:96:../src/./readbyte.cc:63:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:97:../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readword.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:97:../src/./readword.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:97:../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readword.cc:62:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:97:../src/./readword.cc:63:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:98:../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readblock.cc:66:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:98:../src/./readblock.cc:67:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:98:../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readblock.cc:98:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:98:../src/./readblock.cc:99:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:99:../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readi2cblock.cc:69:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:99:../src/./readi2cblock.cc:70:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:99:../src/./readi2cblock.cc:71:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:99:../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readi2cblock.cc:109:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:99:../src/./readi2cblock.cc:110:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:99:../src/./readi2cblock.cc:111:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:100:../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./receivebyte.cc:48:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:100:../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./receivebyte.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:101:../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./sendbyte.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:101:../src/./sendbyte.cc:48:35: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 byte = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:101:../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./sendbyte.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:101:../src/./sendbyte.cc:61:35: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 byte = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:102:../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./setaddr.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:102:../src/./setaddr.cc:48:34: error: no matching function for call to ‘v8::Value::Int32Value()’ int addr = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:102:../src/./setaddr.cc:49:44: error: no matching function for call to ‘v8::Value::BooleanValue()’ bool forceAccess = info[2]->BooleanValue(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2699:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’ bool BooleanValue(Isolate* isolate) const; ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2699:8: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2702:51: note: candidate: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2702:51: note: candidate expects 1 argument, 0 provided V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/i2c.cc:102:../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./setaddr.cc:61:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:102:../src/./setaddr.cc:62:34: error: no matching function for call to ‘v8::Value::Int32Value()’ int addr = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:102:../src/./setaddr.cc:63:44: error: no matching function for call to ‘v8::Value::BooleanValue()’ bool forceAccess = info[2]->BooleanValue(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2699:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’ bool BooleanValue(Isolate* isolate) const; ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2699:8: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2702:51: note: candidate: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2702:51: note: candidate expects 1 argument, 0 provided V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/i2c.cc:103:../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writebyte.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:103:../src/./writebyte.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:103:../src/./writebyte.cc:51:35: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 byte = info[2]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:103:../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writebyte.cc:63:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:103:../src/./writebyte.cc:64:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:103:../src/./writebyte.cc:65:35: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 byte = info[2]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:104:../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeword.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:104:../src/./writeword.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:104:../src/./writeword.cc:51:36: error: no matching function for call to ‘v8::Value::Int32Value()’ __u16 word = info[2]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:104:../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeword.cc:64:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:104:../src/./writeword.cc:65:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:104:../src/./writeword.cc:66:36: error: no matching function for call to ‘v8::Value::Int32Value()’ __u16 word = info[2]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:105:../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeblock.cc:70:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:105:../src/./writeblock.cc:71:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:105:../src/./writeblock.cc:72:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:105:../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeblock.cc:110:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:105:../src/./writeblock.cc:111:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:105:../src/./writeblock.cc:112:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:106:../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writei2cblock.cc:68:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:106:../src/./writei2cblock.cc:69:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:106:../src/./writei2cblock.cc:70:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:106:../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writei2cblock.cc:108:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:106:../src/./writei2cblock.cc:109:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:106:../src/./writei2cblock.cc:110:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:107:../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writequick.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:107:../src/./writequick.cc:48:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 bit = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided In file included from ../src/i2c.cc:107:../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writequick.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:107:../src/./writequick.cc:61:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 bit = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided make: *** [i2c.target.mk:111: Release/obj.target/i2c/src/i2c.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:194:23)gyp ERR! stack at ChildProcess.emit (events.js:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 5.4.51-v7+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/i2c-busgyp ERR! node -v v12.18.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the i2c-bus@1.2.5 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-08-30T11_57_50_262Z-debug.log ERROR: host.raspberrypi Cannot install iobroker.i2c@0.0.6: 1 ERROR: process exited with code 25
-
@Humidor was hast du da genau gemacht?
Wo kommt das log her?
-
@Homoran sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
@Humidor was hast du da genau gemacht?
Wo kommt das log her?
direkt von der Installation
ein anderer Adapter rpi-monitor wurde ohne Fehler installiert
-
@Humidor sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
direkt von der Installation
tatsächlich?
Konsole - oder Admin?????@Humidor sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
ein anderer Adapter rpi-monitor wurde ohne Fehler installiert
i2c ist kein rpi-Monitor
-
@Homoran sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
@Humidor sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
direkt von der Installation
tatsächlich?
Konsole - oder Admin?????@Humidor sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
ein anderer Adapter rpi-monitor wurde ohne Fehler installiert
i2c ist kein rpi-Monitor
hab ich auch nicht gesagt -
@Humidor du hast Fehler im log!
Hast du die schon gelesen? -
@Homoran sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
@Humidor du hast Fehler im log!
Hast du die schon gelesen?host.raspberrypi 2020-08-30 14:20:21.853 info iobroker exit 25 host.raspberrypi 2020-08-30 14:20:20.813 error iobroker host.raspberrypi Cannot install iobroker.i2c@0.0.6: 1 host.raspberrypi 2020-08-30 14:20:20.770 info iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-08-30T12_20_20_712Z-debug.log host.raspberrypi 2020-08-30 14:20:20.695 info iobroker npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the i2c-bus@1.2.5 install script.npm ERR! This is probably not a problem with npm. There i host.raspberrypi 2020-08-30 14:20:20.680 info iobroker npm ERR! code ELIFECYCLEnpm ERR! errno 1 host.raspberrypi 2020-08-30 14:20:18.274 info iobroker gyp ERR! System Linux 5.4.51-v7+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/i2c-busgyp host.raspberrypi 2020-08-30 14:20:18.267 info iobroker 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:194:23)gyp ERR! stack at ChildPr host.raspberrypi 2020-08-30 14:20:18.264 info iobroker gyp host.raspberrypi 2020-08-30 14:20:18.260 info iobroker ERR! build error host.raspberrypi 2020-08-30 14:20:18.257 info iobroker gyp host.raspberrypi 2020-08-30 14:20:18.248 info iobroker make: *** [i2c.target.mk:111: Release/obj.target/i2c/src/i2c.o] Fehler 1 host.raspberrypi 2020-08-30 14:20:17.460 info iobroker In file included from ../src/i2c.cc:107:../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writequick.cc:60:32: error: no ma host.raspberrypi 2020-08-30 14:20:17.454 info iobroker In file included from ../src/i2c.cc:107:../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writequick.cc:47:32: error: no m host.raspberrypi 2020-08-30 14:20:17.439 info iobroker In file included from ../src/i2c.cc:106:../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writei2cblock.cc:108:32: er host.raspberrypi 2020-08-30 14:20:17.426 info iobroker In file included from ../src/i2c.cc:106:../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writei2cblock.cc:68:32: er host.raspberrypi 2020-08-30 14:20:17.407 info iobroker In file included from ../src/i2c.cc:105:../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeblock.cc:110:32: error: no m host.raspberrypi 2020-08-30 14:20:17.395 info iobroker In file included from ../src/i2c.cc:105:../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeblock.cc:70:32: error: no m host.raspberrypi 2020-08-30 14:20:17.377 info iobroker In file included from ../src/i2c.cc:104:../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeword.cc:64:32: error: no match host.raspberrypi 2020-08-30 14:20:17.370 info iobroker In file included from ../src/i2c.cc:104:../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeword.cc:49:32: error: no matc host.raspberrypi 2020-08-30 14:20:17.355 info iobroker In file included from ../src/i2c.cc:103:../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writebyte.cc:63:32: error: no match host.raspberrypi 2020-08-30 14:20:17.348 info iobroker In file included from ../src/i2c.cc:103:../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writebyte.cc:49:32: error: no matc host.raspberrypi 2020-08-30 14:20:17.336 info iobroker In file included from ../src/i2c.cc:102:../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./setaddr.cc:61:32: error: no matching fu
-
@Humidor da fehlt einiges
die "frühesten" Meldungen fangen mit "in file...."
an, aber die Ursache was sich in diesen files befinden soll fehlt -
@Homoran sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
@Humidor da fehlt einiges
die "frühesten" Meldungen fangen mit "in file...."
an, aber die Ursache was sich in diesen files befinden soll fehltund was soll ich da jetzt tun??
-
@Humidor sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
und was soll ich da jetzt tun??
oben auf log herunterladen klicken, den gesamten Zusammenhang kopieren und hier wieder in code-tags posten
Dann sind die Zeilen auch nicht am Ende abgeschnitten -
@Homoran sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
@Humidor sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
und was soll ich da jetzt tun??
oben auf log herunterladen klicken, den gesamten Zusammenhang kopieren und hier wieder in code-tags posten
Dann sind die Zeilen auch nicht am Ende abgeschnitten2020-08-30 14:19:30.900 - info: host.raspberrypi iobroker add i2c --host raspberrypi 2020-08-30 14:19:37.560 - info: host.raspberrypi iobroker NPM version: 6.14.6 2020-08-30 14:19:37.566 - info: host.raspberrypi iobroker npm install iobroker.i2c@0.0.6 --loglevel error --prefix "/opt/iobroker" (System call) 2020-08-30 14:20:16.594 - info: host.raspberrypi iobroker In file included from ../node_modules/nan/nan_converters.h:67, from ../node_modules/nan/nan.h:202, from ../src/i2c.cc:2:../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Local)’:../node_modules/nan/nan_converters_43_inl.h:18:69: warning: ‘v8::MaybeLocal v8::Value::ToBoolean(v8::Local) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations] val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \ ^../node_modules/nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’ X(Boolean) ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2664:59: note: declared here V8_WARN_UNUSED_RESULT MaybeLocal ToBoolean( ^~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 2020-08-30 14:20:16.621 - info: host.raspberrypi iobroker In file included from ../node_modules/nan/nan_converters.h:67, from ../node_modules/nan/nan.h:202, from ../src/i2c.cc:2:../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Local)’:../node_modules/nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe v8::Value::BooleanValue(v8::Local) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations] return val->NAME ## Value(isolate->GetCurrentContext()); \ ^../node_modules/nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’ X(bool, Boolean) ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2702:51: note: declared here V8_WARN_UNUSED_RESULT Maybe BooleanValue( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 2020-08-30 14:20:16.675 - info: host.raspberrypi iobroker In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:203, from ../src/i2c.cc:2:../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(Nan::FunctionCallback, v8::Local)’:../node_modules/nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo&), v8::Local&)’ , obj)); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:4275:31: note: candidate: ‘static v8::MaybeLocal v8::Function::New(v8::Local, v8::FunctionCallback, v8::Local, int, v8::ConstructorBehavior, v8::SideEffectType)’ static MaybeLocal New( ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:4275:31: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local’ 2020-08-30 14:20:16.717 - info: host.raspberrypi iobroker In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:203, from ../src/i2c.cc:2:../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’:../node_modules/nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local&)’ return v8::StringObject::New(value).As(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:5531:23: note: candidate: ‘static v8::Local v8::StringObject::New(v8::Isolate*, v8::Local)’ static Local New(Isolate* isolate, Local value); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:5531:23: note: candidate expects 2 arguments, 1 providedIn file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:203, from ../src/i2c.cc:2:../node_modules/nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token return v8::StringObject::New(value).As(); ^../node_modules/nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token return v8::StringObject::New(value).As(); ^ 2020-08-30 14:20:16.811 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’:../node_modules/nan/nan.h:840:60: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:182:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h:840:60: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:182:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ 2020-08-30 14:20:16.820 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’:../node_modules/nan/nan.h:855:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:175:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h:855:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:175:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, const char*, int, v8::Local*)’:../node_modules/nan/nan.h:870:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, const char*, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:168:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h:870:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, const char*, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:168:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ 2020-08-30 14:20:16.827 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’:../node_modules/nan/nan.h:916:53: error: no matching function for call to ‘v8::Value::ToString()’ v8::Local string = from->ToString(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’ V8_WARN_UNUSED_RESULT MaybeLocal ToString( ^~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2668:44: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2684:31: note: candidate: ‘v8::Local v8::Value::ToString(v8::Isolate*) const’ Local ToString(Isolate* isolate) const); ^~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2684:31: note: candidate expects 1 argument, 0 provided Local ToString(Isolate* isolate) const); ^~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 2020-08-30 14:20:16.833 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h:926:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’ length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ 2020-08-30 14:20:16.860 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘v8::Local Nan::Callback::Call_(v8::Isolate*, v8::Local, int, v8::Local*) const’:../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:182:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^In file included from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:182:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:101:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ 2020-08-30 14:20:16.880 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local&)’:../node_modules/nan/nan.h:1538:64: warning: ‘bool v8::Object::Set(v8::Local, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(New(key).ToLocalChecked(), value); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3499:22: note: declared here bool Set(Local key, Local value)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 2020-08-30 14:20:16.894 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local&, const v8::Local&)’:../node_modules/nan/nan.h:1544:42: warning: ‘bool v8::Object::Set(v8::Local, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(key, value); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3499:22: note: declared here bool Set(Local key, Local value)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local&)’:../node_modules/nan/nan.h:1550:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(index, value); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3508:22: note: declared here bool Set(uint32_t index, Local value)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘v8::Local Nan::AsyncWorker::GetFromPersistent(const char*) const’:../node_modules/nan/nan.h:1556:61: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Get(New(key).ToLocalChecked())); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local Get(Local key)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘v8::Local Nan::AsyncWorker::GetFromPersistent(const v8::Local&) const’:../node_modules/nan/nan.h:1562:55: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(key)); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local Get(Local key)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In member function ‘v8::Local Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:../node_modules/nan/nan.h:1567:57: warning: ‘v8::Local v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(index)); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3557:51: note: declared here V8_DEPRECATED("Use maybe version", Local Get(uint32_t index)); ^~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 2020-08-30 14:20:16.925 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:2:../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../node_modules/nan/nan.h:1875:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast(AsyncExecuteComplete) ^ 2020-08-30 14:20:17.017 - info: host.raspberrypi iobroker In file included from /usr/include/c++/8/cassert:44, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node_object_wrap.h:26, from ../node_modules/nan/nan.h:53, from ../src/i2c.cc:2:../node_modules/nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:../node_modules/nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent’ has no member named ‘IsNearDeath’ assert(persistent().IsNearDeath()); ^~~~~~~~~~~ 2020-08-30 14:20:17.027 - info: host.raspberrypi iobroker In file included from ../node_modules/nan/nan.h:2365, from ../src/i2c.cc:2:../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:../node_modules/nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations] persistent().MarkIndependent(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:570:22: note: declared here V8_INLINE void MarkIndependent()); ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 2020-08-30 14:20:17.033 - info: host.raspberrypi iobroker In file included from /usr/include/c++/8/cassert:44, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node_object_wrap.h:26, from ../node_modules/nan/nan.h:53, from ../src/i2c.cc:2:../node_modules/nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo&)’:../node_modules/nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent’ has no member named ‘IsNearDeath’ assert(wrap->handle_.IsNearDeath()); ^~~~~~~~~~~ 2020-08-30 14:20:17.118 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:1:../src/i2c.cc: At global scope:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:608:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:642:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/i2c.cc:88:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(i2c, InitAll) ^~~~~~~~~~~ 2020-08-30 14:20:17.143 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:95:../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./i2cfuncs.cc:48:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.149 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:95:../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./i2cfuncs.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.166 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:96:../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readbyte.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:96:../src/./readbyte.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.172 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:96:../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readbyte.cc:62:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:96:../src/./readbyte.cc:63:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.187 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:97:../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readword.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^ 2020-08-30 14:20:17.193 - info: host.raspberrypi iobroker In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:97:../src/./readword.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.202 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:97:../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readword.cc:62:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:97:../src/./readword.cc:63:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.217 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:98:../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readblock.cc:66:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:98:../src/./readblock.cc:67:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.227 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:98:../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readblock.cc:98:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:98:../src/./readblock.cc:99:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.248 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:99:../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readi2cblock.cc:69:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:99:../src/./readi2cblock.cc:70:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:99:../src/./readi2cblock.cc:71:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.262 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:99:../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./readi2cblock.cc:109:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:99:../src/./readi2cblock.cc:110:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:99:../src/./readi2cblock.cc:111:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.283 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:100:../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./receivebyte.cc:48:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.289 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:100:../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./receivebyte.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.304 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:101:../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./sendbyte.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:101:../src/./sendbyte.cc:48:35: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 byte = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.311 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:101:../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./sendbyte.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:101:../src/./sendbyte.cc:61:35: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 byte = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.326 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:102:../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./setaddr.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:102:../src/./setaddr.cc:48:34: error: no matching function for call to ‘v8::Value::Int32Value()’ int addr = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:102:../src/./setaddr.cc:49:44: error: no matching function for call to ‘v8::Value::BooleanValue()’ bool forceAccess = info[2]->BooleanValue(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2699:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’ bool BooleanValue(Isolate* isolate) const; ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2699:8: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2702:51: note: candidate: ‘v8::Maybe v8::Value::BooleanValue(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe BooleanValue( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2702:51: note: candidate expects 1 argument, 0 provided V8_WARN_UNUSED_RESULT Maybe BooleanValue( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 2020-08-30 14:20:17.336 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:102:../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./setaddr.cc:61:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:102:../src/./setaddr.cc:62:34: error: no matching function for call to ‘v8::Value::Int32Value()’ int addr = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:102:../src/./setaddr.cc:63:44: error: no matching function for call to ‘v8::Value::BooleanValue()’ bool forceAccess = info[2]->BooleanValue(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2699:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’ bool BooleanValue(Isolate* isolate) const; ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2699:8: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2702:51: note: candidate: ‘v8::Maybe v8::Value::BooleanValue(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe BooleanValue( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2702:51: note: candidate expects 1 argument, 0 provided V8_WARN_UNUSED_RESULT Maybe BooleanValue( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 2020-08-30 14:20:17.348 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:103:../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writebyte.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:103:../src/./writebyte.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:103:../src/./writebyte.cc:51:35: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 byte = info[2]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.355 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:103:../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writebyte.cc:63:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:103:../src/./writebyte.cc:64:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:103:../src/./writebyte.cc:65:35: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 byte = info[2]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.370 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:104:../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeword.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:104:../src/./writeword.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:104:../src/./writeword.cc:51:36: error: no matching function for call to ‘v8::Value::Int32Value()’ __u16 word = info[2]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.377 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:104:../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeword.cc:64:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:104:../src/./writeword.cc:65:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:104:../src/./writeword.cc:66:36: error: no matching function for call to ‘v8::Value::Int32Value()’ __u16 word = info[2]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.395 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:105:../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeblock.cc:70:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:105:../src/./writeblock.cc:71:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:105:../src/./writeblock.cc:72:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.407 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:105:../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writeblock.cc:110:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:105:../src/./writeblock.cc:111:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:105:../src/./writeblock.cc:112:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.426 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:106:../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writei2cblock.cc:68:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:106:../src/./writei2cblock.cc:69:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:106:../src/./writei2cblock.cc:70:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.439 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:106:../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writei2cblock.cc:108:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:106:../src/./writei2cblock.cc:109:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 cmd = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:106:../src/./writei2cblock.cc:110:39: error: no matching function for call to ‘v8::Value::Uint32Value()’ __u32 length = info[2]->Uint32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe v8::Value::Uint32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Uint32Value( ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.454 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:107:../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickAsync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writequick.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:107:../src/./writequick.cc:48:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 bit = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:17.460 - info: host.raspberrypi iobroker In file included from ../src/i2c.cc:107:../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/./writequick.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’ int fd = info[0]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 providedIn file included from ../src/i2c.cc:107:../src/./writequick.cc:61:34: error: no matching function for call to ‘v8::Value::Int32Value()’ __u8 bit = info[1]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../src/i2c.cc:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Local) const’ V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided 2020-08-30 14:20:18.248 - info: host.raspberrypi iobroker make: *** [i2c.target.mk:111: Release/obj.target/i2c/src/i2c.o] Fehler 1 2020-08-30 14:20:18.257 - info: host.raspberrypi iobroker gyp 2020-08-30 14:20:18.260 - info: host.raspberrypi iobroker ERR! build error 2020-08-30 14:20:18.264 - info: host.raspberrypi iobroker gyp 2020-08-30 14:20:18.267 - info: host.raspberrypi iobroker 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:194:23)gyp ERR! stack at ChildProcess.emit (events.js:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) 2020-08-30 14:20:18.274 - info: host.raspberrypi iobroker gyp ERR! System Linux 5.4.51-v7+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/i2c-busgyp ERR! node -v v12.18.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 2020-08-30 14:20:20.680 - info: host.raspberrypi iobroker npm ERR! code ELIFECYCLEnpm ERR! errno 1 2020-08-30 14:20:20.695 - info: host.raspberrypi iobroker npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the i2c-bus@1.2.5 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2020-08-30 14:20:20.770 - info: host.raspberrypi iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-08-30T12_20_20_712Z-debug.log 2020-08-30 14:20:20.813 - error: host.raspberrypi iobroker host.raspberrypi Cannot install iobroker.i2c@0.0.6: 1 2020-08-30 14:20:21.853 - info: host.raspberrypi iobroker exit 25
-
@Humidor Da dürften ein paar dev-files fehlen.
sudo apt install build-essential libi2c-dev
mal probieren.
-
@Humidor Aber das hier hattest du gelesen, verstanden und befolgt?
IMPORTANT UPDATE
Development of this adapter will restart in August 2020. Stay tuned!
I will start by resolving the most pressing issues followed by a new major release that brings the adapter up to the latest development standards.
I2C Logo
ioBroker adapter for I2C
Number of Installations Number of Installations NPM version Downloads Travis GitHub issues
Communicates with devices connected to the local system using the I2C bus.
This adapter should work on Linux boards like the Raspberry Pi, C.H.I.P., BeagleBone or Intel Edison.
Install
Before installing, please read the installation guide of the i2c-bus module.
Especially make sure, that you have properly configured and enabled I2C on your system (if needed):
Configuring I2C on the Raspberry Pi
Configuring I2C on the Intel Edison Arduino Base Board
After you have enabled and configured I2C, you can install this adapter via ioBroker Admin:Start the adapter (it must run for the discovery to work)
Open instance config dialog
Press the "Search Devices" button to discover all connected I2C devices - this will take some time, be patient!
Configure all found devices in their respective tabs.
Save the configuration (this will restart the adapter) -
@Homoran sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
Configuring I2C on the Raspberry Pi
Configuring I2C on the Intel Edison Arduino Base Board
After you have enabled and configured I2C, you can install this adapter via ioBroker Admin:am Pi ist I2c enabled und mehrfach ein reboot wurde gemacht
Configuring I2C on the Raspberry Pi Configuring I2C on the Intel Edison Arduino Base Board After you have enabled and configured I2C, you can install this adapter via ioBroker Admin:
-
-
@Thomas-Braun sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
sudo apt install build-essential libi2c-dev
probiert?
nein, wo hast du das gefunden,
funktioniert aber auch nicht. -
@Humidor sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
funktioniert aber auch nicht.
was?
die Installation des Paketes, oder der anschließende Versuch den Adapter zu installieren.
Bitte immer die vollständige Konsolenein- und Ausgabe posten -
@Homoran sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
@Humidor sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
funktioniert aber auch nicht.
was?
die Installation des Paketes, oder der anschließende Versuch den Adapter zu installieren.
Bitte immer die vollständige Konsolenein- und Ausgabe postensry, die Installation vom Adapter, immer die selbe Fehlermeldung
sudo apt install build-essential libi2c-dev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig build-essential ist schon die neueste Version (12.6). Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: libbrotli1 libc-ares2 libuv1 nodejs-doc rpi-eeprom-images Verwenden Sie »sudo apt autoremove«, um sie zu entfernen. Die folgenden zusätzlichen Pakete werden installiert: i2c-tools libi2c0 read-edid Vorgeschlagene Pakete: python-smbus Die folgenden NEUEN Pakete werden installiert: i2c-tools libi2c-dev libi2c0 read-edid 0 aktualisiert, 4 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 108 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 351 kB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] j Holen:1 http://debian.anexia.at/raspbian/raspbian buster/main armhf libi2c0 armhf 4.1-1 [9.348 B] Holen:2 http://debian.anexia.at/raspbian/raspbian buster/main armhf i2c-tools armhf 4.1-1 [71,7 kB] Holen:3 http://debian.anexia.at/raspbian/raspbian buster/main armhf libi2c-dev armhf 4.1-1 [11,9 kB] Holen:4 http://debian.anexia.at/raspbian/raspbian buster/main armhf read-edid armhf 3.0.2-1 [15,4 kB] Es wurden 108 kB in 1 s geholt (97,7 kB/s). Vormals nicht ausgewähltes Paket libi2c0:armhf wird gewählt. (Lese Datenbank ... 46420 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../libi2c0_4.1-1_armhf.deb ... Entpacken von libi2c0:armhf (4.1-1) ... Vormals nicht ausgewähltes Paket i2c-tools wird gewählt. Vorbereitung zum Entpacken von .../i2c-tools_4.1-1_armhf.deb ... Entpacken von i2c-tools (4.1-1) ... Vormals nicht ausgewähltes Paket libi2c-dev wird gewählt. Vorbereitung zum Entpacken von .../libi2c-dev_4.1-1_armhf.deb ... Entpacken von libi2c-dev (4.1-1) ... Vormals nicht ausgewähltes Paket read-edid wird gewählt. Vorbereitung zum Entpacken von .../read-edid_3.0.2-1_armhf.deb ... Entpacken von read-edid (3.0.2-1) ... libi2c0:armhf (4.1-1) wird eingerichtet ... read-edid (3.0.2-1) wird eingerichtet ... libi2c-dev (4.1-1) wird eingerichtet ... i2c-tools (4.1-1) wird eingerichtet ... Trigger für man-db (2.8.5-2) werden verarbeitet ... Trigger für libc-bin (2.28-10+rpi1) werden verarbeitet ... pi@raspberrypi:~ $ sudo reboot
-
@Humidor Kann es sein, dass du mal den ganzen node-* Kram von Debian installiert hattest oder noch hast? Da scheint mir noch irgendwas doppelt installiert zu sein.
sudo apt autoremove sudo apt remove node-*
Denn nodejs-doc kommt aus dem Debian-Repo:
pi@raspberrypi:/opt/iobroker $ apt policy nodejs-doc nodejs-doc: Installiert: (keine) Installationskandidat: 10.21.0~dfsg-1~deb10u1+rpi1 Versionstabelle: 10.21.0~dfsg-1~deb10u1+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
Vermutlich ist von dort noch mehr installiert worden.
-
@Thomas-Braun sagte in Fehler: host.raspberrypi Cannot install iobroker.i2:
@Humidor Kann es sein, dass du mal den ganzen node-* Kram von Debian installiert hattest oder noch hast? Da scheint mir noch irgendwas doppelt installiert zu sein.
sudo apt autoremove sudo apt remove node-*
Denn nodejs-doc kommt aus dem Debian-Repo:
pi@raspberrypi:/opt/iobroker $ apt policy nodejs-doc nodejs-doc: Installiert: (keine) Installationskandidat: 10.21.0~dfsg-1~deb10u1+rpi1 Versionstabelle: 10.21.0~dfsg-1~deb10u1+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
Vermutlich ist von dort noch mehr installiert worden.
sudo apt autoremove Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden Pakete werden ENTFERNT: libbrotli1 libc-ares2 libuv1 nodejs-doc rpi-eeprom-images 0 aktualisiert, 0 neu installiert, 5 zu entfernen und 0 nicht aktualisiert. Nach dieser Operation werden 8.739 kB Plattenplatz freigegeben. Möchten Sie fortfahren? [J/n] j (Lese Datenbank ... 46469 Dateien und Verzeichnisse sind derzeit installiert.) Entfernen von libbrotli1:armhf (1.0.7-2) ... Entfernen von libc-ares2:armhf (1.14.0-1) ... Entfernen von libuv1:armhf (1.24.1-1) ... Entfernen von nodejs-doc (10.21.0~dfsg-1~deb10u1+rpi1) ... Entfernen von rpi-eeprom-images (7.10-1) ... Trigger für libc-bin (2.28-10+rpi1) werden verarbeitet ... pi@raspberrypi:~ $ sudo apt remove node-* Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig E: Paket node-v12.18.3-linux-armv6l.tar.xz kann nicht gefunden werden. E: Mittels des Musters »node-v12.18.3-linux-armv6l.tar.xz« konnte kein Paket gefunden werden. E: Mittels regulärem Ausdruck »node-v12.18.3-linux-armv6l.tar.xz« konnte kein Paket gefunden werden.
apt policy nodejs-doc nodejs-doc: Installiert: (keine) Installationskandidat: 10.21.0~dfsg-1~deb10u1+rpi1 Versionstabelle: 10.21.0~dfsg-1~deb10u1+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@raspberrypi:~ $
damit wäre wieder alles raus?
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v12.18.3 /usr/bin/node v12.18.3 /usr/bin/npm 6.14.6 nodejs: Installiert: 12.18.3-1nodesource1 Installationskandidat: 12.18.3-1nodesource1 Versionstabelle: *** 12.18.3-1nodesource1 500 500 https://deb.nodesource.com/node_12.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.21.0~dfsg-1~deb10u1+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@raspberrypi:~ $