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

Fails to install with node 12 #319

Closed
fczuardi opened this issue Jun 1, 2019 · 6 comments
Closed

Fails to install with node 12 #319

fczuardi opened this issue Jun 1, 2019 · 6 comments

Comments

@fczuardi
Copy link

fczuardi commented Jun 1, 2019

Environment details

  • OS: GNU/Linux
  • OS version: 5.1.5-arch1-2-ARCH
  • node-pty version: node-pty@0.8.1

Issue description

Using latest node 12.3.1 on linux a npm i --verbose node-pty@latest results in the following:

npm info it worked if it ends with ok
npm verb cli [
npm verb cli   '/home/fcz/reason/.nodeenv/bin/node',
npm verb cli   '/home/fcz/reason/.nodeenv/bin/npm',
npm verb cli   'i',
npm verb cli   '--verbose',
npm verb cli   'node-pty@latest'
npm verb cli ]
npm info using npm@6.9.0
npm info using node@v12.3.1
npm verb npm-session 521caf357ec4f3ec
npm http fetch GET 200 https://registry.npmjs.org/node-pty 14ms (from cache)
npm timing stage:loadCurrentTree Completed in 52ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
npm http fetch GET 200 https://registry.npmjs.org/nan 6ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 16ms
npm timing stage:loadIdealTree Completed in 19ms
npm timing stage:generateActionsToTake Completed in 4ms
npm verb correctMkdir /home/fcz/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /home/fcz/.npm/_locks/staging-6326014172356a26.lock for /tmp/nodetest3/node_modules/.staging
npm timing action:extract Completed in 112ms
npm timing action:finalize Completed in 5ms
npm timing action:refresh-package-json Completed in 15ms
npm info lifecycle nan@2.12.1~preinstall: nan@2.12.1
npm info lifecycle node-pty@0.8.1~preinstall: node-pty@0.8.1
npm timing action:preinstall Completed in 2ms
npm info linkStuff nan@2.12.1
npm info linkStuff node-pty@0.8.1
npm timing action:build Completed in 3ms
npm info lifecycle nan@2.12.1~install: nan@2.12.1
npm info lifecycle node-pty@0.8.1~install: node-pty@0.8.1

> node-pty@0.8.1 install /tmp/nodetest3/node_modules/node-pty
> node scripts/install.js

gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/home/fcz/reason/.nodeenv/bin/node',
gyp verb cli   '/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild'
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@12.3.1 | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import sys; print "2.7.16
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 12.3.1
gyp verb command install [ '12.3.1' ]
gyp verb install input version string "12.3.1"
gyp verb install installing version: 12.3.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 12.3.1
gyp verb build dir attempting to create "build" dir: /tmp/nodetest3/node_modules/node-pty/build
gyp verb build dir "build" dir needed to be created? /tmp/nodetest3/node_modules/node-pty/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /tmp/nodetest3/node_modules/node-pty/build/config.gypi
gyp verb config.gypi checking for gypi file: /tmp/nodetest3/node_modules/node-pty/config.gypi
gyp verb common.gypi checking for gypi file: /tmp/nodetest3/node_modules/node-pty/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [
gyp info spawn args   '/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/tmp/nodetest3/node_modules/node-pty/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/fcz/.node-gyp/12.3.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/fcz/.node-gyp/12.3.1',
gyp info spawn args   '-Dnode_gyp_dir=/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/fcz/.node-gyp/12.3.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/tmp/nodetest3/node_modules/node-pty',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /home/fcz/.node-gyp/12.3.1
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/tmp/nodetest3/node_modules/node-pty/build'
  g++ '-DNODE_GYP_MODULE_NAME=pty' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/fcz/.node-gyp/12.3.1/include/node -I/home/fcz/.node-gyp/12.3.1/src -I/home/fcz/.node-gyp/12.3.1/deps/openssl/config -I/home/fcz/.node-gyp/12.3.1/deps/openssl/openssl/include -I/home/fcz/.node-gyp/12.3.1/deps/uv/include -I/home/fcz/.node-gyp/12.3.1/deps/zlib -I/home/fcz/.node-gyp/12.3.1/deps/v8/include -I../../nan  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/pty/src/unix/pty.o.d.raw   -c -o Release/obj.target/pty/src/unix/pty.o ../src/unix/pty.cc
In file included from ../../nan/nan_converters.h:67,
                 from ../../nan/nan.h:222,
                 from ../src/unix/pty.cc:20:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
       val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                   ^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
 X(Boolean)
 ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
                 from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2524:63: note: declared here
                     V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                               ^~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67,
                 from ../../nan/nan.h:222,
                 from ../src/unix/pty.cc:20:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
   return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                         ^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
 X(bool, Boolean)
 ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
                 from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2562:51: note: declared here
                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                   ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189,
                 from ../../nan/nan.h:223,
                 from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:356:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
   return v8::StringObject::New(value).As<v8::StringObject>();
                                     ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5380:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’
   static Local<Value> New(Isolate* isolate, Local<String> value);
                       ^~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5380:23: note:   candidate expects 2 arguments, 1 provided
In file included from ../../nan/nan_new.h:189,
                 from ../../nan/nan.h:223,
                 from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h:356:58: error: expected primary-expression before ‘>’ token
   return v8::StringObject::New(value).As<v8::StringObject>();
                                                          ^
../../nan/nan_implementation_12_inl.h:356:60: error: expected primary-expression before ‘)’ token
   return v8::StringObject::New(value).As<v8::StringObject>();
                                                            ^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2232:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                              ^
In file included from /usr/include/c++/8.3.0/cassert:44,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node_object_wrap.h:26,
                 from ../../nan/nan.h:55,
                 from ../src/unix/pty.cc:20:
../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
     assert(persistent().IsNearDeath());
                         ^~~~~~~~~~~
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
../../nan/nan_object_wrap.h:127:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
     assert(wrap->handle_.IsNearDeath());
                          ^~~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:154:48: error: no matching function for call to ‘v8::Value::ToString()’
   v8::String::Utf8Value file(info[0]->ToString());
                                                ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
                 from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
                     Local<String> ToString(Isolate* isolate) const);
                                   ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note:   candidate expects 1 argument, 0 provided
                     Local<String> ToString(Isolate* isolate) const);
                                   ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/unix/pty.cc:165:66: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     v8::String::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
                                                                  ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
                 from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:3412:55: note: declared here
   V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
                                                       ^~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/unix/pty.cc:165:78: error: no matching function for call to ‘v8::Value::ToString()’
     v8::String::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
                                                                              ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
                 from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
                     Local<String> ToString(Isolate* isolate) const);
                                   ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note:   candidate expects 1 argument, 0 provided
                     Local<String> ToString(Isolate* isolate) const);
                                   ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/unix/pty.cc:176:66: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     v8::String::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
                                                                  ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
                 from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:3412:55: note: declared here
   V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
                                                       ^~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/unix/pty.cc:176:78: error: no matching function for call to ‘v8::Value::ToString()’
     v8::String::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
                                                                              ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
                 from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
                     Local<String> ToString(Isolate* isolate) const);
                                   ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note:   candidate expects 1 argument, 0 provided
                     Local<String> ToString(Isolate* isolate) const);
                                   ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/unix/pty.cc:181:48: error: no matching function for call to ‘v8::Value::ToString()’
   v8::String::Utf8Value cwd_(info[3]->ToString());
                                                ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
                 from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
                     Local<String> ToString(Isolate* isolate) const);
                                   ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note:   candidate expects 1 argument, 0 provided
                     Local<String> ToString(Isolate* isolate) const);
                                   ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/unix/pty.cc:186:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_col = info[4]->IntegerValue();
                                       ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:187:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_row = info[5]->IntegerValue();
                                       ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:195:26: error: no matching function for call to ‘v8::Value::ToBoolean()’
   if (info[8]->ToBoolean()->Value()) {
                          ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
                 from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2524:63: note: candidate: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’
                     V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                               ^~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2524:63: note:   candidate expects 1 argument, 0 provided
                     V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                               ^~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2540:18: note: candidate: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
   Local<Boolean> ToBoolean(Isolate* isolate) const;
                  ^~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2540:18: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:230:35: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int uid = info[6]->IntegerValue();
                                   ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:231:35: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int gid = info[7]->IntegerValue();
                                   ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyOpen(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:315:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_col = info[0]->IntegerValue();
                                       ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:316:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_row = info[1]->IntegerValue();
                                       ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyResize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:360:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int fd = info[0]->IntegerValue();
                                  ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:363:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_col = info[1]->IntegerValue();
                                       ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:364:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_row = info[2]->IntegerValue();
                                       ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyGetProc(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:387:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int fd = info[0]->IntegerValue();
                                  ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2565:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:389:48: error: no matching function for call to ‘v8::Value::ToString()’
   v8::String::Utf8Value tty_(info[1]->ToString());
                                                ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2528:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/fcz/.node-gyp/12.3.1/include/node/v8-internal.h:14,
                 from /home/fcz/.node-gyp/12.3.1/include/node/v8.h:25,
                 from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
                     Local<String> ToString(Isolate* isolate) const);
                                   ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:2544:35: note:   candidate expects 1 argument, 0 provided
                     Local<String> ToString(Isolate* isolate) const);
                                   ^~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:
../src/unix/pty.cc:488:43: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class Nan::Persistent<v8::Function>’ with no trivial copy-assignment [-Wclass-memaccess]
   memset(&baton->cb, -1, sizeof(baton->cb));
                                           ^
In file included from ../../nan/nan.h:338,
                 from ../src/unix/pty.cc:20:
../../nan/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistent<v8::Function>’ declared here
 template<typename T, typename M> class Persistent :
                                        ^~~~~~~~~~
../src/unix/pty.cc:489:69: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
   Nan::Callback(cb).Call(Nan::GetCurrentContext()->Global(), 2, argv);
                                                                     ^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:1652:3: note: declared here
   Call(v8::Local<v8::Object> target
   ^~~~
../src/unix/pty.cc: In function ‘void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/unix/pty.cc:705:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(PtyFork)->GetFunction());
                                                                 ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:708:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(PtyOpen)->GetFunction());
                                                                 ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:711:67: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(PtyResize)->GetFunction());
                                                                   ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:714:68: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(PtyGetProc)->GetFunction());
                                                                    ^
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:5947:46: note:   candidate expects 1 argument, 0 provided
In file included from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
../src/unix/pty.cc: At global scope:
/home/fcz/.node-gyp/12.3.1/include/node/node.h:556:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
       (node::addon_register_func) (regfunc),                          \
                                           ^
/home/fcz/.node-gyp/12.3.1/include/node/node.h:590:3: note: in expansion of macro ‘NODE_MODULE_X’
   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
   ^~~~~~~~~~~~~
../src/unix/pty.cc:717:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(pty, init)
 ^~~~~~~~~~~
In file included from /home/fcz/.node-gyp/12.3.1/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
/home/fcz/.node-gyp/12.3.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/fcz/.node-gyp/12.3.1/include/node/node_object_wrap.h:84:78:   required from here
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:9817:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/fcz/.node-gyp/12.3.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:66:61:   required from here
/home/fcz/.node-gyp/12.3.1/include/node/v8.h:9817:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
make: *** [pty.target.mk:107: Release/obj.target/pty/src/unix/pty.o] Error 1
make: Leaving directory '/tmp/nodetest3/node_modules/node-pty/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.1.5-arch1-2-ARCH
gyp ERR! command "/home/fcz/reason/.nodeenv/bin/node" "/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/nodetest3/node_modules/node-pty
gyp ERR! node -v v12.3.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm verb lifecycle node-pty@0.8.1~install: unsafe-perm in lifecycle true
npm verb lifecycle node-pty@0.8.1~install: PATH: /home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/tmp/nodetest3/node_modules/node-pty/node_modules/.bin:/tmp/nodetest3/node_modules/.bin:/home/fcz/reason/.nodeenv/lib/node_modules/.bin:/home/fcz/reason/.nodeenv/bin:/home/fcz/.nvm/versions/node/v4.9.1/bin:/home/fcz/.yarn/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
npm verb lifecycle node-pty@0.8.1~install: CWD: /tmp/nodetest3/node_modules/node-pty
npm timing audit submit Completed in 1277ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 1277ms
npm timing audit body Completed in 1ms
npm info lifecycle node-pty@0.8.1~install: Failed to exec install script
npm timing action:install Completed in 1143ms
npm verb unlock done using /home/fcz/.npm/_locks/staging-6326014172356a26.lock for /tmp/nodetest3/node_modules/.staging
npm timing stage:rollbackFailedOptional Completed in 34ms
npm timing stage:runTopLevelLifecycles Completed in 1429ms
npm WARN nodetest3@1.0.0 No description
npm WARN nodetest3@1.0.0 No repository field.

npm verb stack Error: node-pty@0.8.1 install: `node scripts/install.js`
npm verb stack Exit status 1
npm verb stack     at EventEmitter.<anonymous> (/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
npm verb stack     at EventEmitter.emit (events.js:200:13)
npm verb stack     at ChildProcess.<anonymous> (/home/fcz/reason/.nodeenv/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack     at ChildProcess.emit (events.js:200:13)
npm verb stack     at maybeClose (internal/child_process.js:1021:16)
npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
npm verb pkgid node-pty@0.8.1
npm verb cwd /tmp/nodetest3
npm verb Linux 5.1.5-arch1-2-ARCH
npm verb argv "/home/fcz/reason/.nodeenv/bin/node" "/home/fcz/reason/.nodeenv/bin/npm" "i" "--verbose" "node-pty@latest"
npm verb node v12.3.1
npm verb npm  v6.9.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-pty@0.8.1 install: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-pty@0.8.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 1681ms

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/fcz/.npm/_logs/2019-06-01T20_35_35_215Z-debug.log
@Tyriar
Copy link
Member

Tyriar commented Jun 1, 2019

node-pty@0.8.1

0.9.0 isn't released yet, try npm i node-pty@beta

@devedse
Copy link

devedse commented Jul 25, 2019

@Tyriar , I just tried installing node-pty@beta which results in the same errors

Command:
npm i node-pty@beta --save-dev
  c:\users\...\.node-gyp\12.6.0\include\node\v8.h(2523): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\node-boilerp
  late\scrypt_kdf-verify_sync.cc)
c:\xgitds\coolapplication\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling s
ource file ..\src\node-boilerplate\scrypt_hash_sync.cc)c:\xgitds\coolapplication\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::
Value::ToBoolean': was declared deprecated (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc)c:\xgitds\coolapplication\node_module
s\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source file ..\src\node-boilerplate\scrypt_k
df-verify_sync.cc) [C:\XGitDS\coolapplication\node_modules\scrypt\build\scrypt.vcxproj]
c:\xgitds\coolapplication\node_modules\nan\nan_implementation_12_inl.h(356): error C2660: 'v8::StringObject::New': function does not take 1 argumen
ts (compiling source file ..\src\node-boilerplate\scrypt_kdf_sync.cc) [C:\XGitDS\coolapplication\node_modules\scrypt\build\scrypt.vcxproj]

@Tyriar
Copy link
Member

Tyriar commented Jul 25, 2019

This was meant to be fixed in the latest beta #329, @deepak1556 any idea about that error?

@deepak1556
Copy link
Contributor

I don't see the issue with that version. @devedse by any chance is the version of nan locked in your project to some particular version ? For node 12 we need nan to be 2.14.0 or higher.

@devedse
Copy link

devedse commented Jul 26, 2019

After removing my pakage-lock.json file the install succeeded. Thanks :)

@walkingCommiter
Copy link

After removing my pakage-lock.json file the install succeeded. Thanks :)

I just removed the whole project and it was solved thanks for recommendation.

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

No branches or pull requests

5 participants