Guest User

Untitled

a guest
Jul 9th, 2021
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.34 KB | None | 0 0
  1. pi@RaspbFranco:~/.node-red $ npm update && npm rebuild
  2.  
  3. > i2c-bus@1.2.5 install /home/pi/.node-red/node_modules/i2c-bus
  4. > node-gyp rebuild
  5.  
  6. make: Entering directory '/home/pi/.node-red/node_modules/i2c-bus/build'
  7. CXX(target) Release/obj.target/i2c/src/i2c.o
  8. In file included from ../node_modules/nan/nan_converters.h:67:0,
  9. from ../node_modules/nan/nan.h:202,
  10. from ../src/i2c.cc:2:
  11. ../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
  12. ../node_modules/nan/nan_converters_43_inl.h:18:69: error: no matching function for call to ‘v8::Value::ToBoolean(v8::Local<v8::Context>)’
  13. val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext()) \
  14. ^
  15. ../node_modules/nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
  16. X(Boolean)
  17. ^
  18. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  19. from ../src/i2c.cc:1:
  20. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2848:18: note: candidate: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const
  21. Local<Boolean> ToBoolean(Isolate* isolate) const;
  22. ^~~~~~~~~
  23. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2848:18: note: no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
  24. In file included from ../node_modules/nan/nan_converters.h:67:0,
  25. from ../node_modules/nan/nan.h:202,
  26. from ../src/i2c.cc:2:
  27. ../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
  28. ../node_modules/nan/nan_converters_43_inl.h:37:57: error: no matching function for call to ‘v8::Value::BooleanValue(v8::Local<v8::Context>)’
  29. return val->NAME ## Value(isolate->GetCurrentContext()); \
  30. ^
  31. ../node_modules/nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
  32. X(bool, Boolean)
  33. ^
  34. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  35. from ../src/i2c.cc:1:
  36. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: candidate: bool v8::Value::BooleanValue(v8::Isolate*) const
  37. bool BooleanValue(Isolate* isolate) const;
  38. ^~~~~~~~~~~~
  39. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
  40. In file included from ../node_modules/nan/nan_new.h:189:0,
  41. from ../node_modules/nan/nan.h:203,
  42. from ../src/i2c.cc:2:
  43. ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
  44. ../node_modules/nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
  45. , obj));
  46. ^
  47. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  48. from ../src/i2c.cc:1:
  49. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:4445:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
  50. static MaybeLocal<Function> New(
  51. ^~~
  52. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:4445:31: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
  53. In file included from ../node_modules/nan/nan_new.h:189:0,
  54. from ../node_modules/nan/nan.h:203,
  55. from ../src/i2c.cc:2:
  56. ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
  57. ../node_modules/nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
  58. return v8::StringObject::New(value).As<v8::StringObject>();
  59. ^
  60. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  61. from ../src/i2c.cc:1:
  62. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:5854:23: note: candidate: static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)
  63. static Local<Value> New(Isolate* isolate, Local<String> value);
  64. ^~~
  65. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:5854:23: note: candidate expects 2 arguments, 1 provided
  66. In file included from ../node_modules/nan/nan_new.h:189:0,
  67. from ../node_modules/nan/nan.h:203,
  68. from ../src/i2c.cc:2:
  69. ../node_modules/nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
  70. return v8::StringObject::New(value).As<v8::StringObject>();
  71. ^
  72. ../node_modules/nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token
  73. return v8::StringObject::New(value).As<v8::StringObject>();
  74. ^
  75. In file included from ../src/i2c.cc:2:0:
  76. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
  77. ../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
  78. v8::Isolate::GetCurrent(), target, func, argc, argv);
  79. ^
  80. In file included from ../src/i2c.cc:1:0:
  81. /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:191:50: note: declared here
  82. NODE_EXTERN v8::Local<v8::Value> MakeCallback(
  83. ^
  84. /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
  85. __attribute__((deprecated(message))) declarator
  86. ^~~~~~~~~~
  87. In file included from ../src/i2c.cc:2:0:
  88. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
  89. ../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
  90. v8::Isolate::GetCurrent(), target, symbol, argc, argv);
  91. ^
  92. In file included from ../src/i2c.cc:1:0:
  93. /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:184:50: note: declared here
  94. NODE_EXTERN v8::Local<v8::Value> MakeCallback(
  95. ^
  96. /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
  97. __attribute__((deprecated(message))) declarator
  98. ^~~~~~~~~~
  99. In file included from ../src/i2c.cc:2:0:
  100. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
  101. ../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
  102. v8::Isolate::GetCurrent(), target, method, argc, argv);
  103. ^
  104. In file included from ../src/i2c.cc:1:0:
  105. /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:177:50: note: declared here
  106. NODE_EXTERN v8::Local<v8::Value> MakeCallback(
  107. ^
  108. /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
  109. __attribute__((deprecated(message))) declarator
  110. ^~~~~~~~~~
  111. In file included from ../src/i2c.cc:2:0:
  112. ../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
  113. ../node_modules/nan/nan.h:916:53: error: no matching function for call to ‘v8::Value::ToString()’
  114. v8::Local<v8::String> string = from->ToString();
  115. ^
  116. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  117. from ../src/i2c.cc:1:
  118. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
  119. V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  120. ^~~~~~~~
  121. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
  122. In file included from ../src/i2c.cc:2:0:
  123. ../node_modules/nan/nan.h:926:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’
  124. length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
  125. ^
  126. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  127. from ../src/i2c.cc:1:
  128. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3037:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
  129. int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
  130. ^~~~~~~~~
  131. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3037:7: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
  132. In file included from ../src/i2c.cc:2:0:
  133. ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
  134. ../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
  135. ));
  136. ^
  137. In file included from ../src/i2c.cc:1:0:
  138. /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:191:50: note: declared here
  139. NODE_EXTERN v8::Local<v8::Value> MakeCallback(
  140. ^
  141. /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’
  142. __attribute__((deprecated(message))) declarator
  143. ^~~~~~~~~~
  144. In file included from ../src/i2c.cc:2:0:
  145. ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
  146. ../node_modules/nan/nan.h:1538:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
  147. New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
  148. ^
  149. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  150. from ../src/i2c.cc:1:
  151. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
  152. V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  153. ^~~
  154. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
  155. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
  156. V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
  157. ^~~
  158. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
  159. In file included from ../src/i2c.cc:2:0:
  160. ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
  161. ../node_modules/nan/nan.h:1544:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
  162. New(persistentHandle)->Set(key, value);
  163. ^
  164. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  165. from ../src/i2c.cc:1:
  166. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
  167. V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  168. ^~~
  169. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
  170. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
  171. V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
  172. ^~~
  173. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
  174. In file included from ../src/i2c.cc:2:0:
  175. ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
  176. ../node_modules/nan/nan.h:1550:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
  177. New(persistentHandle)->Set(index, value);
  178. ^
  179. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  180. from ../src/i2c.cc:1:
  181. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
  182. V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
  183. ^~~
  184. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
  185. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
  186. V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
  187. ^~~
  188. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
  189. In file included from ../src/i2c.cc:2:0:
  190. ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
  191. ../node_modules/nan/nan.h:1556:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
  192. New(persistentHandle)->Get(New(key).ToLocalChecked()));
  193. ^
  194. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  195. from ../src/i2c.cc:1:
  196. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
  197. V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
  198. ^~~
  199. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
  200. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
  201. V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
  202. ^~~
  203. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
  204. In file included from ../src/i2c.cc:2:0:
  205. ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
  206. ../node_modules/nan/nan.h:1562:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
  207. return scope.Escape(New(persistentHandle)->Get(key));
  208. ^
  209. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  210. from ../src/i2c.cc:1:
  211. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
  212. V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
  213. ^~~
  214. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
  215. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
  216. V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
  217. ^~~
  218. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
  219. In file included from ../src/i2c.cc:2:0:
  220. ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
  221. ../node_modules/nan/nan.h:1567:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
  222. return scope.Escape(New(persistentHandle)->Get(index));
  223. ^
  224. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  225. from ../src/i2c.cc:1:
  226. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
  227. V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
  228. ^~~
  229. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
  230. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
  231. V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
  232. ^~~
  233. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
  234. In file included from /usr/include/c++/6/cassert:44:0,
  235. from /home/pi/.cache/node-gyp/14.17.2/include/node/node_object_wrap.h:26,
  236. from ../node_modules/nan/nan.h:53,
  237. from ../src/i2c.cc:2:
  238. ../node_modules/nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
  239. ../node_modules/nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
  240. assert(persistent().IsNearDeath());
  241. ^
  242. In file included from ../node_modules/nan/nan.h:2365:0,
  243. from ../src/i2c.cc:2:
  244. ../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
  245. ../node_modules/nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
  246. persistent().MarkIndependent();
  247. ^~~~~~~~~~~~~~~
  248. In file included from /usr/include/c++/6/cassert:44:0,
  249. from /home/pi/.cache/node-gyp/14.17.2/include/node/node_object_wrap.h:26,
  250. from ../node_modules/nan/nan.h:53,
  251. from ../src/i2c.cc:2:
  252. ../node_modules/nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
  253. ../node_modules/nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
  254. assert(wrap->handle_.IsNearDeath());
  255. ^
  256. In file included from ../src/i2c.cc:95:0:
  257. ../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  258. ../src/./i2cfuncs.cc:48:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  259. int fd = info[0]->Int32Value();
  260. ^
  261. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  262. from ../src/i2c.cc:1:
  263. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  264. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  265. ^~~~~~~~~~
  266. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  267. In file included from ../src/i2c.cc:95:0:
  268. ../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  269. ../src/./i2cfuncs.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  270. int fd = info[0]->Int32Value();
  271. ^
  272. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  273. from ../src/i2c.cc:1:
  274. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  275. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  276. ^~~~~~~~~~
  277. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  278. In file included from ../src/i2c.cc:96:0:
  279. ../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  280. ../src/./readbyte.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  281. int fd = info[0]->Int32Value();
  282. ^
  283. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  284. from ../src/i2c.cc:1:
  285. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  286. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  287. ^~~~~~~~~~
  288. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  289. In file included from ../src/i2c.cc:96:0:
  290. ../src/./readbyte.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  291. __u8 cmd = info[1]->Int32Value();
  292. ^
  293. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  294. from ../src/i2c.cc:1:
  295. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  296. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  297. ^~~~~~~~~~
  298. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  299. In file included from ../src/i2c.cc:96:0:
  300. ../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  301. ../src/./readbyte.cc:62:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  302. int fd = info[0]->Int32Value();
  303. ^
  304. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  305. from ../src/i2c.cc:1:
  306. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  307. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  308. ^~~~~~~~~~
  309. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  310. In file included from ../src/i2c.cc:96:0:
  311. ../src/./readbyte.cc:63:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  312. __u8 cmd = info[1]->Int32Value();
  313. ^
  314. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  315. from ../src/i2c.cc:1:
  316. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  317. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  318. ^~~~~~~~~~
  319. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  320. In file included from ../src/i2c.cc:97:0:
  321. ../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  322. ../src/./readword.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  323. int fd = info[0]->Int32Value();
  324. ^
  325. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  326. from ../src/i2c.cc:1:
  327. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  328. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  329. ^~~~~~~~~~
  330. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  331. In file included from ../src/i2c.cc:97:0:
  332. ../src/./readword.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  333. __u8 cmd = info[1]->Int32Value();
  334. ^
  335. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  336. from ../src/i2c.cc:1:
  337. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  338. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  339. ^~~~~~~~~~
  340. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  341. In file included from ../src/i2c.cc:97:0:
  342. ../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  343. ../src/./readword.cc:62:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  344. int fd = info[0]->Int32Value();
  345. ^
  346. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  347. from ../src/i2c.cc:1:
  348. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  349. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  350. ^~~~~~~~~~
  351. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  352. In file included from ../src/i2c.cc:97:0:
  353. ../src/./readword.cc:63:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  354. __u8 cmd = info[1]->Int32Value();
  355. ^
  356. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  357. from ../src/i2c.cc:1:
  358. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  359. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  360. ^~~~~~~~~~
  361. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  362. In file included from ../src/i2c.cc:98:0:
  363. ../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  364. ../src/./readblock.cc:66:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  365. int fd = info[0]->Int32Value();
  366. ^
  367. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  368. from ../src/i2c.cc:1:
  369. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  370. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  371. ^~~~~~~~~~
  372. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  373. In file included from ../src/i2c.cc:98:0:
  374. ../src/./readblock.cc:67:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  375. __u8 cmd = info[1]->Int32Value();
  376. ^
  377. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  378. from ../src/i2c.cc:1:
  379. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  380. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  381. ^~~~~~~~~~
  382. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  383. In file included from ../src/i2c.cc:98:0:
  384. ../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  385. ../src/./readblock.cc:98:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  386. int fd = info[0]->Int32Value();
  387. ^
  388. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  389. from ../src/i2c.cc:1:
  390. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  391. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  392. ^~~~~~~~~~
  393. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  394. In file included from ../src/i2c.cc:98:0:
  395. ../src/./readblock.cc:99:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  396. __u8 cmd = info[1]->Int32Value();
  397. ^
  398. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  399. from ../src/i2c.cc:1:
  400. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  401. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  402. ^~~~~~~~~~
  403. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  404. In file included from ../src/i2c.cc:99:0:
  405. ../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  406. ../src/./readi2cblock.cc:69:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  407. int fd = info[0]->Int32Value();
  408. ^
  409. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  410. from ../src/i2c.cc:1:
  411. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  412. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  413. ^~~~~~~~~~
  414. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  415. In file included from ../src/i2c.cc:99:0:
  416. ../src/./readi2cblock.cc:70:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  417. __u8 cmd = info[1]->Int32Value();
  418. ^
  419. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  420. from ../src/i2c.cc:1:
  421. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  422. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  423. ^~~~~~~~~~
  424. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  425. In file included from ../src/i2c.cc:99:0:
  426. ../src/./readi2cblock.cc:71:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
  427. __u32 length = info[2]->Uint32Value();
  428. ^
  429. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  430. from ../src/i2c.cc:1:
  431. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
  432. V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  433. ^~~~~~~~~~~
  434. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
  435. In file included from ../src/i2c.cc:99:0:
  436. ../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  437. ../src/./readi2cblock.cc:109:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  438. int fd = info[0]->Int32Value();
  439. ^
  440. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  441. from ../src/i2c.cc:1:
  442. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  443. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  444. ^~~~~~~~~~
  445. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  446. In file included from ../src/i2c.cc:99:0:
  447. ../src/./readi2cblock.cc:110:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  448. __u8 cmd = info[1]->Int32Value();
  449. ^
  450. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  451. from ../src/i2c.cc:1:
  452. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  453. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  454. ^~~~~~~~~~
  455. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  456. In file included from ../src/i2c.cc:99:0:
  457. ../src/./readi2cblock.cc:111:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
  458. __u32 length = info[2]->Uint32Value();
  459. ^
  460. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  461. from ../src/i2c.cc:1:
  462. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
  463. V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  464. ^~~~~~~~~~~
  465. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
  466. In file included from ../src/i2c.cc:100:0:
  467. ../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  468. ../src/./receivebyte.cc:48:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  469. int fd = info[0]->Int32Value();
  470. ^
  471. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  472. from ../src/i2c.cc:1:
  473. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  474. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  475. ^~~~~~~~~~
  476. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  477. In file included from ../src/i2c.cc:100:0:
  478. ../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  479. ../src/./receivebyte.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  480. int fd = info[0]->Int32Value();
  481. ^
  482. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  483. from ../src/i2c.cc:1:
  484. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  485. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  486. ^~~~~~~~~~
  487. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  488. In file included from ../src/i2c.cc:101:0:
  489. ../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  490. ../src/./sendbyte.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  491. int fd = info[0]->Int32Value();
  492. ^
  493. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  494. from ../src/i2c.cc:1:
  495. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  496. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  497. ^~~~~~~~~~
  498. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  499. In file included from ../src/i2c.cc:101:0:
  500. ../src/./sendbyte.cc:48:35: error: no matching function for call to ‘v8::Value::Int32Value()’
  501. __u8 byte = info[1]->Int32Value();
  502. ^
  503. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  504. from ../src/i2c.cc:1:
  505. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  506. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  507. ^~~~~~~~~~
  508. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  509. In file included from ../src/i2c.cc:101:0:
  510. ../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  511. ../src/./sendbyte.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  512. int fd = info[0]->Int32Value();
  513. ^
  514. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  515. from ../src/i2c.cc:1:
  516. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  517. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  518. ^~~~~~~~~~
  519. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  520. In file included from ../src/i2c.cc:101:0:
  521. ../src/./sendbyte.cc:61:35: error: no matching function for call to ‘v8::Value::Int32Value()’
  522. __u8 byte = info[1]->Int32Value();
  523. ^
  524. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  525. from ../src/i2c.cc:1:
  526. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  527. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  528. ^~~~~~~~~~
  529. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  530. In file included from ../src/i2c.cc:102:0:
  531. ../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  532. ../src/./setaddr.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  533. int fd = info[0]->Int32Value();
  534. ^
  535. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  536. from ../src/i2c.cc:1:
  537. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  538. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  539. ^~~~~~~~~~
  540. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  541. In file included from ../src/i2c.cc:102:0:
  542. ../src/./setaddr.cc:48:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  543. int addr = info[1]->Int32Value();
  544. ^
  545. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  546. from ../src/i2c.cc:1:
  547. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  548. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  549. ^~~~~~~~~~
  550. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  551. In file included from ../src/i2c.cc:102:0:
  552. ../src/./setaddr.cc:49:44: error: no matching function for call to ‘v8::Value::BooleanValue()’
  553. bool forceAccess = info[2]->BooleanValue();
  554. ^
  555. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  556. from ../src/i2c.cc:1:
  557. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: candidate: bool v8::Value::BooleanValue(v8::Isolate*) const
  558. bool BooleanValue(Isolate* isolate) const;
  559. ^~~~~~~~~~~~
  560. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: candidate expects 1 argument, 0 provided
  561. In file included from ../src/i2c.cc:102:0:
  562. ../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  563. ../src/./setaddr.cc:61:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  564. int fd = info[0]->Int32Value();
  565. ^
  566. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  567. from ../src/i2c.cc:1:
  568. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  569. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  570. ^~~~~~~~~~
  571. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  572. In file included from ../src/i2c.cc:102:0:
  573. ../src/./setaddr.cc:62:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  574. int addr = info[1]->Int32Value();
  575. ^
  576. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  577. from ../src/i2c.cc:1:
  578. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  579. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  580. ^~~~~~~~~~
  581. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  582. In file included from ../src/i2c.cc:102:0:
  583. ../src/./setaddr.cc:63:44: error: no matching function for call to ‘v8::Value::BooleanValue()’
  584. bool forceAccess = info[2]->BooleanValue();
  585. ^
  586. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  587. from ../src/i2c.cc:1:
  588. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: candidate: bool v8::Value::BooleanValue(v8::Isolate*) const
  589. bool BooleanValue(Isolate* isolate) const;
  590. ^~~~~~~~~~~~
  591. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2858:8: note: candidate expects 1 argument, 0 provided
  592. In file included from ../src/i2c.cc:103:0:
  593. ../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  594. ../src/./writebyte.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  595. int fd = info[0]->Int32Value();
  596. ^
  597. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  598. from ../src/i2c.cc:1:
  599. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  600. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  601. ^~~~~~~~~~
  602. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  603. In file included from ../src/i2c.cc:103:0:
  604. ../src/./writebyte.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  605. __u8 cmd = info[1]->Int32Value();
  606. ^
  607. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  608. from ../src/i2c.cc:1:
  609. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  610. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  611. ^~~~~~~~~~
  612. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  613. In file included from ../src/i2c.cc:103:0:
  614. ../src/./writebyte.cc:51:35: error: no matching function for call to ‘v8::Value::Int32Value()’
  615. __u8 byte = info[2]->Int32Value();
  616. ^
  617. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  618. from ../src/i2c.cc:1:
  619. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  620. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  621. ^~~~~~~~~~
  622. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  623. In file included from ../src/i2c.cc:103:0:
  624. ../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  625. ../src/./writebyte.cc:63:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  626. int fd = info[0]->Int32Value();
  627. ^
  628. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  629. from ../src/i2c.cc:1:
  630. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  631. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  632. ^~~~~~~~~~
  633. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  634. In file included from ../src/i2c.cc:103:0:
  635. ../src/./writebyte.cc:64:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  636. __u8 cmd = info[1]->Int32Value();
  637. ^
  638. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  639. from ../src/i2c.cc:1:
  640. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  641. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  642. ^~~~~~~~~~
  643. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  644. In file included from ../src/i2c.cc:103:0:
  645. ../src/./writebyte.cc:65:35: error: no matching function for call to ‘v8::Value::Int32Value()’
  646. __u8 byte = info[2]->Int32Value();
  647. ^
  648. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  649. from ../src/i2c.cc:1:
  650. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  651. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  652. ^~~~~~~~~~
  653. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  654. In file included from ../src/i2c.cc:104:0:
  655. ../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  656. ../src/./writeword.cc:49:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  657. int fd = info[0]->Int32Value();
  658. ^
  659. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  660. from ../src/i2c.cc:1:
  661. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  662. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  663. ^~~~~~~~~~
  664. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  665. In file included from ../src/i2c.cc:104:0:
  666. ../src/./writeword.cc:50:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  667. __u8 cmd = info[1]->Int32Value();
  668. ^
  669. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  670. from ../src/i2c.cc:1:
  671. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  672. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  673. ^~~~~~~~~~
  674. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  675. In file included from ../src/i2c.cc:104:0:
  676. ../src/./writeword.cc:51:36: error: no matching function for call to ‘v8::Value::Int32Value()’
  677. __u16 word = info[2]->Int32Value();
  678. ^
  679. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  680. from ../src/i2c.cc:1:
  681. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  682. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  683. ^~~~~~~~~~
  684. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  685. In file included from ../src/i2c.cc:104:0:
  686. ../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  687. ../src/./writeword.cc:64:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  688. int fd = info[0]->Int32Value();
  689. ^
  690. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  691. from ../src/i2c.cc:1:
  692. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  693. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  694. ^~~~~~~~~~
  695. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  696. In file included from ../src/i2c.cc:104:0:
  697. ../src/./writeword.cc:65:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  698. __u8 cmd = info[1]->Int32Value();
  699. ^
  700. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  701. from ../src/i2c.cc:1:
  702. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  703. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  704. ^~~~~~~~~~
  705. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  706. In file included from ../src/i2c.cc:104:0:
  707. ../src/./writeword.cc:66:36: error: no matching function for call to ‘v8::Value::Int32Value()’
  708. __u16 word = info[2]->Int32Value();
  709. ^
  710. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  711. from ../src/i2c.cc:1:
  712. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  713. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  714. ^~~~~~~~~~
  715. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  716. In file included from ../src/i2c.cc:105:0:
  717. ../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  718. ../src/./writeblock.cc:70:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  719. int fd = info[0]->Int32Value();
  720. ^
  721. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  722. from ../src/i2c.cc:1:
  723. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  724. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  725. ^~~~~~~~~~
  726. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  727. In file included from ../src/i2c.cc:105:0:
  728. ../src/./writeblock.cc:71:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  729. __u8 cmd = info[1]->Int32Value();
  730. ^
  731. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  732. from ../src/i2c.cc:1:
  733. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  734. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  735. ^~~~~~~~~~
  736. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  737. In file included from ../src/i2c.cc:105:0:
  738. ../src/./writeblock.cc:72:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
  739. __u32 length = info[2]->Uint32Value();
  740. ^
  741. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  742. from ../src/i2c.cc:1:
  743. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
  744. V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  745. ^~~~~~~~~~~
  746. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
  747. In file included from ../src/i2c.cc:105:0:
  748. ../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  749. ../src/./writeblock.cc:110:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  750. int fd = info[0]->Int32Value();
  751. ^
  752. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  753. from ../src/i2c.cc:1:
  754. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  755. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  756. ^~~~~~~~~~
  757. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  758. In file included from ../src/i2c.cc:105:0:
  759. ../src/./writeblock.cc:111:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  760. __u8 cmd = info[1]->Int32Value();
  761. ^
  762. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  763. from ../src/i2c.cc:1:
  764. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  765. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  766. ^~~~~~~~~~
  767. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  768. In file included from ../src/i2c.cc:105:0:
  769. ../src/./writeblock.cc:112:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
  770. __u32 length = info[2]->Uint32Value();
  771. ^
  772. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  773. from ../src/i2c.cc:1:
  774. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
  775. V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  776. ^~~~~~~~~~~
  777. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
  778. In file included from ../src/i2c.cc:106:0:
  779. ../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  780. ../src/./writei2cblock.cc:68:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  781. int fd = info[0]->Int32Value();
  782. ^
  783. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  784. from ../src/i2c.cc:1:
  785. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  786. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  787. ^~~~~~~~~~
  788. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  789. In file included from ../src/i2c.cc:106:0:
  790. ../src/./writei2cblock.cc:69:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  791. __u8 cmd = info[1]->Int32Value();
  792. ^
  793. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  794. from ../src/i2c.cc:1:
  795. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  796. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  797. ^~~~~~~~~~
  798. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  799. In file included from ../src/i2c.cc:106:0:
  800. ../src/./writei2cblock.cc:70:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
  801. __u32 length = info[2]->Uint32Value();
  802. ^
  803. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  804. from ../src/i2c.cc:1:
  805. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
  806. V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  807. ^~~~~~~~~~~
  808. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
  809. In file included from ../src/i2c.cc:106:0:
  810. ../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  811. ../src/./writei2cblock.cc:108:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  812. int fd = info[0]->Int32Value();
  813. ^
  814. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  815. from ../src/i2c.cc:1:
  816. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  817. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  818. ^~~~~~~~~~
  819. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  820. In file included from ../src/i2c.cc:106:0:
  821. ../src/./writei2cblock.cc:109:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  822. __u8 cmd = info[1]->Int32Value();
  823. ^
  824. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  825. from ../src/i2c.cc:1:
  826. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  827. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  828. ^~~~~~~~~~
  829. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  830. In file included from ../src/i2c.cc:106:0:
  831. ../src/./writei2cblock.cc:110:39: error: no matching function for call to ‘v8::Value::Uint32Value()’
  832. __u32 length = info[2]->Uint32Value();
  833. ^
  834. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  835. from ../src/i2c.cc:1:
  836. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
  837. V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  838. ^~~~~~~~~~~
  839. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2866:41: note: candidate expects 1 argument, 0 provided
  840. In file included from ../src/i2c.cc:107:0:
  841. ../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
  842. ../src/./writequick.cc:47:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  843. int fd = info[0]->Int32Value();
  844. ^
  845. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  846. from ../src/i2c.cc:1:
  847. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  848. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  849. ^~~~~~~~~~
  850. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  851. In file included from ../src/i2c.cc:107:0:
  852. ../src/./writequick.cc:48:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  853. __u8 bit = info[1]->Int32Value();
  854. ^
  855. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  856. from ../src/i2c.cc:1:
  857. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  858. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  859. ^~~~~~~~~~
  860. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  861. In file included from ../src/i2c.cc:107:0:
  862. ../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickSync(Nan::NAN_METHOD_ARGS_TYPE)’:
  863. ../src/./writequick.cc:60:32: error: no matching function for call to ‘v8::Value::Int32Value()’
  864. int fd = info[0]->Int32Value();
  865. ^
  866. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  867. from ../src/i2c.cc:1:
  868. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  869. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  870. ^~~~~~~~~~
  871. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  872. In file included from ../src/i2c.cc:107:0:
  873. ../src/./writequick.cc:61:34: error: no matching function for call to ‘v8::Value::Int32Value()’
  874. __u8 bit = info[1]->Int32Value();
  875. ^
  876. In file included from /home/pi/.cache/node-gyp/14.17.2/include/node/node.h:67:0,
  877. from ../src/i2c.cc:1:
  878. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
  879. V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  880. ^~~~~~~~~~
  881. /home/pi/.cache/node-gyp/14.17.2/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided
  882. i2c.target.mk:111: recipe for target 'Release/obj.target/i2c/src/i2c.o' failed
  883. make: *** [Release/obj.target/i2c/src/i2c.o] Error 1
  884. make: Leaving directory '/home/pi/.node-red/node_modules/i2c-bus/build'
  885. gyp ERR! build error
  886. gyp ERR! stack Error: `make` failed with exit code: 2
  887. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
  888. gyp ERR! stack at ChildProcess.emit (events.js:375:28)
  889. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
  890. gyp ERR! System Linux 4.19.66-v7+
  891. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  892. gyp ERR! cwd /home/pi/.node-red/node_modules/i2c-bus
  893. gyp ERR! node -v v14.17.2
  894. gyp ERR! node-gyp -v v5.1.0
  895. gyp ERR! not ok
  896. npm ERR! code ELIFECYCLE
  897. npm ERR! errno 1
  898. npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`
  899. npm ERR! Exit status 1
  900. npm ERR!
  901. npm ERR! Failed at the i2c-bus@1.2.5 install script.
  902. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  903.  
  904. npm ERR! A complete log of this run can be found in:
  905. npm ERR! /home/pi/.npm/_logs/2021-07-09T11_14_58_342Z-debug.log
  906. pi@RaspbFranco:~/.node-red $
  907.  
Add Comment
Please, Sign In to add comment