normen / homebridge-433-arduino

A homebridge plugin to control 433MHz switches using an Arduino as transceiver
25 stars 11 forks source link

Serialport/bindings2.0.8 with node 14.15 #22

Closed C1ironie closed 3 years ago

C1ironie commented 3 years ago

Hi I can't install the module on Homebridge with errors :

@serialport/bindings@2.0.8 install /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=14.15.0 runtime=node arch=arm libc= platform=linux) make : on entre dans le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » CXX(target) Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../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); ....... I used Homebridge 1.1.6

Can you help me? Regards

normen commented 3 years ago

I don't see any errors, only warnings? You sure it didn't work?

Am 29.11.2020 01:37 schrieb C1ironie:

Hi I can't install the module on Homebridge with errors :

@serialport/bindings@2.0.8 install /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=14.15.0 runtime=node arch=arm libc= platform=linux) make : on entre dans le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » CXX(target) Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../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); ....... I used Homebridge 1.1.6

Can you help me? Regards

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/normen/homebridge-433-arduino/issues/22

C1ironie commented 3 years ago

Le 29 nov. 2020 à 11:32, Normen Hansen notifications@github.com a écrit :

I don't see any errors, only warnings? You sure it didn't work?

Am 29.11.2020 01:37 schrieb C1ironie:

Hi I can't install the module on Homebridge with errors :

@serialport/bindings@2.0.8 install /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=14.15.0 runtime=node arch=arm libc= platform=linux) make : on entre dans le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » CXX(target) Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../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); ....... I used Homebridge 1.1.6

Can you help me? Regards

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/normen/homebridge-433-arduino/issues/22 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/normen/homebridge-433-arduino/issues/22#issuecomment-735372272, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSTFVY33D5SSQKKS3CLG7DSSIPKRANCNFSM4UGMQ44Q.

Thanks a lot for your answer, so I put the all logs of install :

SER: homebridge DIR: /usr CMD: sudo -E -n npm install -g homebridge-433-arduino@latest

@serialport/bindings@2.0.8 install /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=14.15.0 runtime=node arch=arm libc= platform=linux) make : on entre dans le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » CXX(target) Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../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 ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../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 ‘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 ‘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 ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’: ../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 ‘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: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::FactoryBase::return_t)’ an::New("cts").ToLocalChecked(), Nan::New(data->cts)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::FactoryBase::return_t)’ an::New("dsr").ToLocalChecked(), Nan::New(data->dsr)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::FactoryBase::return_t)’ an::New("dcd").ToLocalChecked(), Nan::New(data->dcd)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../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] eue_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: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::IntegerFactory::return_t)’ ::String>("baudRate").ToLocalChecked(), Nan::New(data->baudRate)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../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: At global scope: ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local& v8str)) { ^ ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^ In file included from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:758:43: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Local, v8::Local, void)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:792:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~ ../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~ make: *** [bindings.target.mk:112: Release/obj.target/bindings/src/serialport.o] Error 1 make : on quitte le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Linux 5.4.51-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings gyp ERR! node -v v14.15.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @serialport/bindings@2.0.8 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @serialport/bindings@2.0.8 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/homebridge/.npm/_logs/2020-11-29T10_33_52_244Z-debug.log

Command failed. Please review log for details.

And I confirm you that the plugin installation does not succeed.

Christine

normen commented 3 years ago

I pushed a new version using the latest serialport library, check if that works for you.

Am 29.11.2020 02:36 schrieb C1ironie:

Le 29 nov. 2020 à 11:32, Normen Hansen notifications@github.com a écrit :

I don't see any errors, only warnings? You sure it didn't work?

Am 29.11.2020 01:37 schrieb C1ironie:

Hi I can't install the module on Homebridge with errors :

@serialport/bindings@2.0.8 install /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=14.15.0 runtime=node arch=arm libc= platform=linux) make : on entre dans le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » CXX(target) Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../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); ....... I used Homebridge 1.1.6

Can you help me? Regards

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/normen/homebridge-433-arduino/issues/22 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/normen/homebridge-433-arduino/issues/22#issuecomment-735372272, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSTFVY33D5SSQKKS3CLG7DSSIPKRANCNFSM4UGMQ44Q.

Thanks a lot for your answer, so I put the all logs of install :

SER: homebridge DIR: /usr CMD: sudo -E -n npm install -g homebridge-433-arduino@latest

@serialport/bindings@2.0.8 install /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=14.15.0 runtime=node arch=arm libc= platform=linux) make : on entre dans le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » CXX(target) Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../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 ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../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 ‘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 ‘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 ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’: ../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 ‘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: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::FactoryBase::return_t)’ an::New("cts").ToLocalChecked(), Nan::New(data->cts)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::FactoryBase::return_t)’ an::New("dsr").ToLocalChecked(), Nan::New(data->dsr)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::FactoryBase::return_t)’ an::New("dcd").ToLocalChecked(), Nan::New(data->dcd)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../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] eue_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: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::IntegerFactory::return_t)’ ::String>("baudRate").ToLocalChecked(), Nan::New(data->baudRate)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../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: At global scope: ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local& v8str)) { ^ ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^ In file included from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:758:43: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Local, v8::Local, void)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:792:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~ ../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~ make: *** [bindings.target.mk:112: Release/obj.target/bindings/src/serialport.o] Error 1 make : on quitte le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Linux 5.4.51-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings gyp ERR! node -v v14.15.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @serialport/bindings@2.0.8 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @serialport/bindings@2.0.8 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/homebridge/.npm/_logs/2020-11-29T10_33_52_244Z-debug.log

Command failed. Please review log for details.

And I confirm you that the plugin installation does not succeed.

Christine

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/normen/homebridge-433-arduino/issues/22#issuecomment-735372745

C1ironie commented 3 years ago

Great

Installation of the plugins is OK Now I will configure switches with my Arduino

Thanks a lot Christine

Le 29 nov. 2020 à 14:12, Normen Hansen notifications@github.com a écrit :

I pushed a new version using the latest serialport library, check if that works for you.

Am 29.11.2020 02:36 schrieb C1ironie:

Le 29 nov. 2020 à 11:32, Normen Hansen notifications@github.com a écrit :

I don't see any errors, only warnings? You sure it didn't work?

Am 29.11.2020 01:37 schrieb C1ironie:

Hi I can't install the module on Homebridge with errors :

@serialport/bindings@2.0.8 install /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=14.15.0 runtime=node arch=arm libc= platform=linux) make : on entre dans le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » CXX(target) Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../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); ....... I used Homebridge 1.1.6

Can you help me? Regards

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/normen/homebridge-433-arduino/issues/22 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/normen/homebridge-433-arduino/issues/22#issuecomment-735372272, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSTFVY33D5SSQKKS3CLG7DSSIPKRANCNFSM4UGMQ44Q.

Thanks a lot for your answer, so I put the all logs of install :

SER: homebridge DIR: /usr CMD: sudo -E -n npm install -g homebridge-433-arduino@latest

@serialport/bindings@2.0.8 install /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=14.15.0 runtime=node arch=arm libc= platform=linux) make : on entre dans le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » CXX(target) Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../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 ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../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 ‘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 ‘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 ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’: ../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 ‘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: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::FactoryBase::return_t)’ an::New("cts").ToLocalChecked(), Nan::New(data->cts)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::FactoryBase::return_t)’ an::New("dsr").ToLocalChecked(), Nan::New(data->dsr)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::FactoryBase::return_t)’ an::New("dcd").ToLocalChecked(), Nan::New(data->dcd)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../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] eue_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: error: no matching function for call to ‘v8::Object::Set(v8::Local, Nan::imp::IntegerFactory::return_t)’ ::String>("baudRate").ToLocalChecked(), Nan::New(data->baudRate)); ^

In file included from /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:67, from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/homebridge/.cache/node-gyp/14.15.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../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: At global scope: ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local& v8str)) { ^ ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^ In file included from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:758:43: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Local, v8::Local, void)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/homebridge/.cache/node-gyp/14.15.0/include/node/node.h:792:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~ ../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~ make: *** [bindings.target.mk:112: Release/obj.target/bindings/src/serialport.o] Error 1 make : on quitte le répertoire « /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings/build » gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Linux 5.4.51-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/homebridge-433-arduino/node_modules/@serialport/bindings gyp ERR! node -v v14.15.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @serialport/bindings@2.0.8 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @serialport/bindings@2.0.8 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/homebridge/.npm/_logs/2020-11-29T10_33_52_244Z-debug.log

Command failed. Please review log for details.

And I confirm you that the plugin installation does not succeed.

Christine

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/normen/homebridge-433-arduino/issues/22#issuecomment-735372745 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/normen/homebridge-433-arduino/issues/22#issuecomment-735391945, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSTFV6K46QBMVGGRLNJA4TSSJCDHANCNFSM4UGMQ44Q.

normen commented 3 years ago

Cool, thanks for the report.