I am doing the install inside the node-red web page console now. It is still failing.
I am running as Pi now.
It just fails to install. I can install other node packages, but just not this one.
2019-12-08T17:00:40.184Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.184Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.184Z [err] In file included from ../src/i2c.cc:101:
2019-12-08T17:00:40.184Z [err] ../src/./sendbyte.cc:48:35: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.184Z [err] __u8 byte = info[1]->Int32Value();
2019-12-08T17:00:40.184Z [err] ^
2019-12-08T17:00:40.184Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.184Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.184Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.184Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.184Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.184Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.185Z [err] In file included from ../src/i2c.cc:101:
2019-12-08T17:00:40.185Z [err] ../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
2019-12-08T17:00:40.185Z [err] ../src/./sendbyte.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.185Z [err] int fd = info[0]->Int32Value();
2019-12-08T17:00:40.185Z [err] ^
2019-12-08T17:00:40.185Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.185Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.185Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.185Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.185Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.185Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.185Z [err] In file included from ../src/i2c.cc:101:
2019-12-08T17:00:40.185Z [err] ../src/./sendbyte.cc:61:35: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.185Z [err] __u8 byte = info[1]->Int32Value();
2019-12-08T17:00:40.185Z [err] ^
2019-12-08T17:00:40.185Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.185Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.185Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.185Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.185Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.185Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.188Z [err] In file included from ../src/i2c.cc:102:
2019-12-08T17:00:40.188Z [err] ../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
2019-12-08T17:00:40.188Z [err] ../src/./setaddr.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.188Z [err] int fd = info[0]->Int32Value();
2019-12-08T17:00:40.188Z [err] ^
2019-12-08T17:00:40.188Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.188Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.188Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.188Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.188Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.188Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.188Z [err] In file included from ../src/i2c.cc:102:
2019-12-08T17:00:40.188Z [err] ../src/./setaddr.cc:48:34: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.188Z [err] int addr = info[1]->Int32Value();
2019-12-08T17:00:40.188Z [err] ^
2019-12-08T17:00:40.188Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.188Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.188Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.188Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.188Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.188Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.188Z [err] In file included from ../src/i2c.cc:102:
2019-12-08T17:00:40.188Z [err] ../src/./setaddr.cc:49:44: error: no matching function for call to ‘v8::Value::BooleanValue()’
2019-12-08T17:00:40.188Z [err] bool forceAccess = info[2]->BooleanValue();
2019-12-08T17:00:40.188Z [err] ^
2019-12-08T17:00:40.188Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.188Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.188Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2603:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
2019-12-08T17:00:40.188Z [err] bool BooleanValue(Isolate* isolate) const;
2019-12-08T17:00:40.188Z [err] ^~~~~~~~~~~~
2019-12-08T17:00:40.188Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2603:8: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.189Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14,
2019-12-08T17:00:40.189Z [err] from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
2019-12-08T17:00:40.189Z [err] from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.189Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.189Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2606:51: note: candidate: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.189Z [err] V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
2019-12-08T17:00:40.189Z [err] ^~~~~~~~~~~~
2019-12-08T17:00:40.189Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
2019-12-08T17:00:40.189Z [err] declarator __attribute__((deprecated(message)))
2019-12-08T17:00:40.189Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.189Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2606:51: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.189Z [err] V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
2019-12-08T17:00:40.189Z [err] ^~~~~~~~~~~~
2019-12-08T17:00:40.189Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
2019-12-08T17:00:40.189Z [err] declarator __attribute__((deprecated(message)))
2019-12-08T17:00:40.189Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.193Z [err] In file included from ../src/i2c.cc:102:
2019-12-08T17:00:40.193Z [err] ../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrSync(Nan::NAN_METHOD_ARGS_TYPE)’:
2019-12-08T17:00:40.193Z [err] ../src/./setaddr.cc:61:32: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.193Z [err] int fd = info[0]->Int32Value();
2019-12-08T17:00:40.193Z [err] ^
2019-12-08T17:00:40.193Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.193Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.193Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.193Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.193Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.193Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.193Z [err] In file included from ../src/i2c.cc:102:
2019-12-08T17:00:40.193Z [err] ../src/./setaddr.cc:62:34: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.193Z [err] int addr = info[1]->Int32Value();
2019-12-08T17:00:40.193Z [err] ^
2019-12-08T17:00:40.193Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.193Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.193Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.193Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.193Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.193Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.193Z [err] In file included from ../src/i2c.cc:102:
2019-12-08T17:00:40.193Z [err] ../src/./setaddr.cc:63:44: error: no matching function for call to ‘v8::Value::BooleanValue()’
2019-12-08T17:00:40.193Z [err] bool forceAccess = info[2]->BooleanValue();
2019-12-08T17:00:40.193Z [err] ^
2019-12-08T17:00:40.193Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.193Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.193Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2603:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
2019-12-08T17:00:40.193Z [err] bool BooleanValue(Isolate* isolate) const;
2019-12-08T17:00:40.193Z [err] ^~~~~~~~~~~~
2019-12-08T17:00:40.193Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2603:8: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.193Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14,
2019-12-08T17:00:40.193Z [err] from /root/.cache/node-gyp/12.13.1/include/node/v8.h:25,
2019-12-08T17:00:40.193Z [err] from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.193Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.193Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2606:51: note: candidate: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.193Z [err] V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
2019-12-08T17:00:40.193Z [err] ^~~~~~~~~~~~
2019-12-08T17:00:40.193Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
2019-12-08T17:00:40.193Z [err] declarator __attribute__((deprecated(message)))
2019-12-08T17:00:40.193Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.193Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2606:51: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.193Z [err] V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
2019-12-08T17:00:40.193Z [err] ^~~~~~~~~~~~
2019-12-08T17:00:40.193Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
2019-12-08T17:00:40.193Z [err] declarator __attribute__((deprecated(message)))
2019-12-08T17:00:40.193Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.194Z [err] In file included from ../src/i2c.cc:103:
2019-12-08T17:00:40.194Z [err] ../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
2019-12-08T17:00:40.194Z [err] ../src/./writebyte.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.194Z [err] int fd = info[0]->Int32Value();
2019-12-08T17:00:40.194Z [err] ^
2019-12-08T17:00:40.195Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.195Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.195Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.195Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.195Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.195Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.195Z [err] In file included from ../src/i2c.cc:103:
2019-12-08T17:00:40.195Z [err] ../src/./writebyte.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.195Z [err] __u8 cmd = info[1]->Int32Value();
2019-12-08T17:00:40.195Z [err] ^
2019-12-08T17:00:40.195Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.195Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.195Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.195Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.195Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.195Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.195Z [err] In file included from ../src/i2c.cc:103:
2019-12-08T17:00:40.195Z [err] ../src/./writebyte.cc:51:35: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.195Z [err] __u8 byte = info[2]->Int32Value();
2019-12-08T17:00:40.195Z [err] ^
2019-12-08T17:00:40.195Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.195Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.195Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.195Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.195Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.195Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.196Z [err] In file included from ../src/i2c.cc:103:
2019-12-08T17:00:40.196Z [err] ../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
2019-12-08T17:00:40.196Z [err] ../src/./writebyte.cc:63:32: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.196Z [err] int fd = info[0]->Int32Value();
2019-12-08T17:00:40.196Z [err] ^
2019-12-08T17:00:40.196Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.196Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.196Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.196Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.196Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.196Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.196Z [err] In file included from ../src/i2c.cc:103:
2019-12-08T17:00:40.196Z [err] ../src/./writebyte.cc:64:34: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.196Z [err] __u8 cmd = info[1]->Int32Value();
2019-12-08T17:00:40.196Z [err] ^
2019-12-08T17:00:40.196Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.196Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.196Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.196Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.196Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.196Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.196Z [err] In file included from ../src/i2c.cc:103:
2019-12-08T17:00:40.196Z [err] ../src/./writebyte.cc:65:35: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.196Z [err] __u8 byte = info[2]->Int32Value();
2019-12-08T17:00:40.196Z [err] ^
2019-12-08T17:00:40.196Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.196Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.196Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.196Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.196Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.196Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.199Z [err] In file included from ../src/i2c.cc:104:
2019-12-08T17:00:40.199Z [err] ../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
2019-12-08T17:00:40.199Z [err] ../src/./writeword.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.199Z [err] int fd = info[0]->Int32Value();
2019-12-08T17:00:40.199Z [err] ^
2019-12-08T17:00:40.199Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.199Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.199Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.199Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.199Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.199Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.199Z [err] In file included from ../src/i2c.cc:104:
2019-12-08T17:00:40.199Z [err] ../src/./writeword.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.199Z [err] __u8 cmd = info[1]->Int32Value();
2019-12-08T17:00:40.199Z [err] ^
2019-12-08T17:00:40.200Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.200Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.200Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.200Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.200Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.200Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.200Z [err] In file included from ../src/i2c.cc:104:
2019-12-08T17:00:40.200Z [err] ../src/./writeword.cc:51:36: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.200Z [err] __u16 word = info[2]->Int32Value();
2019-12-08T17:00:40.200Z [err] ^
2019-12-08T17:00:40.200Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.200Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.200Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.200Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.200Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.200Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.201Z [err] In file included from ../src/i2c.cc:104:
2019-12-08T17:00:40.201Z [err] ../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:
2019-12-08T17:00:40.201Z [err] ../src/./writeword.cc:64:32: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.201Z [err] int fd = info[0]->Int32Value();
2019-12-08T17:00:40.201Z [err] ^
2019-12-08T17:00:40.201Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.201Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.201Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.201Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.201Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.201Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.201Z [err] In file included from ../src/i2c.cc:104:
2019-12-08T17:00:40.201Z [err] ../src/./writeword.cc:65:34: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.201Z [err] __u8 cmd = info[1]->Int32Value();
2019-12-08T17:00:40.201Z [err] ^
2019-12-08T17:00:40.201Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.201Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.201Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.201Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.201Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.201Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.201Z [err] In file included from ../src/i2c.cc:104:
2019-12-08T17:00:40.201Z [err] ../src/./writeword.cc:66:36: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.201Z [err] __u16 word = info[2]->Int32Value();
2019-12-08T17:00:40.201Z [err] ^
2019-12-08T17:00:40.201Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.201Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.201Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.201Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.201Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.201Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.205Z [err] In file included from ../src/i2c.cc:105:
2019-12-08T17:00:40.205Z [err] ../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
2019-12-08T17:00:40.205Z [err] ../src/./writeblock.cc:70:32: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.205Z [err] int fd = info[0]->Int32Value();
2019-12-08T17:00:40.205Z [err] ^
2019-12-08T17:00:40.205Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.205Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.205Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.205Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.205Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.205Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.205Z [err] In file included from ../src/i2c.cc:105:
2019-12-08T17:00:40.205Z [err] ../src/./writeblock.cc:71:34: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.205Z [err] __u8 cmd = info[1]->Int32Value();
2019-12-08T17:00:40.205Z [err] ^
2019-12-08T17:00:40.206Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.206Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.206Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.206Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.206Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.206Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.206Z [err] In file included from ../src/i2c.cc:105:
2019-12-08T17:00:40.206Z [err] ../src/./writeblock.cc:72:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
2019-12-08T17:00:40.206Z [err] __u32 length = info[2]->Uint32Value();
2019-12-08T17:00:40.206Z [err] ^
2019-12-08T17:00:40.206Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.206Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.206Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2611:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.206Z [err] V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
2019-12-08T17:00:40.206Z [err] ^~~~~~~~~~~
2019-12-08T17:00:40.206Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2611:41: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.208Z [err] In file included from ../src/i2c.cc:105:
2019-12-08T17:00:40.208Z [err] ../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:
2019-12-08T17:00:40.208Z [err] ../src/./writeblock.cc:110:32: error: no matching function for call to ‘v8::Value::Int32Value()’
2019-12-08T17:00:40.208Z [err] int fd = info[0]->Int32Value();
2019-12-08T17:00:40.208Z [err] ^
2019-12-08T17:00:40.209Z [err] In file included from /root/.cache/node-gyp/12.13.1/include/node/node.h:63,
2019-12-08T17:00:40.209Z [err] from ../src/i2c.cc:1:
2019-12-08T17:00:40.209Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2019-12-08T17:00:40.209Z [err] V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2019-12-08T17:00:40.209Z [err] ^~~~~~~~~~
2019-12-08T17:00:40.209Z [err] /root/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
2019-12-08T17:00:40.209Z [err] In file included from ../src/i2c.cc:105:
2019-12-08T17:00:40.209Z [err] ../src/./writeblock.cc:111:34: error: no matching function for call to ‘v8::Value::Int32Value()```