Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. I2C Adapter lässt sich nicht installieren

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

I2C Adapter lässt sich nicht installieren

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
i2c
11 Beiträge 5 Kommentatoren 865 Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • C Offline
    C Offline
    cavemanatwork
    schrieb am zuletzt editiert von
    #1

    Servus Kollegen,

    ich hatte den I2C Adapter schon mal auf einem früheren Raspi zum laufen gebracht, aber jetzt bin ich am verzweifeln.

    Grundsätzlich hab ich I2C über "raspi config" aktiviert und den Raspi neu gestartet.
    Dann sollte, laut Anleitung, der Adapter ganz einfach über den Admin zu installieren sein.
    Ich finde den Adapter aber nicht.
    Eine manuelle Installation über "npm i iobroker.i2c" bringt nur Fehler.

    Tausend Dank schon mal für jede Hilfe!

    Beste Grüße
    Michael

    AlCalzoneA 1 Antwort Letzte Antwort
    0
    • C cavemanatwork

      Servus Kollegen,

      ich hatte den I2C Adapter schon mal auf einem früheren Raspi zum laufen gebracht, aber jetzt bin ich am verzweifeln.

      Grundsätzlich hab ich I2C über "raspi config" aktiviert und den Raspi neu gestartet.
      Dann sollte, laut Anleitung, der Adapter ganz einfach über den Admin zu installieren sein.
      Ich finde den Adapter aber nicht.
      Eine manuelle Installation über "npm i iobroker.i2c" bringt nur Fehler.

      Tausend Dank schon mal für jede Hilfe!

      Beste Grüße
      Michael

      AlCalzoneA Offline
      AlCalzoneA Offline
      AlCalzone
      Developer
      schrieb am zuletzt editiert von
      #2

      @cavemanatwork sagte in I2C Adapter lässt sich nicht installieren:

      Eine manuelle Installation über "npm i iobroker.i2c" bringt nur Fehler.

      Und ebendiese Fehler müsstest du posten, damit dir jemand helfen kann.

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

      1 Antwort Letzte Antwort
      0
      • C Offline
        C Offline
        cavemanatwork
        schrieb am zuletzt editiert von
        #3

        Sorry, dumm von mir.
        Hier die Fehler:

        pi@raspberrypi:~ $ npm i iobroker.i2c
        
        > i2c-bus@1.2.5 install /home/pi/node_modules/iobroker.i2c/node_modules/i2c-bus
        > node-gyp rebuild
        
        make: Entering directory '/home/pi/node_modules/iobroker.i2c/node_modules/i2c-bus/build'
          CXX(target) Release/obj.target/i2c/src/i2c.o
        In file included from ../../nan/nan_converters.h:67,
                         from ../../nan/nan.h:202,
                         from ../src/i2c.cc:2:
        ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
        ../../nan/nan_converters_43_inl.h:18: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())          \
                                                                             ^
        ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
         X(Boolean)
         ^
        In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2664:59: note: declared here
                         V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                                   ^~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        In file included from ../../nan/nan_converters.h:67,
                         from ../../nan/nan.h:202,
                         from ../src/i2c.cc:2:
        ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
        ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
           return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                                 ^
        ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
         X(bool, Boolean)
         ^
        In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2702:51: note: declared here
                         V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                           ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        In file included from ../../nan/nan_new.h:189,
                         from ../../nan/nan.h:203,
                         from ../src/i2c.cc:2:
        ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
        ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                   , obj));
                                        ^
        In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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 ../../nan/nan_new.h:189,
                         from ../../nan/nan.h:203,
                         from ../src/i2c.cc:2:
        ../../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>)’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
        In file included from ../../nan/nan_new.h:189,
                         from ../../nan/nan.h:203,
                         from ../src/i2c.cc:2:
        ../../nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
           return v8::StringObject::New(value).As<v8::StringObject>();
                                                                  ^
        ../../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:
        ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:182:50: note: declared here
                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                          ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:182:50: note: declared here
                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                          ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:175:50: note: declared here
                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                          ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:175:50: note: declared here
                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                          ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:168:50: note: declared here
                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                          ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:168:50: note: declared here
                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                          ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
        In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                         Local<String> ToString(Isolate* isolate) const);
                                       ^~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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:
        ../../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’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:182:50: note: declared here
                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                          ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:182:50: note: declared here
                         NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                          ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3499:22: note: declared here
                         bool Set(Local<Value> key, Local<Value> value));
                              ^~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3499:22: note: declared here
                         bool Set(Local<Value> key, Local<Value> value));
                              ^~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3508:22: note: declared here
                         bool Set(uint32_t index, Local<Value> value));
                              ^~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3553:51: note: declared here
           V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                           ^~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3553:51: note: declared here
           V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                           ^~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3557:51: note: declared here
           V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                           ^~~
        /home/pi/.cache/node-gyp/12.18.0/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:
        ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
        ../../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/pi/.cache/node-gyp/12.18.0/include/node/node_object_wrap.h:26,
                         from ../../nan/nan.h:53,
                         from ../src/i2c.cc:2:
        ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
        ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
             assert(persistent().IsNearDeath());
                                 ^~~~~~~~~~~
        In file included from ../../nan/nan.h:2365,
                         from ../src/i2c.cc:2:
        ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
        ../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
             persistent().MarkIndependent();
                                          ^
        In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:570:22: note: declared here
               V8_INLINE void MarkIndependent());
                              ^~~~~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node_object_wrap.h:26,
                         from ../../nan/nan.h:53,
                         from ../src/i2c.cc:2:
        ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
        ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
             assert(wrap->handle_.IsNearDeath());
                                  ^~~~~~~~~~~
        In file included from ../src/i2c.cc:1:
        ../src/i2c.cc: At global scope:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
           bool BooleanValue(Isolate* isolate) const;
                ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note:   candidate expects 1 argument, 0 provided
        In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2702:51: note:   candidate expects 1 argument, 0 provided
                         V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                           ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
           bool BooleanValue(Isolate* isolate) const;
                ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note:   candidate expects 1 argument, 0 provided
        In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                         from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2702:51: note:   candidate expects 1 argument, 0 provided
                         V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                           ^~~~~~~~~~~~
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
        In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                         from ../src/i2c.cc:1:
        /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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] Error 1
        make: Leaving directory '/home/pi/node_modules/iobroker.i2c/node_modules/i2c-bus/build'
        gyp ERR! build error
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
        gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
        gyp ERR! System Linux 4.19.75-v7+
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /home/pi/node_modules/iobroker.i2c/node_modules/i2c-bus
        gyp ERR! node -v v12.18.0
        gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok
        npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
        npm WARN pi No description
        npm WARN pi No repository field.
        npm WARN pi No README data
        npm WARN pi No license field.
        
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`
        npm ERR! Exit status 1
        npm 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/pi/.npm/_logs/2020-06-09T10_48_39_792Z-debug.log
        
        
        AlCalzoneA 1 Antwort Letzte Antwort
        0
        • C cavemanatwork

          Sorry, dumm von mir.
          Hier die Fehler:

          pi@raspberrypi:~ $ npm i iobroker.i2c
          
          > i2c-bus@1.2.5 install /home/pi/node_modules/iobroker.i2c/node_modules/i2c-bus
          > node-gyp rebuild
          
          make: Entering directory '/home/pi/node_modules/iobroker.i2c/node_modules/i2c-bus/build'
            CXX(target) Release/obj.target/i2c/src/i2c.o
          In file included from ../../nan/nan_converters.h:67,
                           from ../../nan/nan.h:202,
                           from ../src/i2c.cc:2:
          ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
          ../../nan/nan_converters_43_inl.h:18: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())          \
                                                                               ^
          ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
           X(Boolean)
           ^
          In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2664:59: note: declared here
                           V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                                     ^~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          In file included from ../../nan/nan_converters.h:67,
                           from ../../nan/nan.h:202,
                           from ../src/i2c.cc:2:
          ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
          ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
             return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                                   ^
          ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
           X(bool, Boolean)
           ^
          In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2702:51: note: declared here
                           V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                             ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          In file included from ../../nan/nan_new.h:189,
                           from ../../nan/nan.h:203,
                           from ../src/i2c.cc:2:
          ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
          ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                     , obj));
                                          ^
          In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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 ../../nan/nan_new.h:189,
                           from ../../nan/nan.h:203,
                           from ../src/i2c.cc:2:
          ../../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>)’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
          In file included from ../../nan/nan_new.h:189,
                           from ../../nan/nan.h:203,
                           from ../src/i2c.cc:2:
          ../../nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
             return v8::StringObject::New(value).As<v8::StringObject>();
                                                                    ^
          ../../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:
          ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:182:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:182:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:175:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:175:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:168:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:168:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
          In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                           Local<String> ToString(Isolate* isolate) const);
                                         ^~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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:
          ../../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’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:182:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node.h:182:50: note: declared here
                           NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                            ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3499:22: note: declared here
                           bool Set(Local<Value> key, Local<Value> value));
                                ^~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3499:22: note: declared here
                           bool Set(Local<Value> key, Local<Value> value));
                                ^~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3508:22: note: declared here
                           bool Set(uint32_t index, Local<Value> value));
                                ^~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3553:51: note: declared here
             V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                             ^~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3553:51: note: declared here
             V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                             ^~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:3557:51: note: declared here
             V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                             ^~~
          /home/pi/.cache/node-gyp/12.18.0/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:
          ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
          ../../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/pi/.cache/node-gyp/12.18.0/include/node/node_object_wrap.h:26,
                           from ../../nan/nan.h:53,
                           from ../src/i2c.cc:2:
          ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
          ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
               assert(persistent().IsNearDeath());
                                   ^~~~~~~~~~~
          In file included from ../../nan/nan.h:2365,
                           from ../src/i2c.cc:2:
          ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
          ../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
               persistent().MarkIndependent();
                                            ^
          In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:570:22: note: declared here
                 V8_INLINE void MarkIndependent());
                                ^~~~~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node_object_wrap.h:26,
                           from ../../nan/nan.h:53,
                           from ../src/i2c.cc:2:
          ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
          ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
               assert(wrap->handle_.IsNearDeath());
                                    ^~~~~~~~~~~
          In file included from ../src/i2c.cc:1:
          ../src/i2c.cc: At global scope:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
             bool BooleanValue(Isolate* isolate) const;
                  ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note:   candidate expects 1 argument, 0 provided
          In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2702:51: note:   candidate expects 1 argument, 0 provided
                           V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                             ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
             bool BooleanValue(Isolate* isolate) const;
                  ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note:   candidate expects 1 argument, 0 provided
          In file included from /home/pi/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:27,
                           from /home/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2702:51: note:   candidate expects 1 argument, 0 provided
                           V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                             ^~~~~~~~~~~~
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
          In 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/pi/.cache/node-gyp/12.18.0/include/node/node.h:67,
                           from ../src/i2c.cc:1:
          /home/pi/.cache/node-gyp/12.18.0/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/pi/.cache/node-gyp/12.18.0/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] Error 1
          make: Leaving directory '/home/pi/node_modules/iobroker.i2c/node_modules/i2c-bus/build'
          gyp ERR! build error
          gyp ERR! stack Error: `make` failed with exit code: 2
          gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
          gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
          gyp ERR! System Linux 4.19.75-v7+
          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
          gyp ERR! cwd /home/pi/node_modules/iobroker.i2c/node_modules/i2c-bus
          gyp ERR! node -v v12.18.0
          gyp ERR! node-gyp -v v5.1.0
          gyp ERR! not ok
          npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          npm WARN pi No description
          npm WARN pi No repository field.
          npm WARN pi No README data
          npm WARN pi No license field.
          
          npm ERR! code ELIFECYCLE
          npm ERR! errno 1
          npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`
          npm ERR! Exit status 1
          npm 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/pi/.npm/_logs/2020-06-09T10_48_39_792Z-debug.log
          
          
          AlCalzoneA Offline
          AlCalzoneA Offline
          AlCalzone
          Developer
          schrieb am zuletzt editiert von
          #4

          @cavemanatwork sagte in I2C Adapter lässt sich nicht installieren:

          /home/pi/node_modules/iobroker.i2c/

          Es fängt damit an, dass du im falschen Ordner installierst. Adapter-Installationen immer in /opt/iobroker.

          Den Build-Fehler kann ich beim Überfliegen nicht identifizieren, muss später nochmal schauen.

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

          G 1 Antwort Letzte Antwort
          0
          • C Offline
            C Offline
            cavemanatwork
            schrieb am zuletzt editiert von
            #5

            Lasst mal gut sein.
            Ich hab heute früh node auf die empfohlene Version 12 umgesellt, vielleicht ist dass das Problem.
            Vielleicht ist halt grad dieser Adapter noch nicht reif dafür.
            Ein Downgrade brachte jetzt zwar auch keinen Erfolg, aber ich fang nochmal von vorn an.
            Leider verliere ich so langsam das Vertrauen in die langfristige Zuverlässigkeit so eines Systems.

            Trotzdem tausend Dank für alle die reingeschaut haben.

            Beste Grüße
            Michael

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • AlCalzoneA AlCalzone

              @cavemanatwork sagte in I2C Adapter lässt sich nicht installieren:

              /home/pi/node_modules/iobroker.i2c/

              Es fängt damit an, dass du im falschen Ordner installierst. Adapter-Installationen immer in /opt/iobroker.

              Den Build-Fehler kann ich beim Überfliegen nicht identifizieren, muss später nochmal schauen.

              G Offline
              G Offline
              grooovie
              schrieb am zuletzt editiert von
              #6

              @AlCalzone bei mir funktioniert dieser adpater auch nicht

              ich erhalte ebenso nur fehlermeldungen, bei der admininstallation

              manuel habe ich es auch versucht, days endete hiermit:

              
              pi@PoststrasseZentralheizung:~ $ cd /opt/iobroker
              pi@PoststrasseZentralheizung:/opt/iobroker $ npm i iobroker.i2c
              
              > i2c-bus@1.2.5 install /opt/iobroker/node_modules/i2c-bus
              > node-gyp rebuild
              
              make: Entering directory '/opt/iobroker/node_modules/i2c-bus/build'
                CXX(target) Release/obj.target/i2c/src/i2c.o
              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.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2664:59: note: declared here
                               V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                                         ^~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2702:51: note: declared here
                               V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                 ^~~~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
              In file included from ../node_modules/nan/nan_new.h:189,
                               from ../node_modules/nan/nan.h: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.19.0/include/node/node.h:183:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:183:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:176:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:176:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:169:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:169:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
              In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:183:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:183:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3499:22: note: declared here
                               bool Set(Local<Value> key, Local<Value> value));
                                    ^~~
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3499:22: note: declared here
                               bool Set(Local<Value> key, Local<Value> value));
                                    ^~~
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3508:22: note: declared here
                               bool Set(uint32_t index, Local<Value> value));
                                    ^~~
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/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.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:570:22: note: declared here
                     V8_INLINE void MarkIndependent());
                                    ^~~~~~~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:727: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.19.0/include/node/node.h:761: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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2699:8: note:   candidate expects 1 argument, 0 provided
              In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2699:8: note:   candidate expects 1 argument, 0 provided
              In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                               from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
              In 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.19.0/include/node/node.h:67,
                               from ../src/i2c.cc:1:
              /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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] Error 1
              make: Leaving directory '/opt/iobroker/node_modules/i2c-bus/build'
              gyp ERR! build error
              gyp ERR! stack Error: `make` failed with exit code: 2
              gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
              gyp ERR! stack     at ChildProcess.emit (events.js:314: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-bus
              gyp ERR! node -v v12.19.0
              gyp ERR! node-gyp -v v5.1.0
              gyp ERR! not ok
              npm WARN raspi-kit-ads1x15@1.0.0 requires a peer of raspi-i2c@>= 6 but none is installed. You must install peer dependencies yourself.
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
              
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`
              npm ERR! Exit status 1
              npm 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-10-09T17_41_03_218Z-debug.log
              
              
              
              GlasfaserG 1 Antwort Letzte Antwort
              0
              • C cavemanatwork

                Lasst mal gut sein.
                Ich hab heute früh node auf die empfohlene Version 12 umgesellt, vielleicht ist dass das Problem.
                Vielleicht ist halt grad dieser Adapter noch nicht reif dafür.
                Ein Downgrade brachte jetzt zwar auch keinen Erfolg, aber ich fang nochmal von vorn an.
                Leider verliere ich so langsam das Vertrauen in die langfristige Zuverlässigkeit so eines Systems.

                Trotzdem tausend Dank für alle die reingeschaut haben.

                Beste Grüße
                Michael

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

                @cavemanatwork Dein Betriebssystem ist auch nicht auf dem letzten Stand.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                GlasfaserG 1 Antwort Letzte Antwort
                0
                • G grooovie

                  @AlCalzone bei mir funktioniert dieser adpater auch nicht

                  ich erhalte ebenso nur fehlermeldungen, bei der admininstallation

                  manuel habe ich es auch versucht, days endete hiermit:

                  
                  pi@PoststrasseZentralheizung:~ $ cd /opt/iobroker
                  pi@PoststrasseZentralheizung:/opt/iobroker $ npm i iobroker.i2c
                  
                  > i2c-bus@1.2.5 install /opt/iobroker/node_modules/i2c-bus
                  > node-gyp rebuild
                  
                  make: Entering directory '/opt/iobroker/node_modules/i2c-bus/build'
                    CXX(target) Release/obj.target/i2c/src/i2c.o
                  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.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2664:59: note: declared here
                                   V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                                             ^~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2702:51: note: declared here
                                   V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                     ^~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
                  In file included from ../node_modules/nan/nan_new.h:189,
                                   from ../node_modules/nan/nan.h: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.19.0/include/node/node.h:183:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:183:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:176:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:176:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:169:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:169:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                  In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:183:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/node.h:183:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:102: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.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3499:22: note: declared here
                                   bool Set(Local<Value> key, Local<Value> value));
                                        ^~~
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3499:22: note: declared here
                                   bool Set(Local<Value> key, Local<Value> value));
                                        ^~~
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3508:22: note: declared here
                                   bool Set(uint32_t index, Local<Value> value));
                                        ^~~
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/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.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:570:22: note: declared here
                         V8_INLINE void MarkIndependent());
                                        ^~~~~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:727: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.19.0/include/node/node.h:761: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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2699:8: note:   candidate expects 1 argument, 0 provided
                  In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2699:8: note:   candidate expects 1 argument, 0 provided
                  In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                   from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/include/node/v8.h:2709:40: note:   candidate expects 1 argument, 0 provided
                  In 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.19.0/include/node/node.h:67,
                                   from ../src/i2c.cc:1:
                  /home/iobroker/.cache/node-gyp/12.19.0/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.19.0/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] Error 1
                  make: Leaving directory '/opt/iobroker/node_modules/i2c-bus/build'
                  gyp ERR! build error
                  gyp ERR! stack Error: `make` failed with exit code: 2
                  gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                  gyp ERR! stack     at ChildProcess.emit (events.js:314: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-bus
                  gyp ERR! node -v v12.19.0
                  gyp ERR! node-gyp -v v5.1.0
                  gyp ERR! not ok
                  npm WARN raspi-kit-ads1x15@1.0.0 requires a peer of raspi-i2c@>= 6 but none is installed. You must install peer dependencies yourself.
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                  
                  npm ERR! code ELIFECYCLE
                  npm ERR! errno 1
                  npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`
                  npm ERR! Exit status 1
                  npm 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-10-09T17_41_03_218Z-debug.log
                  
                  
                  
                  GlasfaserG Offline
                  GlasfaserG Offline
                  Glasfaser
                  schrieb am zuletzt editiert von
                  #8

                  @grooovie sagte in I2C Adapter lässt sich nicht installieren:

                  @AlCalzone bei mir funktioniert dieser adpater auch nicht
                  ich erhalte ebenso nur fehlermeldungen, bei der admininstallation
                  manuel habe ich es auch versucht, days endete hiermit:

                  verstehe die Logik nicht !? warum fragst du hier in einem alten Thread zur gleichen Zeit an , obwohl AlCalzone doch in deinem Thread
                  https://forum.iobroker.net/topic/35141/npm-raspi-i2c-modul-ladefehler/31
                  weiß das du Probleme hast und auch dort würde ich die weiteren Logs einstellen , so wird es nie zu einer Lösung kommen !!!

                  Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                  G 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @cavemanatwork Dein Betriebssystem ist auch nicht auf dem letzten Stand.

                    GlasfaserG Offline
                    GlasfaserG Offline
                    Glasfaser
                    schrieb am zuletzt editiert von
                    #9

                    @Thomas-Braun sagte in I2C Adapter lässt sich nicht installieren:

                    @cavemanatwork Dein Betriebssystem ist auch nicht auf dem letzten Stand.

                    Anfrage vom Juni ... besser als gar keine Antwort :grin: ;)

                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • GlasfaserG Glasfaser

                      @Thomas-Braun sagte in I2C Adapter lässt sich nicht installieren:

                      @cavemanatwork Dein Betriebssystem ist auch nicht auf dem letzten Stand.

                      Anfrage vom Juni ... besser als gar keine Antwort :grin: ;)

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

                      @Glasfaser Datum nicht gesehen... :-D

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Antwort Letzte Antwort
                      0
                      • GlasfaserG Glasfaser

                        @grooovie sagte in I2C Adapter lässt sich nicht installieren:

                        @AlCalzone bei mir funktioniert dieser adpater auch nicht
                        ich erhalte ebenso nur fehlermeldungen, bei der admininstallation
                        manuel habe ich es auch versucht, days endete hiermit:

                        verstehe die Logik nicht !? warum fragst du hier in einem alten Thread zur gleichen Zeit an , obwohl AlCalzone doch in deinem Thread
                        https://forum.iobroker.net/topic/35141/npm-raspi-i2c-modul-ladefehler/31
                        weiß das du Probleme hast und auch dort würde ich die weiteren Logs einstellen , so wird es nie zu einer Lösung kommen !!!

                        G Offline
                        G Offline
                        grooovie
                        schrieb am zuletzt editiert von
                        #11

                        @Glasfaser

                        für mich waren und sind es 2 verschiedene probleme

                        1. die anfrage hier betrifft den i2c adapter aus iobroker
                        2. die anfrage in einem thread betrifft das laden des modules 'raspi-i2c'
                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate
                        FAQ Cloud / IOT
                        HowTo: Node.js-Update
                        HowTo: Backup/Restore
                        Downloads
                        BLOG

                        836

                        Online

                        32.4k

                        Benutzer

                        81.6k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe