Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing particle-dev package on Linux Mint #35

Open
dbblackdiamond opened this issue Sep 5, 2019 · 0 comments
Open

Error installing particle-dev package on Linux Mint #35

dbblackdiamond opened this issue Sep 5, 2019 · 0 comments

Comments

@dbblackdiamond
Copy link

Hi,
I am not sure if it is a Linux Mint issue or an issue in general, but when I try to install the particle-dev package, it fails miserably.
Here is the output of apm install particle-dev:

Installing particle-dev to /home/bertrand/.atom/packages ✗

> [email protected] install /tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport
> node-pre-gyp install --fallback-to-build

make: Entering directory '/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build'
make: Entering directory '/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build'
  CXX(target) Release/obj.target/serialport/src/serialport.o
  CXX(target) Release/obj.target/serialport/src/serialport.o
serialport.target.mk:103: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed
make: Leaving directory '/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build'
Failed to execute '/usr/share/atom/resources/app/apm/bin/node /usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build/Release' (1)
serialport.target.mk:103: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed
make: Leaving directory '/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build'

npm WARN deprecated [email protected]: Use particle-api-js instead
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please use the native JSON object instead of JSON 3
npm WARN deprecated [email protected]: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header).  This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated [email protected]: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header).  This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated [email protected]: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.1/serialport-v4.0.1-electron-v3.1-linux-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (electron-v3.1 ABI, glibc) (falling back to source compile with node-gyp) 
node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.1/serialport-v4.0.1-electron-v3.1-linux-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (electron-v3.1 ABI, glibc) (falling back to source compile with node-gyp) 
../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’
   return getValueFromObject(options, key)->ToInt32()->Int32Value();
                                                    ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’
   return getValueFromObject(options, key)->ToNumber()->NumberValue();
                                                     ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2364:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
                                            ^~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2364:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2381:35: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const
                     Local<Number> ToNumber(Isolate* isolate) const);
                                   ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2381:35: note:   candidate expects 1 argument, 0 provided
                     Local<Number> ToNumber(Isolate* isolate) const);
                                   ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
   v8::String::Utf8Value path(info[0]->ToString());
                                                 ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2820:28: note: declared here
                   explicit Utf8Value(Local<v8::Value> obj));
                            ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:175:31: error: no matching function for call to ‘v8::Value::ToInt32()’
     int fd = argv[1]->ToInt32()->Int32Value();
                               ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp:181:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(2, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:195:29: error: no matching function for call to ‘v8::Value::ToInt32()’
   int fd = info[0]->ToInt32()->Int32Value();
                             ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp:220:116: error: no matching function for call to ‘v8::Value::ToInt32()’
   baton->baudRate = Nan::Get(options, Nan::New<v8::String>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                    ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
../src/serialport.cpp:243:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(1, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:256:29: error: no matching function for call to ‘v8::Value::ToInt32()’
   int fd = info[0]->ToInt32()->Int32Value();
                             ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’:
../src/serialport.cpp:344:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(1, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:376:32: error: no matching function for call to ‘v8::Value::ToInt32()’
   baton->fd = info[0]->ToInt32()->Int32Value();
                                ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
../src/serialport.cpp:410:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(1, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:
../src/serialport.cpp:474:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(2, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:490:29: error: no matching function for call to ‘v8::Value::ToInt32()’
   int fd = info[0]->ToInt32()->Int32Value();
                             ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
../src/serialport.cpp:525:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(2, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:538:29: error: no matching function for call to ‘v8::Value::ToInt32()’
   int fd = info[0]->ToInt32()->Int32Value();
                             ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
../src/serialport.cpp:583:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(1, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:596:29: error: no matching function for call to ‘v8::Value::ToInt32()’
   int fd = info[0]->ToInt32()->Int32Value();
                             ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
../src/serialport.cpp:629:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(1, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’
   return getValueFromObject(options, key)->ToInt32()->Int32Value();
                                                    ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’
   return getValueFromObject(options, key)->ToNumber()->NumberValue();
                                                     ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2364:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(
                                            ^~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2364:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2381:35: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const
                     Local<Number> ToNumber(Isolate* isolate) const);
                                   ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2381:35: note:   candidate expects 1 argument, 0 provided
                     Local<Number> ToNumber(Isolate* isolate) const);
                                   ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
   v8::String::Utf8Value path(info[0]->ToString());
                                                 ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2820:28: note: declared here
                   explicit Utf8Value(Local<v8::Value> obj));
                            ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:175:31: error: no matching function for call to ‘v8::Value::ToInt32()’
     int fd = argv[1]->ToInt32()->Int32Value();
                               ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp:181:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(2, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:195:29: error: no matching function for call to ‘v8::Value::ToInt32()’
   int fd = info[0]->ToInt32()->Int32Value();
                             ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp:220:116: error: no matching function for call to ‘v8::Value::ToInt32()’
   baton->baudRate = Nan::Get(options, Nan::New<v8::String>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                    ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
../src/serialport.cpp:243:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(1, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:256:29: error: no matching function for call to ‘v8::Value::ToInt32()’
   int fd = info[0]->ToInt32()->Int32Value();
                             ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’:
../src/serialport.cpp:344:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(1, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:376:32: error: no matching function for call to ‘v8::Value::ToInt32()’
   baton->fd = info[0]->ToInt32()->Int32Value();
                                ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
../src/serialport.cpp:410:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(1, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:
../src/serialport.cpp:474:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(2, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:490:29: error: no matching function for call to ‘v8::Value::ToInt32()’
   int fd = info[0]->ToInt32()->Int32Value();
                             ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
../src/serialport.cpp:525:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(2, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:538:29: error: no matching function for call to ‘v8::Value::ToInt32()’
   int fd = info[0]->ToInt32()->Int32Value();
                             ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
../src/serialport.cpp:583:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(1, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:596:29: error: no matching function for call to ‘v8::Value::ToInt32()’
   int fd = info[0]->ToInt32()->Int32Value();
                             ^
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54:0,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2376:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:26:0,
                 from /home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:54,
                 from ../../nan/nan.h:54,
                 from ../src/./serialport.h:7,
                 from ../src/serialport.cpp:1:
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2389:34: note:   candidate expects 1 argument, 0 provided
                     Local<Int32> ToInt32(Isolate* isolate) const);
                                  ^
/home/bertrand/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^~~~~~~~~~
../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
../src/serialport.cpp:629:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   data->callback->Call(1, argv);
                               ^
In file included from ../src/./serialport.h:7:0,
                 from ../src/serialport.cpp:1:
../../nan/nan.h:1740:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/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:237:12)
gyp ERR! System Linux 4.15.0-58-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build/Release"
gyp ERR! cwd /tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/share/atom/resources/app/apm/bin/node /usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build/Release' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/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:961:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
node-pre-gyp ERR! System Linux 4.15.0-58-generic
node-pre-gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport
node-pre-gyp ERR! node -v v10.2.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok 
make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/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:237:12)
gyp ERR! System Linux 4.15.0-58-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport/build/Release"
gyp ERR! cwd /tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/node_modules/particle-dev/node_modules/serialport
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-11984-3449-12v4yw.vukzzr/package.json'
npm WARN apm-install-dir-11984-3449-12v4yw.vukzzr No description
npm WARN apm-install-dir-11984-3449-12v4yw.vukzzr No repository field.
npm WARN apm-install-dir-11984-3449-12v4yw.vukzzr No README data
npm WARN apm-install-dir-11984-3449-12v4yw.vukzzr No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/bertrand/.atom/.apm/_logs/2019-09-05T02_47_02_003Z-debug.log

Prior to running that command, I ran export npm_config_runtime=electron and followed the steps shown in this thread:https://discuss.atom.io/t/particle-dev-complete/32317/3

This is from a fresh Atom install. Here are the version of the various components:

apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.40.1
python 2.7.15+
git 2.17.1

Any idea? Am I running too new a version of node? Or am I missing something else?

Thanks a lot in advance,
Bertrand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant