Open mikanaas opened 4 years ago
Sorry, it helped to install the Node module: npm install node-wiring-pi
But still got this error message:
Seems like an install of plugin fails. But --unsafe-perm lets me install, but plugin still fails... (ikke tilgang=no access)
pi@raspberrypi:/ $ sudo npm install -g homebridge-gpio-device
node-wiring-pi@0.0.4 install /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi /bin/bash ./install.sh
./install.sh: linje 5: install.log: Ikke tilgang
Checking for wiringpi: install ok installed
Building node-wiring-pi ...
tee: ./install.log: Ikke tilgang
tee: ./install.log: Ikke tilgang
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/11.6.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/.node-gyp'
gyp ERR! System Linux 4.19.97-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi
gyp ERR! node -v v11.6.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-wiring-pi@0.0.4 install: /bin/bash ./install.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-wiring-pi@0.0.4 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! /root/.npm/_logs/2020-04-13T18_10_45_315Z-debug.log
With unsafe perm at the end of install:
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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:188:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 4.19.97-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi
gyp ERR! node -v v11.6.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Problem solved: Downgrade to: n 10.19.0 Downgrade to: wiringpi-2.46-1 and may be latest version of npm...
Same problem, can’t start Homebridge when plugin enabled. Same errors on start.
Try: Downgrade to: n 10.19.0 Downgrade to: wiringpi-2.46-1
Same error. Even did a fresh install on Raspberry Pi 3B+. Only homebridge, homebridge UI, and GPIO-Device. Default config. Followed GITHUB install instructions for GPIO. No install errors. Was working before something updated with apt update/upgrade on Raspberry pi.
NodeJS : 10.19.0, with NPM update (npm i -g npm) WiringPI 2.46-1
[5/11/2020, 5:38:18 PM] [HB Supervisor] Starting Homebridge with extra flags: -I
[5/11/2020, 5:38:18 PM] [HB Supervisor] Started Homebridge v1.0.4 with PID: 8796
[5/11/2020, 5:38:22 PM] Loaded config.json with 0 accessories and 1 platforms.
[5/11/2020, 5:38:22 PM] ---
[5/11/2020, 5:38:26 PM] Loaded plugin: homebridge-config-ui-x
[5/11/2020, 5:38:26 PM] Registering platform 'homebridge-config-ui-x.config'
[5/11/2020, 5:38:26 PM] ---
[5/11/2020, 5:38:26 PM] ====================
[5/11/2020, 5:38:26 PM] ERROR LOADING PLUGIN homebridge-gpio-device:
[5/11/2020, 5:38:26 PM] Error: Could not locate the bindings file. Tried:
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/nodeWiringPi.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/Debug/nodeWiringPi.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/Release/nodeWiringPi.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/out/Debug/nodeWiringPi.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/Debug/nodeWiringPi.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/out/Release/nodeWiringPi.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/Release/nodeWiringPi.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/default/nodeWiringPi.node
→ /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/compiled/10.19.0/linux/arm/nodeWiringPi.node
at bindings (/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/bindings/bindings.js:88:9)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/index.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-gpio-device/index.js:3:11)
[5/11/2020, 5:38:26 PM] ====================
[5/11/2020, 5:38:26 PM] Loading 1 platforms...
[5/11/2020, 5:38:26 PM] [Config] Initializing config platform...
[5/11/2020, 5:38:26 PM] [Config] Running in Service Mode
Found the install log :
pi@pi-security:/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi $ cat install.log
Package: wiringpi
Status: install ok installed
Priority: optional
Section: libraries
Maintainer: Gordon Henderson <projects@drogon.net>
Architecture: armhf
Version: 2.50
Depends: libc6
Description: The wiringPi libraries, headers and gpio command
Libraries to allow GPIO access on a Raspberry Pi from C and C++
and BASIC programs as well as from the command-line
make: Entering directory '/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build'
CXX(target) Release/obj.target/nodeWiringPi/src/addon.o
In file included from ../src/addon.h:10,
from ../src/addon.cc:2:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/addon.cc:2:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78: required from here
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
reinterpret_cast<Callback>(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61: required from here
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/nodeWiringPi/src/wiringPi.o
In file included from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::pinModeAlt(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:125:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:126:14: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int mode = GET_ARGUMENT_AS_INT32(1);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::pinMode(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:157:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:158:14: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int mode = GET_ARGUMENT_AS_INT32(1);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::pullUpDnControl(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:189:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:190:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pud = GET_ARGUMENT_AS_INT32(1);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::digitalRead(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:216:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::digitalWrite(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:243:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:244:15: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int state = GET_ARGUMENT_AS_INT32(1);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::pwmWrite(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:275:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:276:15: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int value = GET_ARGUMENT_AS_INT32(1);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::analogRead(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:292:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::analogWrite(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:313:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:314:15: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int value = GET_ARGUMENT_AS_INT32(1);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::delay(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:330:12: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int ms = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::delayMicroseconds(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:346:12: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int us = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::wpiPinToGpio(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:421:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::physPinToGpio(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:439:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::setPadDrive(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:461:15: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int group = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:462:15: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int value = GET_ARGUMENT_AS_INT32(1);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::getAlt(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:482:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::pwmToneWrite(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:499:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:500:19: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int frequency = GET_ARGUMENT_AS_INT32(1);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::digitalWriteByte(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:521:14: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int byte = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::pwmSetMode(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:541:14: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int mode = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::pwmSetRange(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:144:38: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_UINT32(id) GET_ARGUMENT_AS_TYPE(id, Uint32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:567:24: note: in expansion of macro ‘GET_ARGUMENT_AS_UINT32’
unsigned int range = GET_ARGUMENT_AS_UINT32(0);
^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2477:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^~~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::pwmSetClock(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:587:17: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int divisor = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodewpi::gpioClockSet(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:607:13: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int pin = GET_ARGUMENT_AS_INT32(0);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/addon.h:141:57: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
#define GET_ARGUMENT_AS_TYPE(id, type) info[id]->type()
^
../src/addon.h:143:37: note: in expansion of macro ‘GET_ARGUMENT_AS_TYPE’
#define GET_ARGUMENT_AS_INT32(id) GET_ARGUMENT_AS_TYPE(id, Int32Value)
^~~~~~~~~~~~~~~~~~~~
../src/wiringPi.cc:608:19: note: in expansion of macro ‘GET_ARGUMENT_AS_INT32’
int frequency = GET_ARGUMENT_AS_INT32(1);
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:26,
from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
../src/wiringPi.cc: In function ‘void nodewpi::init_wiringPi(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/wiringPi.cc:689:32: error: ‘PI_MODEL_3’ was not declared in this scope
NODE_DEFINE_CONSTANT(target, PI_MODEL_3);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:340:54: note: in definition of macro ‘NODE_DEFINE_CONSTANT’
v8::Number::New(isolate, static_cast<double>(constant)); \
^~~~~~~~
../src/wiringPi.cc:689:32: note: suggested alternative: ‘PI_MODEL_B’
NODE_DEFINE_CONSTANT(target, PI_MODEL_3);
^~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:340:54: note: in definition of macro ‘NODE_DEFINE_CONSTANT’
v8::Number::New(isolate, static_cast<double>(constant)); \
^~~~~~~~
In file included from /home/homebridge/.cache/node-gyp/10.19.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/addon.h:10,
from ../src/wiringPi.h:5,
from ../src/wiringPi.cc:1:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/homebridge/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78: required from here
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
reinterpret_cast<Callback>(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61: required from here
/home/homebridge/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
make: *** [nodeWiringPi.target.mk:118: Release/obj.target/nodeWiringPi/src/wiringPi.o] Error 1
make: Leaving directory '/usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build'
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:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.19.97-v7+
gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi
gyp ERR! node -v v10.19.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
Tried to install and update wiring and so on. Still get error when loading plugin: