rodmg / aquila-mqtt-sn-gateway Goto Github PK
View Code? Open in Web Editor NEWMQTT-SN gateway for the Aquila 2.0 platform.
License: MIT License
MQTT-SN gateway for the Aquila 2.0 platform.
License: MIT License
The very first launch of aquila-gateway
worked, but second and following launches fail with this error message:
pi@myPi:~ $ aquila-gateway -p /dev/ttyUSB0 -v trace | bunyan
O o-o o o o-O-o o O
/ \ o o | | | | / \
o---o| | | | | | o---o
| |o O | | | | | |
o o o-O\ o-o o-O-o O---oo o
_ mqtt-sn
__ _ __ _| |_ _____ __ ____ _ _ _
/ _` / _` | _/ -_) V V / _` | || |
\__, \__,_|\__\___|\_/\_/\__,_|\_, |
|___/ |__/
[2018-03-12T17:27:42.252Z] DEBUG: aquila-gateway/8277 on myPiMozilla: Connected to Bridge
[2018-03-12T17:27:42.299Z] ERROR: aquila-gateway/8277 on myPiMozilla: framingError <Buffer 00>
[2018-03-12T17:27:42.317Z] DEBUG: aquila-gateway/8277 on myPiMozilla: Connected to MQTT broker
/home/pi/.nvm/versions/node/v8.10.0/lib/node_modules/aquila-gateway/GatewayDB.js:287
var found = this.subscriptions.find();
^
TypeError: Cannot read property 'find' of undefined
at GatewayDB.getAllSubscriptions (/home/pi/.nvm/versions/node/v8.10.0/lib/node_modules/aquila-gateway/GatewayDB.js:287:34)
at Gateway.subscribeSavedTopics (/home/pi/.nvm/versions/node/v8.10.0/lib/node_modules/aquila-gateway/Gateway.js:133:22)
at MqttClient.onMqttConnect (/home/pi/.nvm/versions/node/v8.10.0/lib/node_modules/aquila-gateway/Gateway.js:151:10)
at emitOne (events.js:121:20)
at MqttClient.emit (events.js:211:7)
at MqttClient._handleConnack (/home/pi/.nvm/versions/node/v8.10.0/lib/node_modules/aquila-gateway/node_modules/mqtt/lib/client.js:732:10)
at MqttClient._handlePacket (/home/pi/.nvm/versions/node/v8.10.0/lib/node_modules/aquila-gateway/node_modules/mqtt/lib/client.js:296:12)
at process (/home/pi/.nvm/versions/node/v8.10.0/lib/node_modules/aquila-gateway/node_modules/mqtt/lib/client.js:238:12)
at Writable.writable._write (/home/pi/.nvm/versions/node/v8.10.0/lib/node_modules/aquila-gateway/node_modules/mqtt/lib/client.js:248:5)
at doWrite (/home/pi/.nvm/versions/node/v8.10.0/lib/node_modules/aquila-gateway/node_modules/readable-stream/lib/_stream_writable.js:237:10)
I removed and then performed a clean install, to no avail.
Hi!
How difficult would it be to port the Aquila project (including rfm-mqtt-sn-bridge and rfm-mqtt-sn-client-example) to the CC1350 MCU?
I'm facing some difficulties as the code related to MQTT-SN and the code related to RFM69 are closely imbricated and hard to separate.
The CC1310 and CC1350 MCUs by Texas Instruments combine a Cortex-M3 with a sib-1 GHz radio (and additionally a BLE radio for the CC1350). Development is done with Energia, a port of Arduino to the Texas Instruments platform. The dedicated EasyLink library manages the radio and is fully documented.
Following the Development fails due to obsolete and deprecated components.
Linux myPiSense 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Feb 29 16:05:55 2020 from 192.168.1.75
myPiSense:~ pi$ git clone https://github.com/Rodmg/aquila-mqtt-sn-gateway
Cloning into 'aquila-mqtt-sn-gateway'...
remote: Enumerating objects: 3122, done.
remote: Total 3122 (delta 0), reused 0 (delta 0), pack-reused 3122
Receiving objects: 100% (3122/3122), 2.71 MiB | 913.00 KiB/s, done.
Resolving deltas: 100% (1086/1086), done.
myPiSense:~ pi$ cd aquila-mqtt-sn-gateway
myPiSense:~/aquila-mqtt-sn-gateway pi$
myPiSense:~/aquila-mqtt-sn-gateway pi$ npm install
npm WARN deprecated @types/[email protected]: This is a stub types definition for commander (https://github.com/tj/commander.js). commander provides its own type definitions, so you don't need @types/commander installed!
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: This module relies on Node.js's internals and will break at some point. Do not use it, and update to [email protected].
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
> [email protected] install /home/pi/aquila-mqtt-sn-gateway/node_modules/dtrace-provider
> node-gyp rebuild || node suppress-error.js
make: Entering directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/dtrace-provider/build'
TOUCH Release/obj.target/DTraceProviderStub.stamp
make: Leaving directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/dtrace-provider/build'
> [email protected] install /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
> node-pre-gyp install --fallback-to-build
node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/usr/local/bin/node',
node-pre-gyp verb cli '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli 'install',
node-pre-gyp verb cli '--fallback-to-build' ]
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | linux | arm
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node" (not found)
node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp verb command build [ 'rebuild' ]
node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
node-pre-gyp verb command build [ 'rebuild' ]
make: Entering directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
make: Entering directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’
return getValueFromObject(options, key)->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:94:54: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return getValueFromObject(options, key)->ToBoolean()->BooleanValue();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10034:16: note: declared here
Local<Boolean> Value::ToBoolean() const {
^~~~~
../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’
return getValueFromObject(options, key)->ToNumber()->NumberValue();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
^~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate expects 1 argument, 0 provided
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value path(info[0]->ToString());
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:118:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’
return getValueFromObject(options, key)->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:94:54: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return getValueFromObject(options, key)->ToBoolean()->BooleanValue();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10034:16: note: declared here
Local<Boolean> Value::ToBoolean() const {
^~~~~
../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’
return getValueFromObject(options, key)->ToNumber()->NumberValue();
^
../src/serialport.cpp:141:100: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> platformOptions = getValueFromObject(options, "platformOptions")->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
^~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate expects 1 argument, 0 provided
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value path(info[0]->ToString());
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:118:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = argv[1]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
../src/serialport.cpp:141:100: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> platformOptions = getValueFromObject(options, "platformOptions")->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:180: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:7:0,
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:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:200:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’
>baudRate = Nan::Get(options, Nan::New<v8::String>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = argv[1]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:180: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:7:0,
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 ‘void EIO_AfterUpdate(uv_work_t*)’:
../src/serialport.cpp:240: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:7:0,
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 Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
../src/serialport.cpp:259:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> buffer = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:200:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’
>baudRate = Nan::Get(options, Nan::New<v8::String>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’:
../src/serialport.cpp:339: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:7:0,
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 ‘void EIO_AfterUpdate(uv_work_t*)’:
../src/serialport.cpp:240: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:7:0,
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 Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’
baton->fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:259:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> buffer = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
../src/serialport.cpp:403: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:7:0,
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 ‘void EIO_AfterWrite(uv_work_t*)’:
../src/serialport.cpp:339: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:7:0,
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:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’
baton->fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
../src/serialport.cpp:403: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:7:0,
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 ‘void EIO_AfterList(uv_work_t*)’:
../src/serialport.cpp:465: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:7:0,
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:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
../src/serialport.cpp:516: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:7:0,
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:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:535:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:
../src/serialport.cpp:465: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:7:0,
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:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
../src/serialport.cpp:573: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:7:0,
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 ‘void EIO_AfterFlush(uv_work_t*)’:
../src/serialport.cpp:516:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
In file included from ../src/./serialport.h:7:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:535:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
../src/serialport.cpp:617: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 /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/./serialport.h:7:0,
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 ‘void EIO_AfterSet(uv_work_t*)’:
../src/serialport.cpp:573: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:7:0,
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:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
../src/serialport.cpp:617: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:7:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
serialport.target.mk:101: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
serialport.target.mk:101: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
make: Leaving directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
make: Leaving directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
gypgyp ERR!ERR! build errorbuild error
gypgyp ERR!ERR! stack stack Error: `make` failed with exit code: 2
Error: `make` failed with exit code: 2
gypgyp ERR! ERR!stack stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! ERR! stack at ChildProcess.emit (events.js:198:13)
stack at ChildProcess.emit (events.js:198:13)
gypgyp ERR! ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gypgyp ERR! ERR! SystemSystem Linux 4.19.66+
Linux 4.19.66+
gypgyp ERR! ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release"
commandgyp "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release"
gyp ERR! ERR!cwd cwd /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
gyp /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
ERR!gyp ERR! node -v v10.16.3
node -vgyp v10.16.3
gyp ERR! node-gyp -vERR! v5.0.5
gyp node-gyp -v v5.0.5
ERR!gyp not okERR!
not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Linux 4.19.66+
node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.32
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-02-29T15_34_13_225Z-debug.log
Linux myPiSense 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Feb 29 16:05:55 2020 from 192.168.1.75
myPiSense:~ pi$ cd aquila-mqtt-sn-gateway
-bash: cd: aquila-mqtt-sn-gateway: No such file or directory
myPiSense:~ pi$ ls
HAP-NodeJS html myFlows myProjects node_modules package-lock.json
myPiSense:~ pi$ cd .node-red
myPiSense:~/.node-red pi$ ls
aquila-mqtt-sn-gateway flows_myPiSense.json lib package.json projects
flows_myPiSense_cred.json homekit-persist node_modules package-lock.json settings.js
myPiSense:~/.node-red pi$ sudo rm -r aquila-mqtt-sn-gateway
myPiSense:~/.node-red pi$ cd ..
myPiSense:~ pi$ git clone https://github.com/Rodmg/aquila-mqtt-sn-gateway
Cloning into 'aquila-mqtt-sn-gateway'...
remote: Enumerating objects: 3122, done.
remote: Total 3122 (delta 0), reused 0 (delta 0), pack-reused 3122
Receiving objects: 100% (3122/3122), 2.71 MiB | 913.00 KiB/s, done.
Resolving deltas: 100% (1086/1086), done.
myPiSense:~ pi$ cd aquila-mqtt-sn-gateway
myPiSense:~/aquila-mqtt-sn-gateway pi$
myPiSense:~/aquila-mqtt-sn-gateway pi$ npm install
npm WARN deprecated @types/[email protected]: This is a stub types definition for commander (https://github.com/tj/commander.js). commander provides its own type definitions, so you don't need @types/commander installed!
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: This module relies on Node.js's internals and will break at some point. Do not use it, and update to [email protected].
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
> [email protected] install /home/pi/aquila-mqtt-sn-gateway/node_modules/dtrace-provider
> node-gyp rebuild || node suppress-error.js
make: Entering directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/dtrace-provider/build'
TOUCH Release/obj.target/DTraceProviderStub.stamp
make: Leaving directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/dtrace-provider/build'
> [email protected] install /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
> node-pre-gyp install --fallback-to-build
node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/usr/local/bin/node',
node-pre-gyp verb cli '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli 'install',
node-pre-gyp verb cli '--fallback-to-build' ]
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | linux | arm
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node" (not found)
node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp verb command build [ 'rebuild' ]
node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
node-pre-gyp verb command build [ 'rebuild' ]
make: Entering directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
make: Entering directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’
return getValueFromObject(options, key)->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:94:54: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return getValueFromObject(options, key)->ToBoolean()->BooleanValue();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10034:16: note: declared here
Local<Boolean> Value::ToBoolean() const {
^~~~~
../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’
return getValueFromObject(options, key)->ToNumber()->NumberValue();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
^~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate expects 1 argument, 0 provided
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value path(info[0]->ToString());
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:118:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’
return getValueFromObject(options, key)->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:94:54: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return getValueFromObject(options, key)->ToBoolean()->BooleanValue();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10034:16: note: declared here
Local<Boolean> Value::ToBoolean() const {
^~~~~
../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’
return getValueFromObject(options, key)->ToNumber()->NumberValue();
^
../src/serialport.cpp:141:100: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> platformOptions = getValueFromObject(options, "platformOptions")->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
^~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate expects 1 argument, 0 provided
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value path(info[0]->ToString());
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:118:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = argv[1]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
../src/serialport.cpp:141:100: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> platformOptions = getValueFromObject(options, "platformOptions")->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:180: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:7:0,
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:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:200:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’
>baudRate = Nan::Get(options, Nan::New<v8::String>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = argv[1]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:180: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:7:0,
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 ‘void EIO_AfterUpdate(uv_work_t*)’:
../src/serialport.cpp:240: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:7:0,
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 Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
../src/serialport.cpp:259:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> buffer = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:200:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’
>baudRate = Nan::Get(options, Nan::New<v8::String>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’:
../src/serialport.cpp:339: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:7:0,
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 ‘void EIO_AfterUpdate(uv_work_t*)’:
../src/serialport.cpp:240: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:7:0,
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 Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’
baton->fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:259:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> buffer = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
../src/serialport.cpp:403: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:7:0,
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 ‘void EIO_AfterWrite(uv_work_t*)’:
../src/serialport.cpp:339: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:7:0,
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:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’
baton->fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
../src/serialport.cpp:403: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:7:0,
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 ‘void EIO_AfterList(uv_work_t*)’:
../src/serialport.cpp:465: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:7:0,
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:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
../src/serialport.cpp:516: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:7:0,
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:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:535:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:
../src/serialport.cpp:465: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:7:0,
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:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
../src/serialport.cpp:573: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:7:0,
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 ‘void EIO_AfterFlush(uv_work_t*)’:
../src/serialport.cpp:516:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
In file included from ../src/./serialport.h:7:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:535:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
../src/serialport.cpp:617: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 /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/./serialport.h:7:0,
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 ‘void EIO_AfterSet(uv_work_t*)’:
../src/serialport.cpp:573: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:7:0,
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:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
../src/serialport.cpp:617: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:7:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
serialport.target.mk:101: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
serialport.target.mk:101: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
make: Leaving directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
make: Leaving directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
gypgyp ERR!ERR! build errorbuild error
gypgyp ERR!ERR! stack stack Error: `make` failed with exit code: 2
Error: `make` failed with exit code: 2
gypgyp ERR! ERR!stack stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! ERR! stack at ChildProcess.emit (events.js:198:13)
stack at ChildProcess.emit (events.js:198:13)
gypgyp ERR! ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gypgyp ERR! ERR! SystemSystem Linux 4.19.66+
Linux 4.19.66+
gypgyp ERR! ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release"
commandgyp "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release"
gyp ERR! ERR!cwd cwd /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
gyp /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
ERR!gyp ERR! node -v v10.16.3
node -vgyp v10.16.3
gyp ERR! node-gyp -vERR! v5.0.5
gyp node-gyp -v v5.0.5
ERR!gyp not okERR!
not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Linux 4.19.66+
node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.32
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-02-29T15_34_13_225Z-debug.log
Linux myPiSense 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Feb 29 16:05:55 2020 from 192.168.1.75
myPiSense:~ pi$ cd aquila-mqtt-sn-gateway
-bash: cd: aquila-mqtt-sn-gateway: No such file or directory
myPiSense:~ pi$ ls
HAP-NodeJS html myFlows myProjects node_modules package-lock.json
myPiSense:~ pi$ cd .node-red
myPiSense:~/.node-red pi$ ls
aquila-mqtt-sn-gateway flows_myPiSense.json lib package.json projects
flows_myPiSense_cred.json homekit-persist node_modules package-lock.json settings.js
myPiSense:~/.node-red pi$ sudo rm -r aquila-mqtt-sn-gateway
myPiSense:~/.node-red pi$ cd ..
myPiSense:~ pi$ git clone https://github.com/Rodmg/aquila-mqtt-sn-gateway
Cloning into 'aquila-mqtt-sn-gateway'...
remote: Enumerating objects: 3122, done.
remote: Total 3122 (delta 0), reused 0 (delta 0), pack-reused 3122
Receiving objects: 100% (3122/3122), 2.71 MiB | 913.00 KiB/s, done.
Resolving deltas: 100% (1086/1086), done.
myPiSense:~ pi$ cd aquila-mqtt-sn-gateway
myPiSense:~/aquila-mqtt-sn-gateway pi$
myPiSense:~/aquila-mqtt-sn-gateway pi$ npm install
npm WARN deprecated @types/[email protected]: This is a stub types definition for commander (https://github.com/tj/commander.js). commander provides its own type definitions, so you don't need @types/commander installed!
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: This module relies on Node.js's internals and will break at some point. Do not use it, and update to [email protected].
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
> [email protected] install /home/pi/aquila-mqtt-sn-gateway/node_modules/dtrace-provider
> node-gyp rebuild || node suppress-error.js
make: Entering directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/dtrace-provider/build'
TOUCH Release/obj.target/DTraceProviderStub.stamp
make: Leaving directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/dtrace-provider/build'
> [email protected] install /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
> node-pre-gyp install --fallback-to-build
node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/usr/local/bin/node',
node-pre-gyp verb cli '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli 'install',
node-pre-gyp verb cli '--fallback-to-build' ]
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | linux | arm
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node" (not found)
node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp verb command build [ 'rebuild' ]
node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
node-pre-gyp verb command build [ 'rebuild' ]
make: Entering directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
make: Entering directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’
return getValueFromObject(options, key)->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:94:54: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return getValueFromObject(options, key)->ToBoolean()->BooleanValue();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10034:16: note: declared here
Local<Boolean> Value::ToBoolean() const {
^~~~~
../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’
return getValueFromObject(options, key)->ToNumber()->NumberValue();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
^~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate expects 1 argument, 0 provided
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value path(info[0]->ToString());
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:118:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’
return getValueFromObject(options, key)->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:94:54: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return getValueFromObject(options, key)->ToBoolean()->BooleanValue();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10034:16: note: declared here
Local<Boolean> Value::ToBoolean() const {
^~~~~
../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’
return getValueFromObject(options, key)->ToNumber()->NumberValue();
^
../src/serialport.cpp:141:100: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> platformOptions = getValueFromObject(options, "platformOptions")->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
^~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2425:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2442:31: note: candidate expects 1 argument, 0 provided
Local<Number> ToNumber(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
v8::String::Utf8Value path(info[0]->ToString());
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local<v8::Value> obj));
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:118:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = argv[1]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
../src/serialport.cpp:141:100: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> platformOptions = getValueFromObject(options, "platformOptions")->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:180: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:7:0,
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:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:200:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’
>baudRate = Nan::Get(options, Nan::New<v8::String>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = argv[1]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:180: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:7:0,
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 ‘void EIO_AfterUpdate(uv_work_t*)’:
../src/serialport.cpp:240: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:7:0,
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 Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
../src/serialport.cpp:259:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> buffer = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:200:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’
>baudRate = Nan::Get(options, Nan::New<v8::String>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’:
../src/serialport.cpp:339: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:7:0,
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 ‘void EIO_AfterUpdate(uv_work_t*)’:
../src/serialport.cpp:240: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:7:0,
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 Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’
baton->fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:259:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> buffer = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
../src/serialport.cpp:403: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:7:0,
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 ‘void EIO_AfterWrite(uv_work_t*)’:
../src/serialport.cpp:339: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:7:0,
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:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’
baton->fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
../src/serialport.cpp:403: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:7:0,
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 ‘void EIO_AfterList(uv_work_t*)’:
../src/serialport.cpp:465: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:7:0,
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:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
../src/serialport.cpp:516: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:7:0,
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:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:535:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:
../src/serialport.cpp:465: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:7:0,
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:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
../src/serialport.cpp:573: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:7:0,
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 ‘void EIO_AfterFlush(uv_work_t*)’:
../src/serialport.cpp:516:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
In file included from ../src/./serialport.h:7:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp:535:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> options = info[1]->ToObject();
^
../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
../src/serialport.cpp:617: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 /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/./serialport.h:7:0,
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 ‘void EIO_AfterSet(uv_work_t*)’:
../src/serialport.cpp:573: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:7:0,
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:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
^~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26:0,
from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63,
from ../../nan/nan.h:54,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
Local<Int32> ToInt32(Isolate* isolate) const);
^
/home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
../src/serialport.cpp:617: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:7:0,
from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
serialport.target.mk:101: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
serialport.target.mk:101: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
make: Leaving directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
make: Leaving directory '/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build'
gypgyp ERR!ERR! build errorbuild error
gypgyp ERR!ERR! stack stack Error: `make` failed with exit code: 2
Error: `make` failed with exit code: 2
gypgyp ERR! ERR!stack stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! ERR! stack at ChildProcess.emit (events.js:198:13)
stack at ChildProcess.emit (events.js:198:13)
gypgyp ERR! ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gypgyp ERR! ERR! SystemSystem Linux 4.19.66+
Linux 4.19.66+
gypgyp ERR! ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release"
commandgyp "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release"
gyp ERR! ERR!cwd cwd /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
gyp /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
ERR!gyp ERR! node -v v10.16.3
node -vgyp v10.16.3
gyp ERR! node-gyp -vERR! v5.0.5
gyp node-gyp -v v5.0.5
ERR!gyp not okERR!
not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Linux 4.19.66+
node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/aquila-mqtt-sn-gateway/node_modules/serialport
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.32
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/aquila-mqtt-sn-gateway/node_modules/serialport/build/Release' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-02-29T15_34_13_225Z-debug.log
myPiSense:~/aquila-mqtt-sn-gateway pi$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.