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

Installing failed #112

Open
sevku opened this issue Nov 12, 2020 · 0 comments
Open

Installing failed #112

sevku opened this issue Nov 12, 2020 · 0 comments

Comments

@sevku
Copy link

sevku commented Nov 12, 2020

Installing “[email protected]” failed.Hide output…

> [email protected] install /tmp/apm-install-dir-20201012-7498-1jk9hco.adiv/node_modules/atom-ide-terminal/node_modules/node-pty-prebuilt
> prebuild-install || node scripts/install.js

make: Entering directory '/tmp/apm-install-dir-20201012-7498-1jk9hco.adiv/node_modules/atom-ide-terminal/node_modules/node-pty-prebuilt/build'
  CXX(target) Release/obj.target/pty/src/unix/pty.o
make: Leaving directory '/tmp/apm-install-dir-20201012-7498-1jk9hco.adiv/node_modules/atom-ide-terminal/node_modules/node-pty-prebuilt/build'

prebuild-install WARN install No prebuilt binaries found (target=6.1.12 runtime=electron arch=x64 libc= platform=linux)
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:49: warning: ‘v8::MicrotasksCompletedCallback’ is deprecated: Use *WithData version. [-Wdeprecated-declarations]
  326 |   declarator __attribute__((deprecated(message)))
      |                                                 ^
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:8205:3: note: in expansion of macro ‘V8_DEPRECATE_SOON’
 8205 |   V8_DEPRECATE_SOON("Use *WithData version.",
      |   ^~~~~~~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:6668:34: note: declared here
 6668 |                   typedef void (*MicrotasksCompletedCallback)(Isolate*));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
  326 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:49: warning: ‘v8::MicrotasksCompletedCallback’ is deprecated: Use *WithData version. [-Wdeprecated-declarations]
  326 |   declarator __attribute__((deprecated(message)))
      |                                                 ^
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:8214:3: note: in expansion of macro ‘V8_DEPRECATE_SOON’
 8214 |   V8_DEPRECATE_SOON("Use *WithData version.",
      |   ^~~~~~~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:6668:34: note: declared here
 6668 |                   typedef void (*MicrotasksCompletedCallback)(Isolate*));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
  326 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67,
                 from ../../nan/nan.h:202,
                 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: error: no matching function for call to ‘v8::Value::ToBoolean(v8::Local<v8::Context>)’
   18 |       val->To ## TYPE(isolate->GetCurrentContext())                            \
      |                                                   ^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
   22 | X(Boolean)
      | ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2516:18: note: candidate: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’
 2516 |   Local<Boolean> ToBoolean(Isolate* isolate) const;
      |                  ^~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2516:37: note:   no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
 2516 |   Local<Boolean> ToBoolean(Isolate* isolate) const;
      |                            ~~~~~~~~~^~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10428:16: note: candidate: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’
10428 | Local<Boolean> Value::ToBoolean() const {
      |                ^~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10428:16: note:   candidate expects 0 arguments, 1 provided
In file included from ../../nan/nan_converters.h:67,
                 from ../../nan/nan.h:202,
                 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: error: no matching function for call to ‘v8::Value::BooleanValue(v8::Local<v8::Context>)’
   37 |   return val->NAME ## Value(isolate->GetCurrentContext());                     \
      |                                                         ^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
   40 | X(bool, Boolean)
      | ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2532:8: note: candidate: ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
 2532 |   bool BooleanValue(Isolate* isolate) const;
      |        ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2532:30: note:   no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
 2532 |   bool BooleanValue(Isolate* isolate) const;
      |                     ~~~~~~~~~^~~~~~~
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2541:43: note: candidate: ‘bool v8::Value::BooleanValue() const’
 2541 |   V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
      |                                           ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2541:43: note:   candidate expects 0 arguments, 1 provided
 2541 |   V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
      |                                           ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189,
                 from ../../nan/nan.h:203,
                 from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan_implementation_12_inl.h:103:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
  103 |   return scope.Escape(v8::Function::New( isolate
      |                                          ^~~~~~~
      |                                          |
      |                                          v8::Isolate*
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:4095:22: note:   initializing argument 1 of ‘static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)’
 4095 |       Local<Context> context, FunctionCallback callback,
      |       ~~~~~~~~~~~~~~~^~~~~~~
In file included from ../../nan/nan_new.h:189,
                 from ../../nan/nan.h:203,
                 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:337:37: warning: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Local<v8::String>)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
  337 |   return v8::StringObject::New(value).As<v8::StringObject>();
      |                                     ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5324:37: note: declared here
 5324 |                 static Local<Value> New(Local<String> value));
      |                                     ^~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189,
                 from ../../nan/nan.h:203,
                 from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h:337:37: warning: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Local<v8::String>)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
  337 |   return v8::StringObject::New(value).As<v8::StringObject>();
      |                                     ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5324:37: note: declared here
 5324 |                 static Local<Value> New(Local<String> value));
      |                                     ^~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../../nan/nan.h:1034:53: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 1034 |       v8::Local<v8::String> string = from->ToString();
      |                                                     ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local<String> Value::ToString() const {
      |               ^~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:1044:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
 1044 |         length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
      |                                                                          ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2727:21: note: declared here
 2727 |                 int WriteUtf8(char* buffer, int length = -1,
      |                     ^~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1818:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 1818 |     New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
      |                                                                ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3331:22: note: declared here
 3331 |                 bool Set(Local<Value> key, Local<Value> value));
      |                      ^~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1824:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 1824 |     New(persistentHandle)->Set(key, value);
      |                                          ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3331:22: note: declared here
 3331 |                 bool Set(Local<Value> key, Local<Value> value));
      |                      ^~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1830:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 1830 |     New(persistentHandle)->Set(index, value);
      |                                            ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3340:22: note: declared here
 3340 |                 bool Set(uint32_t index, Local<Value> value));
      |                      ^~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1836:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 1836 |         New(persistentHandle)->Get(New(key).ToLocalChecked()));
      |                                                             ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3384:51: note: declared here
 3384 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
      |                                                   ^~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
../../nan/nan.h:1842:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 1842 |     return scope.Escape(New(persistentHandle)->Get(key));
      |                                                       ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3384:51: note: declared here
 3384 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
      |                                                   ^~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../../nan/nan.h:1847:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 1847 |     return scope.Escape(New(persistentHandle)->Get(index));
      |                                                         ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3388:51: note: declared here
 3388 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
      |                                                   ^~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2167: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]
 2167 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
      |                                                              ^
In file included from /usr/include/c++/9/cassert:44,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node_object_wrap.h:26,
                 from ../../nan/nan.h:53,
                 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’
   24 |     assert(persistent().IsNearDeath());
      |                         ^~~~~~~~~~~
In file included from ../../nan/nan.h:2657,
                 from ../src/unix/pty.cc:20:
../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../../nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
   67 |     persistent().MarkIndependent();
      |                  ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/cassert:44,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node_object_wrap.h:26,
                 from ../../nan/nan.h:53,
                 from ../src/unix/pty.cc:20:
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
  124 |     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:161:48: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  161 |   v8::String::Utf8Value file(info[0]->ToString());
      |                                                ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local<String> Value::ToString() const {
      |               ^~~~~
../src/unix/pty.cc:161:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
  161 |   v8::String::Utf8Value file(info[0]->ToString());
      |                                                 ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: note: declared here
 2965 |                   explicit Utf8Value(Local<v8::Value> obj));
      |                            ^~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:172:66: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  172 |     v8::String::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
      |                                                                  ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3384:51: note: declared here
 3384 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
      |                                                   ^~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:172:78: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  172 |     v8::String::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
      |                                                                              ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local<String> Value::ToString() const {
      |               ^~~~~
../src/unix/pty.cc:172:79: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
  172 |     v8::String::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
      |                                                                               ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: note: declared here
 2965 |                   explicit Utf8Value(Local<v8::Value> obj));
      |                            ^~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:183:66: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  183 |     v8::String::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
      |                                                                  ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:3384:51: note: declared here
 3384 |   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
      |                                                   ^~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:183:78: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  183 |     v8::String::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
      |                                                                              ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local<String> Value::ToString() const {
      |               ^~~~~
../src/unix/pty.cc:183:79: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
  183 |     v8::String::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
      |                                                                               ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: note: declared here
 2965 |                   explicit Utf8Value(Local<v8::Value> obj));
      |                            ^~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:188:48: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  188 |   v8::String::Utf8Value cwd_(info[3]->ToString());
      |                                                ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local<String> Value::ToString() const {
      |               ^~~~~
../src/unix/pty.cc:188:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
  188 |   v8::String::Utf8Value cwd_(info[3]->ToString());
      |                                                 ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: note: declared here
 2965 |                   explicit Utf8Value(Local<v8::Value> obj));
      |                            ^~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:193:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  193 |   winp.ws_col = info[4]->IntegerValue();
      |                                       ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:194:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  194 |   winp.ws_row = info[5]->IntegerValue();
      |                                       ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:202:26: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  202 |   if (info[8]->ToBoolean()->Value()) {
      |                          ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10428:16: note: declared here
10428 | Local<Boolean> Value::ToBoolean() const {
      |                ^~~~~
../src/unix/pty.cc:237:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  237 |   int uid = info[6]->IntegerValue();
      |                                   ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:238:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  238 |   int gid = info[7]->IntegerValue();
      |                                   ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyOpen(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:322:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  322 |   winp.ws_col = info[0]->IntegerValue();
      |                                       ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:323:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  323 |   winp.ws_row = info[1]->IntegerValue();
      |                                       ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyKill(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:367:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  367 |   int fd = info[0]->IntegerValue();
      |                                  ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:368:38: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  368 |   int signal = info[1]->IntegerValue();
      |                                      ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyResize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:390:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  390 |   int fd = info[0]->IntegerValue();
      |                                  ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:393:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  393 |   winp.ws_col = info[1]->IntegerValue();
      |                                       ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:394:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  394 |   winp.ws_row = info[2]->IntegerValue();
      |                                       ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyGetProc(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:417:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  417 |   int fd = info[0]->IntegerValue();
      |                                  ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2543:46: note: declared here
 2543 |   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
      |                                              ^~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc:419:48: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  419 |   v8::String::Utf8Value tty_(info[1]->ToString());
      |                                                ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:10433:15: note: declared here
10433 | Local<String> Value::ToString() const {
      |               ^~~~~
../src/unix/pty.cc:419:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
  419 |   v8::String::Utf8Value tty_(info[1]->ToString());
      |                                                 ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
                 from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: note: declared here
 2965 |                   explicit Utf8Value(Local<v8::Value> obj));
      |                            ^~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  311 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:
../src/unix/pty.cc:518: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]
  518 |   memset(&baton->cb, -1, sizeof(baton->cb));
      |                                           ^
In file included from ../../nan/nan.h:318,
                 from ../src/unix/pty.cc:20:
../../nan/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistent<v8::Function>’ declared here
   12 | template<typename T, typename M> class Persistent :
      |                                        ^~~~~~~~~~
../src/unix/pty.cc:519:69: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  519 |   Nan::Callback(cb).Call(Nan::GetCurrentContext()->Global(), 2, argv);
      |                                                                     ^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:1596:3: note: declared here
 1596 |   Call(v8::Local<v8::Object> target
      |   ^~~~
../src/unix/pty.cc: In function ‘void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/unix/pty.cc:735:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
  735 |            Nan::New<v8::FunctionTemplate>(PtyFork)->GetFunction());
      |                                                                 ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
 5891 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
      |                                              ^~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:738:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
  738 |            Nan::New<v8::FunctionTemplate>(PtyOpen)->GetFunction());
      |                                                                 ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
 5891 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
      |                                              ^~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:742:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
  742 |            Nan::New<v8::FunctionTemplate>(PtyKill)->GetFunction());
      |                                                                 ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
 5891 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
      |                                              ^~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:746:67: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
  746 |            Nan::New<v8::FunctionTemplate>(PtyResize)->GetFunction());
      |                                                                   ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
 5891 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
      |                                              ^~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:749:68: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
  749 |            Nan::New<v8::FunctionTemplate>(PtyGetProc)->GetFunction());
      |                                                                    ^
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
 5891 |   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
      |                                              ^~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: note:   candidate expects 1 argument, 0 provided
In file included from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
../src/unix/pty.cc: At global scope:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:572: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]
  572 |       (node::addon_register_func) (regfunc),                          \
      |                                           ^
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:606:3: note: in expansion of macro ‘NODE_MODULE_X’
  606 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      |   ^~~~~~~~~~~~~
../src/unix/pty.cc:752:1: note: in expansion of macro ‘NODE_MODULE’
  752 | NODE_MODULE(pty, init)
      | ^~~~~~~~~~~
In file included from /home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/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/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node_object_wrap.h:84:78:   required from here
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:9810: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]
 9810 |                reinterpret_cast<Callback>(callback), type);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/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/user/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:9810: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
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/snap/atom/265/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194: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.3.0-64-generic
gyp ERR! command "/snap/atom/265/usr/share/atom/resources/app/apm/bin/node" "/snap/atom/265/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--build_v8_with_gn=false"
gyp ERR! cwd /tmp/apm-install-dir-20201012-7498-1jk9hco.adiv/node_modules/atom-ide-terminal/node_modules/node-pty-prebuilt
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-20201012-7498-1jk9hco.adiv/package.json'
npm WARN apm-install-dir-20201012-7498-1jk9hco.adiv No description
npm WARN apm-install-dir-20201012-7498-1jk9hco.adiv No repository field.
npm WARN apm-install-dir-20201012-7498-1jk9hco.adiv No README data
npm WARN apm-install-dir-20201012-7498-1jk9hco.adiv No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node scripts/install.js`
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/user/.atom/.apm/_logs/2020-11-12T14_52_58_566Z-debug.log
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