Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Adapter lassen sich nicht mehr updaten ?

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    511

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

Adapter lassen sich nicht mehr updaten ?

Scheduled Pinned Locked Moved ioBroker Allgemein
updateerrorlog
66 Posts 5 Posters 6.1k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tr1plxT Offline
    tr1plxT Offline
    tr1plx
    wrote on last edited by
    #23

    @Thomas-Braun said in Adapter lassen sich nicht mehr updaten ?:

    sudo -u iobroker groups

    max@iobroker:~$ sudo -u iobroker groups
    iobroker tty dialout audio video bluetooth
    max@iobroker:~$
    
    
    

    ich habe iobroker gestartet, aber leider lassen sich die Adapter noch immer nicht updaten.

    harrymH 1 Reply Last reply
    0
    • Thomas BraunT Thomas Braun

      @harrym Das wollte ich mir eigentlich immer mal angeschaut haben, was da so gezaubert wird im Fixer. Mach ich mal bei Gelegenheit.

      harrymH Offline
      harrymH Offline
      harrym
      wrote on last edited by
      #24

      @Thomas-Braun Bildschirmfoto vom 2020-05-13 21-56-58.png

      Bildschirmfoto vom 2020-05-13 21-57-11.png

      ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

      Thomas BraunT 1 Reply Last reply
      0
      • tr1plxT tr1plx

        @Thomas-Braun said in Adapter lassen sich nicht mehr updaten ?:

        sudo -u iobroker groups

        max@iobroker:~$ sudo -u iobroker groups
        iobroker tty dialout audio video bluetooth
        max@iobroker:~$
        
        
        

        ich habe iobroker gestartet, aber leider lassen sich die Adapter noch immer nicht updaten.

        harrymH Offline
        harrymH Offline
        harrym
        wrote on last edited by
        #25

        @tr1plx fehler? noch immer der mim serialport?

        ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

        tr1plxT 1 Reply Last reply
        0
        • harrymH harrym

          @tr1plx fehler? noch immer der mim serialport?

          tr1plxT Offline
          tr1plxT Offline
          tr1plx
          wrote on last edited by
          #26

          @harrym said in Adapter lassen sich nicht mehr updaten ?:

          @tr1plx fehler? noch immer der mim serialport?

          Ja. ich habe jetzt mal nur den Backitup einzeln versucht:

          $ ./iobroker upgrade backitup
          Update backitup from @1.5.6 to @1.5.7
          host.iobroker Adapter "system.adapter.backitup.0" is stopped.
          NPM version: 6.14.5
          npm install iobroker.backitup@1.5.7 --loglevel error --prefix "/opt/iobroker" (System call)
          In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../../../nan/nan.h:2298: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)                                                              ^
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’   v8::String::Utf8Value path(info[0]->ToString());                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
          ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~
          ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
          ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
          ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
          ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));                                                                                                          ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void   void init(v8::Handle<v8::Object> target) {                 ^~~~~~../src/serialport.cpp:460:17: error: ‘Handle’ is not a member of ‘v8’../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token   void init(v8::Handle<v8::Object> target) {                                  ^../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~
          ../src/serialport.cpp:460:36: note: suggested alternative: ‘tzset’   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~                                    tzsetIn file included from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
          ../src/serialport.cpp:485:25: note: suggested alternative: ‘int’ NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
          make: *** [serialport.target.mk:114: Release/obj.target/serialport/src/serialport.o] Fehler 1
          gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:310:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.0-9-amd64gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.wm-bus/node_modules/serialportgyp ERR! node -v v12.16.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
          npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the serialport@6.2.2 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-05-13T19_58_42_071Z-debug.log
          upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
          upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
          upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
          upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
          Adapter "backitup" updatedhost.iobroker Adapter "system.adapter.backitup.0" is started
          process exited with code 0
          
          nach kurzer Zeit erscheit er erneut unter updates.
          
          harrymH 1 Reply Last reply
          0
          • harrymH harrym

            @Thomas-Braun Bildschirmfoto vom 2020-05-13 21-56-58.png

            Bildschirmfoto vom 2020-05-13 21-57-11.png

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #27

            @harrym Ah, direkt drin, nicht über die Gruppe. Alles klar...

            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 Reply Last reply
            0
            • tr1plxT tr1plx

              @harrym said in Adapter lassen sich nicht mehr updaten ?:

              @tr1plx fehler? noch immer der mim serialport?

              Ja. ich habe jetzt mal nur den Backitup einzeln versucht:

              $ ./iobroker upgrade backitup
              Update backitup from @1.5.6 to @1.5.7
              host.iobroker Adapter "system.adapter.backitup.0" is stopped.
              NPM version: 6.14.5
              npm install iobroker.backitup@1.5.7 --loglevel error --prefix "/opt/iobroker" (System call)
              In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../../../nan/nan.h:2298: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)                                                              ^
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’   v8::String::Utf8Value path(info[0]->ToString());                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
              ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~
              ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
              ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
              ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
              ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));                                                                                                          ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void   void init(v8::Handle<v8::Object> target) {                 ^~~~~~../src/serialport.cpp:460:17: error: ‘Handle’ is not a member of ‘v8’../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token   void init(v8::Handle<v8::Object> target) {                                  ^../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~
              ../src/serialport.cpp:460:36: note: suggested alternative: ‘tzset’   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~                                    tzsetIn file included from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
              ../src/serialport.cpp:485:25: note: suggested alternative: ‘int’ NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
              make: *** [serialport.target.mk:114: Release/obj.target/serialport/src/serialport.o] Fehler 1
              gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:310:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.0-9-amd64gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.wm-bus/node_modules/serialportgyp ERR! node -v v12.16.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
              npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the serialport@6.2.2 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-05-13T19_58_42_071Z-debug.log
              upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
              upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
              upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
              upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
              Adapter "backitup" updatedhost.iobroker Adapter "system.adapter.backitup.0" is started
              process exited with code 0
              
              nach kurzer Zeit erscheit er erneut unter updates.
              
              harrymH Offline
              harrymH Offline
              harrym
              wrote on last edited by
              #28

              @tr1plx sagte in Adapter lassen sich nicht mehr updaten ?:

              Adapter "backitup" updatedhost.iobroker Adapter "system.adapter.backitup.0" is started

              alles gut! adapter ist up2date .... ignoriere den "fehler" vom serialport

              ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

              tr1plxT 1 Reply Last reply
              0
              • harrymH harrym

                @tr1plx sagte in Adapter lassen sich nicht mehr updaten ?:

                Adapter "backitup" updatedhost.iobroker Adapter "system.adapter.backitup.0" is started

                alles gut! adapter ist up2date .... ignoriere den "fehler" vom serialport

                tr1plxT Offline
                tr1plxT Offline
                tr1plx
                wrote on last edited by
                #29

                @harrym

                nochmal, wie ganz am Anfang bereits gesagt.
                Die Updates kommen nach ein paar Minuten wieder !

                Zwischenablage01.jpg

                Die Instanz läuft, aber sie lässt sich nicht updaten.

                Was hat es denn mit dem Serialport auf sich?

                Thomas BraunT harrymH 2 Replies Last reply
                0
                • tr1plxT tr1plx

                  @harrym

                  nochmal, wie ganz am Anfang bereits gesagt.
                  Die Updates kommen nach ein paar Minuten wieder !

                  Zwischenablage01.jpg

                  Die Instanz läuft, aber sie lässt sich nicht updaten.

                  Was hat es denn mit dem Serialport auf sich?

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #30

                  @tr1plx

                  iobroker update 
                  iobroker upgrade
                  

                  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 Reply Last reply
                  0
                  • tr1plxT tr1plx

                    @harrym

                    nochmal, wie ganz am Anfang bereits gesagt.
                    Die Updates kommen nach ein paar Minuten wieder !

                    Zwischenablage01.jpg

                    Die Instanz läuft, aber sie lässt sich nicht updaten.

                    Was hat es denn mit dem Serialport auf sich?

                    harrymH Offline
                    harrymH Offline
                    harrym
                    wrote on last edited by
                    #31

                    @tr1plx wieso hast du 2 instanzen vom backitup installiert ??????

                    ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                    Thomas BraunT 1 Reply Last reply
                    0
                    • harrymH harrym

                      @tr1plx wieso hast du 2 instanzen vom backitup installiert ??????

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #32

                      @harrym sagte in Adapter lassen sich nicht mehr updaten ?:

                      @tr1plx wieso hast du 2 instanzen vom backitup installiert ??????

                      Eine für mysql, die andere für den iobroker... :-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

                      harrymH 1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @harrym sagte in Adapter lassen sich nicht mehr updaten ?:

                        @tr1plx wieso hast du 2 instanzen vom backitup installiert ??????

                        Eine für mysql, die andere für den iobroker... :-D

                        harrymH Offline
                        harrymH Offline
                        harrym
                        wrote on last edited by
                        #33

                        @Thomas-Braun ??????? häääääääääääää? versteh ich jetzt nicht ....

                        ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                        Thomas BraunT tr1plxT 2 Replies Last reply
                        0
                        • harrymH harrym

                          @Thomas-Braun ??????? häääääääääääää? versteh ich jetzt nicht ....

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #34

                          @harrym sagte in Adapter lassen sich nicht mehr updaten ?:

                          @Thomas-Braun ??????? häääääääääääää? versteh ich jetzt nicht ....

                          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_13-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
                          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_13-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
                          

                          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 Reply Last reply
                          0
                          • harrymH harrym

                            @Thomas-Braun ??????? häääääääääääää? versteh ich jetzt nicht ....

                            tr1plxT Offline
                            tr1plxT Offline
                            tr1plx
                            wrote on last edited by
                            #35

                            @harrym

                            Nein.

                            backitup.0 macht eine CCU und eine SQL-Datenbank.
                            backitup.1 macht eine CCU in einem anderen Haushalt, der über VPN angebunden ist.

                            Pro Backitup-Adapter kann man leider nur eine CCU sichern :-)

                            harrymH 1 Reply Last reply
                            0
                            • tr1plxT tr1plx

                              @harrym

                              Nein.

                              backitup.0 macht eine CCU und eine SQL-Datenbank.
                              backitup.1 macht eine CCU in einem anderen Haushalt, der über VPN angebunden ist.

                              Pro Backitup-Adapter kann man leider nur eine CCU sichern :-)

                              harrymH Offline
                              harrymH Offline
                              harrym
                              wrote on last edited by
                              #36

                              @tr1plx ah! DAS macht sinn! (y)

                              ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                              tr1plxT 1 Reply Last reply
                              0
                              • harrymH harrym

                                @tr1plx ah! DAS macht sinn! (y)

                                tr1plxT Offline
                                tr1plxT Offline
                                tr1plx
                                wrote on last edited by
                                #37

                                @harrym Funktioniert auch einwandfrei, das eine ist mein ZuHause und das andere ist mein Elternhaus, wo ebenfalls HM-CCU läuft.

                                iobroker update
                                iobroker upgrade
                                iobroker start

                                -> noch immer keine Besserung seufz

                                Thomas BraunT harrymH 2 Replies Last reply
                                0
                                • tr1plxT tr1plx

                                  @harrym Funktioniert auch einwandfrei, das eine ist mein ZuHause und das andere ist mein Elternhaus, wo ebenfalls HM-CCU läuft.

                                  iobroker update
                                  iobroker upgrade
                                  iobroker start

                                  -> noch immer keine Besserung seufz

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by Thomas Braun
                                  #38

                                  @tr1plx
                                  Konsolenoutput?
                                  Kannst auch mal in das logfile schauen:

                                  tail -f /opt/iobroker/log/iobroker.current.log
                                  

                                  Rebuildet der da gerade alles mögliche?

                                  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

                                  tr1plxT 1 Reply Last reply
                                  0
                                  • tr1plxT tr1plx

                                    @harrym Funktioniert auch einwandfrei, das eine ist mein ZuHause und das andere ist mein Elternhaus, wo ebenfalls HM-CCU läuft.

                                    iobroker update
                                    iobroker upgrade
                                    iobroker start

                                    -> noch immer keine Besserung seufz

                                    harrymH Offline
                                    harrymH Offline
                                    harrym
                                    wrote on last edited by
                                    #39

                                    @tr1plx mach mal die harte methode ;) adapter löschen .... neu installieren. war ja einiges ned ganz sauber bei deinem broker .....

                                    ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                                    1 Reply Last reply
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @tr1plx
                                      Konsolenoutput?
                                      Kannst auch mal in das logfile schauen:

                                      tail -f /opt/iobroker/log/iobroker.current.log
                                      

                                      Rebuildet der da gerade alles mögliche?

                                      tr1plxT Offline
                                      tr1plxT Offline
                                      tr1plx
                                      wrote on last edited by
                                      #40

                                      @Thomas-Braun

                                      Konsolenoutput ist zu viel für einen Post. Aber Quasi die gleichen Meldungen wie bekannt. Hier ein Auszug:

                                      Adapter "tinker"         is not installed.
                                      Adapter "tino"           is not installed.
                                      Adapter "tinyrx4"        is not installed.
                                      Update tr-064 from @4.0.1 to @4.0.3
                                      NPM version: 6.14.5
                                      npm install iobroker.tr-064@4.0.3 --loglevel error --prefix "/opt/iobroker" (System call)
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                      ../../../../nan/nan.h:2298: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)
                                                                                                    ^
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’
                                         v8::String::Utf8Value path(info[0]->ToString());
                                                                                      ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
                                         V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                                  ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
                                                       Local<String> ToString(Isolate* isolate) const);
                                                                     ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                                       Local<String> ToString(Isolate* isolate) const);
                                                                     ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’
                                         v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                           ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
                                         V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                                  ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’
                                                       Local<Object> ToObject(Isolate* isolate) const);
                                                                     ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                                       Local<Object> ToObject(Isolate* isolate) const);
                                                                     ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                                                           ^~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                                      ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(2, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’
                                         v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                           ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
                                         V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                                  ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’
                                                       Local<Object> ToObject(Isolate* isolate) const);
                                                                     ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                                       Local<Object> ToObject(Isolate* isolate) const);
                                                                     ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                                                             ^~~~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
                                      ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                                                            ^~~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
                                      ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                                                            ^~~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
                                      ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’
                                         v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                           ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
                                         V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                                  ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’
                                                       Local<Object> ToObject(Isolate* isolate) const);
                                                                     ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                                       Local<Object> ToObject(Isolate* isolate) const);
                                                                     ^~~~~~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                                                          ^~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
                                      ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                                                          ^~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                                      ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                                                                      ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                       bool Set(Local<Value> key, Local<Value> value));
                                                            ^~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                                                                      ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                       bool Set(Local<Value> key, Local<Value> value));
                                                            ^~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                                                                      ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                       bool Set(Local<Value> key, Local<Value> value));
                                                            ^~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(2, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                                      ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                                                                                ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                       bool Set(Local<Value> key, Local<Value> value));
                                                            ^~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(2, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                                                            ^~~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                                      ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: At global scope:
                                      ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
                                       SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                                                  ^
                                      ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
                                       SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                                                    ^
                                      ../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
                                         void init(v8::Handle<v8::Object> target) {
                                                       ^~~~~~
                                      ../src/serialport.cpp:460:17: error: ‘Handle’ is not a member of ‘v8’
                                      ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token
                                         void init(v8::Handle<v8::Object> target) {
                                                                        ^
                                      ../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
                                         void init(v8::Handle<v8::Object> target) {
                                                                          ^~~~~~
                                      ../src/serialport.cpp:460:36: note: suggested alternative: ‘tzset’
                                         void init(v8::Handle<v8::Object> target) {
                                                                          ^~~~~~
                                                                          tzset
                                      In file included from ../../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
                                       NODE_MODULE(serialport, init);
                                                               ^~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                                             (node::addon_register_func) (regfunc),                          \
                                                                          ^~~~~~~
                                      ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                                       NODE_MODULE(serialport, init);
                                       ^~~~~~~~~~~
                                      ../src/serialport.cpp:485:25: note: suggested alternative: ‘int’
                                       NODE_MODULE(serialport, init);
                                                               ^~~~
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                                             (node::addon_register_func) (regfunc),                          \
                                                                          ^~~~~~~
                                      ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                                       NODE_MODULE(serialport, init);
                                       ^~~~~~~~~~~
                                      make: *** [serialport.target.mk:114: Release/obj.target/serialport/src/serialport.o] Fehler 1
                                      gyp ERR! build error
                                      gyp ERR! stack Error: `make` failed with exit code: 2
                                      gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                      gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                      gyp ERR! System Linux 4.19.0-9-amd64
                                      gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                      gyp ERR! cwd /opt/iobroker/node_modules/iobroker.wm-bus/node_modules/serialport
                                      gyp ERR! node -v v12.16.3
                                      gyp ERR! node-gyp -v v5.1.0
                                      gyp ERR! not ok
                                      npm ERR! code ELIFECYCLE
                                      npm ERR! errno 1
                                      npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
                                      npm ERR! Exit status 1
                                      npm ERR!
                                      npm ERR! Failed at the serialport@6.2.2 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-05-13T20_16_09_878Z-debug.log
                                      upload [2] tr-064.admin /opt/iobroker/node_modules/iobroker.tr-064/admin/words.js words.js application/javascript
                                      upload [1] tr-064.admin /opt/iobroker/node_modules/iobroker.tr-064/admin/tr-064.png tr-064.png image/png
                                      upload [0] tr-064.admin /opt/iobroker/node_modules/iobroker.tr-064/admin/index_m.html index_m.html text/html
                                      Adapter "tr-064" updated
                                      Adapter "tradfri"        is not installed.
                                      Adapter "trashschedule"  is not installed.
                                      Adapter "tunnelbroker-endpoint-updater" is not installed.
                                      Adapter "tuya"           is not installed.
                                      Adapter "tvspielfilm"    is not installed.
                                      Adapter "unifi"          is up to date.
                                      Adapter "unifi-protect"  is not installed.
                                      Adapter "upnp"           is up to date.
                                      Adapter "vaillant"       is not installed.
                                      Adapter "valloxmv"       is not installed.
                                      Adapter "vcard"          is not installed.
                                      Adapter "vedirect"       is not installed.
                                      Adapter "velux"          is not installed.
                                      Adapter "viessmann"      is not installed.
                                      Adapter "viessmannapi"   is not installed.
                                      Adapter "virtualpowermeter" is not installed.
                                      Adapter "vis"            is up to date.
                                      Adapter "vis-bars"       is up to date.
                                      Adapter "vis-canvas-gauges" is up to date.
                                      Adapter "vis-colorpicker" is up to date.
                                      Adapter "vis-fancyswitch" is up to date.
                                      Adapter "vis-google-fonts" is up to date.
                                      Adapter "vis-history"    is up to date.
                                      Adapter "vis-hqwidgets"  is up to date.
                                      Adapter "vis-inventwo"   is not installed.
                                      Adapter "vis-jqui-mfd"   is up to date.
                                      Adapter "vis-justgage"   is up to date.
                                      Adapter "vis-keyboard"   is up to date.
                                      Adapter "vis-lcars"      is up to date.
                                      Adapter "vis-map"        is up to date.
                                      Adapter "vis-material"   is up to date.
                                      Adapter "vis-material-webfont" is not installed.
                                      Adapter "vis-materialdesign" is up to date.
                                      Adapter "vis-metro"      is up to date.
                                      Adapter "vis-players"    is up to date.
                                      Adapter "vis-plumb"      is up to date.
                                      Adapter "vis-rgraph"     is up to date.
                                      Adapter "vis-timeandweather" is up to date.
                                      Adapter "vis-weather"    is up to date.
                                      Adapter "vodafone-speedtest" is not installed.
                                      Adapter "volvo"          is not installed.
                                      Adapter "vr200"          is not installed.
                                      Adapter "vw-connect"     is not installed.
                                      Adapter "weatherunderground" is not installed.
                                      Adapter "web"            is up to date.
                                      Adapter "web-speedy"     is up to date.
                                      Adapter "weishaupt-wem"  is not installed.
                                      Adapter "wiffi-wz"       is not installed.
                                      Adapter "wifilight"      is not installed.
                                      Adapter "windows-control" is not installed.
                                      Adapter "wlanthermo-nano" is not installed.
                                      Adapter "wled"           is not installed.
                                      Adapter "wm-bus"         is not installed.
                                      Adapter "wolf"           is not installed.
                                      Adapter "worx"           is not installed.
                                      Adapter "xbox"           is not installed.
                                      Adapter "xs1"            is not installed.
                                      Adapter "yahka"          is not installed.
                                      Adapter "yamaha"         is up to date.
                                      Adapter "yeelight-2"     is not installed.
                                      Adapter "youtube"        is not installed.
                                      Adapter "yr"             is not installed.
                                      Adapter "zigbee"         is not installed.
                                      Adapter "zoneminder"     is not installed.
                                      Adapter "zont"           is not installed.
                                      Adapter "zwave"          is not installed.
                                      Adapter "zwave2"         is not installed.
                                      
                                      
                                      harrymH 1 Reply Last reply
                                      0
                                      • tr1plxT tr1plx

                                        @Thomas-Braun

                                        Konsolenoutput ist zu viel für einen Post. Aber Quasi die gleichen Meldungen wie bekannt. Hier ein Auszug:

                                        Adapter "tinker"         is not installed.
                                        Adapter "tino"           is not installed.
                                        Adapter "tinyrx4"        is not installed.
                                        Update tr-064 from @4.0.1 to @4.0.3
                                        NPM version: 6.14.5
                                        npm install iobroker.tr-064@4.0.3 --loglevel error --prefix "/opt/iobroker" (System call)
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                        ../../../../nan/nan.h:2298: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)
                                                                                                      ^
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’
                                           v8::String::Utf8Value path(info[0]->ToString());
                                                                                        ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
                                           V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                                    ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
                                                         Local<String> ToString(Isolate* isolate) const);
                                                                       ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                                         Local<String> ToString(Isolate* isolate) const);
                                                                       ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’
                                           v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                             ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
                                           V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                                    ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’
                                                         Local<Object> ToObject(Isolate* isolate) const);
                                                                       ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                                         Local<Object> ToObject(Isolate* isolate) const);
                                                                       ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                                                             ^~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                                        ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(2, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’
                                           v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                             ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
                                           V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                                    ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’
                                                         Local<Object> ToObject(Isolate* isolate) const);
                                                                       ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                                         Local<Object> ToObject(Isolate* isolate) const);
                                                                       ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                                                               ^~~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
                                        ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(1, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                                                              ^~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
                                        ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(1, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                                                              ^~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
                                        ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(1, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’
                                           v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                             ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
                                           V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                                                    ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’
                                                         Local<Object> ToObject(Isolate* isolate) const);
                                                                       ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                                                         Local<Object> ToObject(Isolate* isolate) const);
                                                                       ^~~~~~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                                                            ^~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
                                        ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(1, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                                                            ^~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                                        ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                                                                        ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                         bool Set(Local<Value> key, Local<Value> value));
                                                              ^~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                                                                        ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                         bool Set(Local<Value> key, Local<Value> value));
                                                              ^~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                                                                        ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                         bool Set(Local<Value> key, Local<Value> value));
                                                              ^~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(2, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                                                    ^~~~~~~~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                                        ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                             results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                                                                                  ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                         bool Set(Local<Value> key, Local<Value> value));
                                                              ^~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(2, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                                                              ^~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                                        ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(1, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: At global scope:
                                        ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
                                         SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                                                    ^
                                        ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
                                         SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                                                      ^
                                        ../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
                                           void init(v8::Handle<v8::Object> target) {
                                                         ^~~~~~
                                        ../src/serialport.cpp:460:17: error: ‘Handle’ is not a member of ‘v8’
                                        ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token
                                           void init(v8::Handle<v8::Object> target) {
                                                                          ^
                                        ../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
                                           void init(v8::Handle<v8::Object> target) {
                                                                            ^~~~~~
                                        ../src/serialport.cpp:460:36: note: suggested alternative: ‘tzset’
                                           void init(v8::Handle<v8::Object> target) {
                                                                            ^~~~~~
                                                                            tzset
                                        In file included from ../../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
                                         NODE_MODULE(serialport, init);
                                                                 ^~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                                               (node::addon_register_func) (regfunc),                          \
                                                                            ^~~~~~~
                                        ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                                         NODE_MODULE(serialport, init);
                                         ^~~~~~~~~~~
                                        ../src/serialport.cpp:485:25: note: suggested alternative: ‘int’
                                         NODE_MODULE(serialport, init);
                                                                 ^~~~
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                                               (node::addon_register_func) (regfunc),                          \
                                                                            ^~~~~~~
                                        ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                                         NODE_MODULE(serialport, init);
                                         ^~~~~~~~~~~
                                        make: *** [serialport.target.mk:114: Release/obj.target/serialport/src/serialport.o] Fehler 1
                                        gyp ERR! build error
                                        gyp ERR! stack Error: `make` failed with exit code: 2
                                        gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                        gyp ERR! System Linux 4.19.0-9-amd64
                                        gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.wm-bus/node_modules/serialport
                                        gyp ERR! node -v v12.16.3
                                        gyp ERR! node-gyp -v v5.1.0
                                        gyp ERR! not ok
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the serialport@6.2.2 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-05-13T20_16_09_878Z-debug.log
                                        upload [2] tr-064.admin /opt/iobroker/node_modules/iobroker.tr-064/admin/words.js words.js application/javascript
                                        upload [1] tr-064.admin /opt/iobroker/node_modules/iobroker.tr-064/admin/tr-064.png tr-064.png image/png
                                        upload [0] tr-064.admin /opt/iobroker/node_modules/iobroker.tr-064/admin/index_m.html index_m.html text/html
                                        Adapter "tr-064" updated
                                        Adapter "tradfri"        is not installed.
                                        Adapter "trashschedule"  is not installed.
                                        Adapter "tunnelbroker-endpoint-updater" is not installed.
                                        Adapter "tuya"           is not installed.
                                        Adapter "tvspielfilm"    is not installed.
                                        Adapter "unifi"          is up to date.
                                        Adapter "unifi-protect"  is not installed.
                                        Adapter "upnp"           is up to date.
                                        Adapter "vaillant"       is not installed.
                                        Adapter "valloxmv"       is not installed.
                                        Adapter "vcard"          is not installed.
                                        Adapter "vedirect"       is not installed.
                                        Adapter "velux"          is not installed.
                                        Adapter "viessmann"      is not installed.
                                        Adapter "viessmannapi"   is not installed.
                                        Adapter "virtualpowermeter" is not installed.
                                        Adapter "vis"            is up to date.
                                        Adapter "vis-bars"       is up to date.
                                        Adapter "vis-canvas-gauges" is up to date.
                                        Adapter "vis-colorpicker" is up to date.
                                        Adapter "vis-fancyswitch" is up to date.
                                        Adapter "vis-google-fonts" is up to date.
                                        Adapter "vis-history"    is up to date.
                                        Adapter "vis-hqwidgets"  is up to date.
                                        Adapter "vis-inventwo"   is not installed.
                                        Adapter "vis-jqui-mfd"   is up to date.
                                        Adapter "vis-justgage"   is up to date.
                                        Adapter "vis-keyboard"   is up to date.
                                        Adapter "vis-lcars"      is up to date.
                                        Adapter "vis-map"        is up to date.
                                        Adapter "vis-material"   is up to date.
                                        Adapter "vis-material-webfont" is not installed.
                                        Adapter "vis-materialdesign" is up to date.
                                        Adapter "vis-metro"      is up to date.
                                        Adapter "vis-players"    is up to date.
                                        Adapter "vis-plumb"      is up to date.
                                        Adapter "vis-rgraph"     is up to date.
                                        Adapter "vis-timeandweather" is up to date.
                                        Adapter "vis-weather"    is up to date.
                                        Adapter "vodafone-speedtest" is not installed.
                                        Adapter "volvo"          is not installed.
                                        Adapter "vr200"          is not installed.
                                        Adapter "vw-connect"     is not installed.
                                        Adapter "weatherunderground" is not installed.
                                        Adapter "web"            is up to date.
                                        Adapter "web-speedy"     is up to date.
                                        Adapter "weishaupt-wem"  is not installed.
                                        Adapter "wiffi-wz"       is not installed.
                                        Adapter "wifilight"      is not installed.
                                        Adapter "windows-control" is not installed.
                                        Adapter "wlanthermo-nano" is not installed.
                                        Adapter "wled"           is not installed.
                                        Adapter "wm-bus"         is not installed.
                                        Adapter "wolf"           is not installed.
                                        Adapter "worx"           is not installed.
                                        Adapter "xbox"           is not installed.
                                        Adapter "xs1"            is not installed.
                                        Adapter "yahka"          is not installed.
                                        Adapter "yamaha"         is up to date.
                                        Adapter "yeelight-2"     is not installed.
                                        Adapter "youtube"        is not installed.
                                        Adapter "yr"             is not installed.
                                        Adapter "zigbee"         is not installed.
                                        Adapter "zoneminder"     is not installed.
                                        Adapter "zont"           is not installed.
                                        Adapter "zwave"          is not installed.
                                        Adapter "zwave2"         is not installed.
                                        
                                        
                                        harrymH Offline
                                        harrymH Offline
                                        harrym
                                        wrote on last edited by harrym
                                        #41

                                        @tr1plx ja ... der will was mim serialport .... sein aber alles nur warnings bzw. infos ....

                                        lösch mal den adapter .... ist ja schnell wieder eingerichtet ;)

                                        serialport fragt nach node v8 ab ..... ?????

                                        ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                                        tr1plxT 2 Replies Last reply
                                        0
                                        • harrymH harrym

                                          @tr1plx ja ... der will was mim serialport .... sein aber alles nur warnings bzw. infos ....

                                          lösch mal den adapter .... ist ja schnell wieder eingerichtet ;)

                                          serialport fragt nach node v8 ab ..... ?????

                                          tr1plxT Offline
                                          tr1plxT Offline
                                          tr1plx
                                          wrote on last edited by
                                          #42

                                          @harrym said in Adapter lassen sich nicht mehr updaten ?:

                                          @tr1plx ja ... der will was mim serialport .... sein aber alles nur warnings bzw. infos ....

                                          lösch mal den adapter .... ist ja schnell wieder eingerichtet ;)

                                          ok, aber ich glaube das bringt nichts. Denn als Update wird auch Philips Hue Bridge angeboten, ich hatte den mal installiert, es gibt aber keine Instanz. Wie also löschen wenn nicht da?

                                          harrymH 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          674

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe