aj@aj-Latitude-E6440:~/Espruino/getHub/emcu-master$ npm install npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! npm WARN deprecated tar.gz@1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar npm WARN deprecated cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version. npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version. npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version. > serialport@4.0.7 install /home/aj/Espruino/getHub/emcu-master/node_modules/serialport > node-pre-gyp install --fallback-to-build node-pre-gyp info it worked if it ends with ok node-pre-gyp verb cli [ '/usr/bin/node', node-pre-gyp verb cli '/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/node_modules/.bin/node-pre-gyp', node-pre-gyp verb cli 'install', node-pre-gyp verb cli '--fallback-to-build' ] node-pre-gyp info using node-pre-gyp@0.6.32 node-pre-gyp info using node@10.13.0 | linux | x64 node-pre-gyp verb command install [] node-pre-gyp info check checked for "/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build/Release/serialport.node" (not found) node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-x64.tar.gz node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-x64.tar.gz node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@10.13.0 (node-v64 ABI) (falling back to source compile with node-gyp) node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-x64.tar.gz node-pre-gyp verb command build [ 'rebuild' ] node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v64-linux-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@10.13.0 (node-v64 ABI) (falling back to source compile with node-gyp) node-pre-gyp http Connection closed while downloading tarball file node-pre-gyp verb command build [ 'rebuild' ] make: Entering directory '/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build' CXX(target) Release/obj.target/serialport/src/serialport.o make: Entering directory '/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build' CXX(target) Release/obj.target/serialport/src/serialport.o In file included from ../../nan/nan_new.h:189:0, from ../../nan/nan.h:222, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’: ../../nan/nan_implementation_12_inl.h:340:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] return v8::StringObject::New(value).As(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:5053:37: note: declared here static Local New(Local value)); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’: ../../nan/nan.h:1066:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local string = from->ToString(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^~~~~ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1080:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2659:21: note: declared here int WriteUtf8(char* buffer, int length = -1, ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../../nan/nan_new.h:189:0, from ../../nan/nan.h:222, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’: ../../nan/nan_implementation_12_inl.h:340:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] return v8::StringObject::New(value).As(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:5053:37: note: declared here static Local New(Local value)); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’: ../../nan/nan.h:1066:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local string = from->ToString(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^~~~~ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1080:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2659:21: note: declared here int WriteUtf8(char* buffer, int length = -1, ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local, std::__cxx11::string)’: ../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’ return getValueFromObject(options, key)->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local, std::__cxx11::string)’: ../src/serialport.cpp:94:54: warning: ‘v8::Local v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToBoolean()->BooleanValue(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10034:16: note: declared here Local Value::ToBoolean() const { ^~~~~ ../src/serialport.cpp:94:70: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToBoolean()->BooleanValue(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2474:43: note: declared here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘v8::Local getStringFromObj(v8::Local, std::__cxx11::string)’: ../src/serialport.cpp:98:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToString(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^~~~~ ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local, std::__cxx11::string)’: ../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’ return getValueFromObject(options, key)->ToNumber()->NumberValue(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2425:44: note: candidate: v8::MaybeLocal v8::Value::ToNumber(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToNumber( ^~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2425:44: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2442:31: note: candidate: v8::Local v8::Value::ToNumber(v8::Isolate*) const Local ToNumber(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2442:31: note: candidate expects 1 argument, 0 provided Local ToNumber(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:111:48: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::String::Utf8Value path(info[0]->ToString()); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^~~~~ ../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Utf8Value path(info[0]->ToString()); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local obj)); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:118:53: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local options = info[1]->ToObject(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/serialport.cpp:141:100: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local platformOptions = getValueFromObject(options, "platformOptions")->ToObject(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’: ../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = argv[1]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:180:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:200:53: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local options = info[1]->ToObject(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’ baton->baudRate = Nan::Get(options, Nan::New("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’: ../src/serialport.cpp:240:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:259:52: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local buffer = info[1]->ToObject(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’: ../src/serialport.cpp:339:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’ baton->fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’: ../src/serialport.cpp:403:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’: ../src/serialport.cpp:465:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’: ../src/serialport.cpp:516:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:535:53: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local options = info[1]->ToObject(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’: ../src/serialport.cpp:573:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’: ../src/serialport.cpp:617:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local, std::__cxx11::string)’: ../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’ return getValueFromObject(options, key)->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local, std::__cxx11::string)’: ../src/serialport.cpp:94:54: warning: ‘v8::Local v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToBoolean()->BooleanValue(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10034:16: note: declared here Local Value::ToBoolean() const { ^~~~~ ../src/serialport.cpp:94:70: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToBoolean()->BooleanValue(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2474:43: note: declared here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘v8::Local getStringFromObj(v8::Local, std::__cxx11::string)’: ../src/serialport.cpp:98:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToString(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^~~~~ ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local, std::__cxx11::string)’: ../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’ return getValueFromObject(options, key)->ToNumber()->NumberValue(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2425:44: note: candidate: v8::MaybeLocal v8::Value::ToNumber(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToNumber( ^~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2425:44: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2442:31: note: candidate: v8::Local v8::Value::ToNumber(v8::Isolate*) const Local ToNumber(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2442:31: note: candidate expects 1 argument, 0 provided Local ToNumber(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:111:48: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::String::Utf8Value path(info[0]->ToString()); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^~~~~ ../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Utf8Value path(info[0]->ToString()); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local obj)); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:118:53: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local options = info[1]->ToObject(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/serialport.cpp:141:100: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local platformOptions = getValueFromObject(options, "platformOptions")->ToObject(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’: ../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = argv[1]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:180:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:200:53: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local options = info[1]->ToObject(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’ baton->baudRate = Nan::Get(options, Nan::New("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’: ../src/serialport.cpp:240:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:259:52: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local buffer = info[1]->ToObject(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’: ../src/serialport.cpp:339:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’ baton->fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’: ../src/serialport.cpp:403:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’: ../src/serialport.cpp:465:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’: ../src/serialport.cpp:516:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:535:53: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local options = info[1]->ToObject(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’: ../src/serialport.cpp:573:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’: ../src/serialport.cpp:617:30: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../nan/nan.h:1655:3: note: declared here Call(int argc, v8::Local argv[]) const { ^~~~ serialport.target.mk:103: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed make: *** [Release/obj.target/serialport/src/serialport.o] Error 1 make: Leaving directory '/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Linux 4.15.0-20-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build/Release" gyp ERR! cwd /home/aj/Espruino/getHub/emcu-master/node_modules/serialport gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build/Release' (1) node-pre-gyp ERR! stack at ChildProcess. (/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:962:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) node-pre-gyp ERR! System Linux 4.15.0-20-generic node-pre-gyp ERR! command "/usr/bin/node" "/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /home/aj/Espruino/getHub/emcu-master/node_modules/serialport node-pre-gyp ERR! node -v v10.13.0 node-pre-gyp ERR! node-pre-gyp -v v0.6.32 node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build/Release' (1) serialport.target.mk:103: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed make: *** [Release/obj.target/serialport/src/serialport.o] Error 1 make: Leaving directory '/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) > websocket@1.0.28 install /home/aj/Espruino/getHub/emcu-master/node_modules/websocket > (node-gyp rebuild 2> builderror.log) || (exit 0) gyp ERR! System Linux 4.15.0-20-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/aj/Espruino/getHub/emcu-master/node_modules/serialport/build/Release" gyp ERR! cwd /home/aj/Espruino/getHub/emcu-master/node_modules/serialport gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok make: Entering directory '/home/aj/Espruino/getHub/emcu-master/node_modules/websocket/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node COPY Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node COPY Release/validation.node make: Leaving directory '/home/aj/Espruino/getHub/emcu-master/node_modules/websocket/build' > usb@1.5.0 install /home/aj/Espruino/getHub/emcu-master/node_modules/usb > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.5.0/usb_bindings-v1.5.0-node-v64-linux-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for usb@1.5.0 and node@10.13.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) make: Entering directory '/home/aj/Espruino/getHub/emcu-master/node_modules/usb/build' CC(target) Release/obj.target/libusb/libusb/libusb/core.o CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o CC(target) Release/obj.target/libusb/libusb/libusb/io.o CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o CC(target) Release/obj.target/libusb/libusb/libusb/sync.o CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o AR(target) Release/obj.target/usb.a COPY Release/usb.a CXX(target) Release/obj.target/usb_bindings/src/node_usb.o In file included from ../../nan/nan_new.h:189:0, from ../../nan/nan.h:222, from ../src/helpers.h:3, from ../src/node_usb.h:21, from ../src/node_usb.cc:1: ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’: ../../nan/nan_implementation_12_inl.h:340:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] return v8::StringObject::New(value).As(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from ../src/node_usb.h:12, from ../src/node_usb.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:5053:37: note: declared here static Local New(Local value)); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/node_usb.cc:1: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’: ../../nan/nan.h:1066:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local string = from->ToString(); ^ In file included from ../src/node_usb.h:12:0, from ../src/node_usb.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^~~~~ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/node_usb.cc:1: ../../nan/nan.h:1080:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from ../src/node_usb.h:12, from ../src/node_usb.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2659:21: note: declared here int WriteUtf8(char* buffer, int length = -1, ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/node_usb.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetDebugLevel(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/node_usb.cc:99:73: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] if (info.Length() != 1 || !info[0]->IsUint32() || info[0]->Uint32Value() > 4) { ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from ../src/node_usb.h:12, from ../src/node_usb.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/node_usb.cc:103:53: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] libusb_set_debug(usb_context, info[0]->Uint32Value()); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from ../src/node_usb.h:12, from ../src/node_usb.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/node_usb.cc: In function ‘void handleHotplug(std::pair)’: ../src/node_usb.cc:151:58: warning: ‘v8::Local Nan::MakeCallback(v8::Local, const char*, int, v8::Local*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/node_usb.cc:1: ../../nan/nan.h:1000:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ ../src/node_usb.cc: In function ‘v8::Local libusbException(int)’: ../src/node_usb.cc:301:14: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] e->ToObject()->Set(Nan::New("errno").ToLocalChecked(), Nan::New(errorno)); ^ In file included from ../src/node_usb.h:12:0, from ../src/node_usb.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ CXX(target) Release/obj.target/usb_bindings/src/device.o In file included from ../../nan/nan_new.h:189:0, from ../../nan/nan.h:222, from ../src/helpers.h:3, from ../src/node_usb.h:21, from ../src/device.cc:1: ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’: ../../nan/nan_implementation_12_inl.h:340:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] return v8::StringObject::New(value).As(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from ../src/node_usb.h:12, from ../src/device.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:5053:37: note: declared here static Local New(Local value)); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/device.cc:1: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’: ../../nan/nan.h:1066:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local string = from->ToString(); ^ In file included from ../src/node_usb.h:12:0, from ../src/device.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^~~~~ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/device.cc:1: ../../nan/nan.h:1080:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from ../src/node_usb.h:12, from ../src/device.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2659:21: note: declared here int WriteUtf8(char* buffer, int length = -1, ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/device.cc: In static member function ‘static void Req::default_after(uv_work_t*)’: ../src/device.cc:237:64: warning: ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/device.cc:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/transfer.o In file included from ../../nan/nan_new.h:189:0, from ../../nan/nan.h:222, from ../src/helpers.h:3, from ../src/node_usb.h:21, from ../src/transfer.cc:1: ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’: ../../nan/nan_implementation_12_inl.h:340:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] return v8::StringObject::New(value).As(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from ../src/node_usb.h:12, from ../src/transfer.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:5053:37: note: declared here static Local New(Local value)); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/transfer.cc:1: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’: ../../nan/nan.h:1066:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local string = from->ToString(); ^ In file included from ../src/node_usb.h:12:0, from ../src/transfer.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^~~~~ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/transfer.cc:1: ../../nan/nan.h:1080:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from ../src/node_usb.h:12, from ../src/transfer.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2659:21: note: declared here int WriteUtf8(char* buffer, int length = -1, ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/transfer.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Transfer_Submit(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/transfer.cc:58:47: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local buffer_obj = info[0]->ToObject(); ^ In file included from ../src/node_usb.h:12:0, from ../src/transfer.cc:1: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^~~~~ ../src/transfer.cc: In function ‘void handleCompletion(Transfer*)’: ../src/transfer.cc:126:72: warning: ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/transfer.cc:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/usb_bindings.node COPY Release/usb_bindings.node COPY /home/aj/Espruino/getHub/emcu-master/node_modules/usb/src/binding/usb_bindings.node TOUCH Release/obj.target/action_after_build.stamp make: Leaving directory '/home/aj/Espruino/getHub/emcu-master/node_modules/usb/build' > bluetooth-hci-socket@0.5.1 install /home/aj/Espruino/getHub/emcu-master/node_modules/bluetooth-hci-socket > node-gyp rebuild make: Entering directory '/home/aj/Espruino/getHub/emcu-master/node_modules/bluetooth-hci-socket/build' CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o In file included from ../../nan/nan_new.h:189:0, from ../../nan/nan.h:222, from ../src/BluetoothHciSocket.cpp:8: ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’: ../../nan/nan_implementation_12_inl.h:340:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] return v8::StringObject::New(value).As(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from /home/aj/.node-gyp/10.13.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/aj/.node-gyp/10.13.0/include/node/v8.h:5053:37: note: declared here static Local New(Local value)); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’: ../../nan/nan.h:1066:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local string = from->ToString(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from /home/aj/.node-gyp/10.13.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/aj/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^~~~~ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../nan/nan.h:1080:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from /home/aj/.node-gyp/10.13.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2659:21: note: declared here int WriteUtf8(char* buffer, int length = -1, ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’: ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../nan/nan.h:979:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’: ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local [1])’ Local error = errorConstructor->NewInstance(1, constructorArgs); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/node.h:63:0, from /home/aj/.node-gyp/10.13.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/aj/.node-gyp/10.13.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local, int, v8::Local*) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:3993:44: note: candidate expects 3 arguments, 2 provided /home/aj/.node-gyp/10.13.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal v8::Function::NewInstance(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^~~~~~~~~~~ /home/aj/.node-gyp/10.13.0/include/node/v8.h:3996:44: note: candidate expects 1 argument, 2 provided ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../nan/nan.h:979:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/BluetoothHciSocket.cpp:395:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from /home/aj/.node-gyp/10.13.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/BluetoothHciSocket.cpp:417:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/aj/.node-gyp/10.13.0/include/node/v8.h:26:0, from /home/aj/.node-gyp/10.13.0/include/node/node.h:63, from /home/aj/.node-gyp/10.13.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/aj/.node-gyp/10.13.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/aj/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ binding.target.mk:101: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1 make: Leaving directory '/home/aj/Espruino/getHub/emcu-master/node_modules/bluetooth-hci-socket/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Linux 4.15.0-20-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/aj/Espruino/getHub/emcu-master/node_modules/bluetooth-hci-socket gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: winnus@0.0.3 (node_modules/winnus): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for winnus@0.0.3: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 (node_modules/serialport): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node_modules/bluetooth-hci-socket): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 added 234 packages from 147 contributors and audited 3110 packages in 22.845s found 18 vulnerabilities (3 low, 13 moderate, 2 high) run `npm audit fix` to fix them, or `npm audit` for details