Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error when trying to install terminalizer #601

Closed
dungahk opened this issue Nov 15, 2019 · 2 comments
Closed

Error when trying to install terminalizer #601

dungahk opened this issue Nov 15, 2019 · 2 comments

Comments

@dungahk
Copy link

dungahk commented Nov 15, 2019

First of all, thanks for the great piece of software!

I'm having issues when trying to install terminalizer.

I'm using

  • Linux Mint 19.1 Tessa
  • Volta 0.6.3
  • Node v12.10.0
  • npm 6.10.3
  • yarn 1.17.3

This is the message I get when running with --verbose

emerson@emerson-A51 ~ $ volta install terminalizer --verbose
[verbose] No custom hooks found
[verbose] Running command: `"npm" "view" "--json" "terminalizer@latest"`
[verbose] [parsed package metadata (single)]
NpmViewData { name: "terminalizer", version: Version { major: 0, minor: 6, patch: 1, pre: [], build: [] }, dist: RawDistInfo { shasum: "f27e8840ccb06e5209a4f97295a701fbec90f9b8", tarball: "https://registry.npmjs.org/terminalizer/-/terminalizer-0.6.1.tgz" }, dist_tags: RawPackageDistTags { latest: Version { major: 0, minor: 6, patch: 1, pre: [], build: [] }, beta: None } }
[verbose] Found terminalizer latest version (0.6.1) from https://registry.npmjs.org/terminalizer/-/terminalizer-0.6.1.tgz
[verbose] terminalizer@0.6.1 has already been fetched, skipping download
[verbose] No 'engines.node' found for terminalizer@0.6.1, using latest
[verbose] Found latest node version (13.1.0) from https://nodejs.org/dist/index.json
[verbose] Installing dependencies with command: "npm" "install" "--only=production" "--loglevel=warn" "--no-update-notifier" "--no-audit" "--color=always"
[verbose] [install stderr]
prebuild-install WARN install No prebuilt binaries found (target=13.1.0 runtime=node arch=x64 libc= platform=linux)
In file included from ../../nan/nan_converters.h:67:0,
                 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>)’
       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/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2639:18: note: candidate: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const
   Local<Boolean> ToBoolean(Isolate* isolate) const;
                  ^~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2639:18: note:   no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
In file included from ../../nan/nan_converters.h:67:0,
                 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>)’
   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/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2648:8: note: candidate: bool v8::Value::BooleanValue(v8::Isolate*) const
   bool BooleanValue(Isolate* isolate) const;
        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2648:8: note:   no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
In file included from ../../nan/nan_new.h:189:0,
                 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:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                           , obj));
                                ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:4188:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
   static MaybeLocal<Function> New(
                               ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:4188:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
In file included from ../../nan/nan_new.h:189:0,
                 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: 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/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:5409: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/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:5409:23: note:   candidate expects 2 arguments, 1 provided
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:203,
                 from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
   return v8::StringObject::New(value).As<v8::StringObject>();
                                                          ^
../../nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token
   return v8::StringObject::New(value).As<v8::StringObject>();
                                                            ^
In file included from ../src/unix/pty.cc:20:0:
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../../nan/nan.h:1034:53: error: no matching function for call to ‘v8::Value::ToString()’
       v8::Local<v8::String> string = from->ToString();
                                                     ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2627:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2627:44: note:   candidate expects 1 argument, 0 provided
In file included from ../src/unix/pty.cc:20:0:
../../nan/nan.h:1044:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’
         length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
                                                                          ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2824:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
       ^~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2824:7: note:   no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
In file included from ../src/unix/pty.cc:20:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1818:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
     New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                                                                ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3424:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3424:37: note:   candidate expects 3 arguments, 2 provided
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3427:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                     ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3427:37: note:   candidate expects 3 arguments, 2 provided
In file included from ../src/unix/pty.cc:20:0:
../../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: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
     New(persistentHandle)->Set(key, value);
                                          ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3424:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3424:37: note:   candidate expects 3 arguments, 2 provided
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3427:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                     ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3427:37: note:   candidate expects 3 arguments, 2 provided
In file included from ../src/unix/pty.cc:20:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1830:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
     New(persistentHandle)->Set(index, value);
                                            ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3424:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                     ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3424:37: note:   candidate expects 3 arguments, 2 provided
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3427:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                     ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3427:37: note:   candidate expects 3 arguments, 2 provided
In file included from ../src/unix/pty.cc:20:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1836:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
         New(persistentHandle)->Get(New(key).ToLocalChecked()));
                                                             ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3471:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                           ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3471:43: note:   candidate expects 2 arguments, 1 provided
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3474:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                           ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3474:43: note:   candidate expects 2 arguments, 1 provided
In file included from ../src/unix/pty.cc:20:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
../../nan/nan.h:1842:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
     return scope.Escape(New(persistentHandle)->Get(key));
                                                       ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3471:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                           ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3471:43: note:   candidate expects 2 arguments, 1 provided
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3474:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                           ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3474:43: note:   candidate expects 2 arguments, 1 provided
In file included from ../src/unix/pty.cc:20:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../../nan/nan.h:1847:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
     return scope.Escape(New(persistentHandle)->Get(index));
                                                         ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3471:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                           ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3471:43: note:   candidate expects 2 arguments, 1 provided
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3474:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                           ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3474:43: note:   candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/7/cassert:44:0,
                 from /home/emerson/.cache/node-gyp/13.1.0/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’
     assert(persistent().IsNearDeath());
                         ^
In file included from ../../nan/nan.h:2657:0,
                 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’
     persistent().MarkIndependent();
                  ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/7/cassert:44:0,
                 from /home/emerson/.cache/node-gyp/13.1.0/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’
     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: error: no matching function for call to ‘v8::Value::ToString()’
   v8::String::Utf8Value file(info[0]->ToString());
                                                ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2627:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2627:44: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:172:66: error: no matching function for call to ‘v8::Array::Get(Nan::imp::IntegerFactory<v8::Integer>::return_t)’
     v8::String::Utf8Value arg(argv_->Get(Nan::New<v8::Integer>(i))->ToString());
                                                                  ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3471:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                           ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3471:43: note:   candidate expects 2 arguments, 1 provided
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3474:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                           ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3474:43: note:   candidate expects 2 arguments, 1 provided
../src/unix/pty.cc:183:66: error: no matching function for call to ‘v8::Array::Get(Nan::imp::IntegerFactory<v8::Integer>::return_t)’
     v8::String::Utf8Value pair(env_->Get(Nan::New<v8::Integer>(i))->ToString());
                                                                  ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3471:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                           ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3471:43: note:   candidate expects 2 arguments, 1 provided
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3474:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                           ^~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:3474:43: note:   candidate expects 2 arguments, 1 provided
../src/unix/pty.cc:188:48: error: no matching function for call to ‘v8::Value::ToString()’
   v8::String::Utf8Value cwd_(info[3]->ToString());
                                                ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2627:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2627:44: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:193:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_col = info[4]->IntegerValue();
                                       ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:194:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_row = info[5]->IntegerValue();
                                       ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:202:26: error: no matching function for call to ‘v8::Value::ToBoolean()’
   if (info[8]->ToBoolean()->Value()) {
                          ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2639:18: note: candidate: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const
   Local<Boolean> ToBoolean(Isolate* isolate) const;
                  ^~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2639:18: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:237:35: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int uid = info[6]->IntegerValue();
                                   ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:238:35: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int gid = info[7]->IntegerValue();
                                   ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651: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:322:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_col = info[0]->IntegerValue();
                                       ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:323:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_row = info[1]->IntegerValue();
                                       ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyKill(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:367:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int fd = info[0]->IntegerValue();
                                  ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:368:38: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int signal = info[1]->IntegerValue();
                                      ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651: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:390:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int fd = info[0]->IntegerValue();
                                  ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:393:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_col = info[1]->IntegerValue();
                                       ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:394:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
   winp.ws_row = info[2]->IntegerValue();
                                       ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651: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:417:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
   int fd = info[0]->IntegerValue();
                                  ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2651:40: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:419:48: error: no matching function for call to ‘v8::Value::ToString()’
   v8::String::Utf8Value tty_(info[1]->ToString());
                                                ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2627:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:2627:44: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:
../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]
   Nan::Callback(cb).Call(Nan::GetCurrentContext()->Global(), 2, argv);
                                                                     ^
In file included from ../src/unix/pty.cc:20:0:
../../nan/nan.h:1596: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:735:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(PtyFork)->GetFunction());
                                                                 ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:6004:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:6004:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:738:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(PtyOpen)->GetFunction());
                                                                 ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:6004:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:6004:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:742:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(PtyKill)->GetFunction());
                                                                 ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:6004:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:6004:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:746:67: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(PtyResize)->GetFunction());
                                                                   ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:6004:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:6004:46: note:   candidate expects 1 argument, 0 provided
../src/unix/pty.cc:749:68: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
            Nan::New<v8::FunctionTemplate>(PtyGetProc)->GetFunction());
                                                                    ^
In file included from /home/emerson/.cache/node-gyp/13.1.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:51,
                 from ../src/unix/pty.cc:20:
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:6004:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/emerson/.cache/node-gyp/13.1.0/include/node/v8.h:6004:46: note:   candidate expects 1 argument, 0 provided
make: *** [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 (/home/emerson/.volta/tools/image/node/13.1.0/6.12.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.15.0-47-generic
gyp ERR! command "/home/emerson/.volta/tools/image/node/13.1.0/6.12.1/bin/node" "/home/emerson/.volta/tools/image/node/13.1.0/6.12.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--build_v8_with_gn=false"
gyp ERR! cwd /home/emerson/.volta/tools/image/packages/terminalizer/0.6.1/node_modules/node-pty-prebuilt
gyp ERR! node -v v13.1.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-pty-prebuilt@0.7.6 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-pty-prebuilt@0.7.6 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/emerson/.npm/_logs/2019-11-15T00_38_32_727Z-debug.log

[verbose] [install stdout]

> node-pty-prebuilt@0.7.6 install /home/emerson/.volta/tools/image/packages/terminalizer/0.6.1/node_modules/node-pty-prebuilt
> prebuild-install || node scripts/install.js

make: Entering directory '/home/emerson/.volta/tools/image/packages/terminalizer/0.6.1/node_modules/node-pty-prebuilt/build'
  CXX(target) Release/obj.target/pty/src/unix/pty.o
pty.target.mk:109: recipe for target 'Release/obj.target/pty/src/unix/pty.o' failed
make: Leaving directory '/home/emerson/.volta/tools/image/packages/terminalizer/0.6.1/node_modules/node-pty-prebuilt/build'

error: Could not install package dependencies.

Please ensure you have correct permissions to the Volta directory.
@charlespierce
Copy link
Contributor

Hi @dungahk, thanks for reporting this. From the look of those errors, it looks like terminalizer is a native module that hasn't been pre-built or set up to build for Node 13 yet. Unfortunately our package install process currently uses the latest Node that matches the engines key, or the latest Node overall if there isn't an engines key. This is causing us to choose Node 13, which then leads terminalizer to fail.

We have #480 tracking updating that logic to first look for the latest LTS node that matches, which in this case would pull Node 12 and likely be successful.

@dungahk
Copy link
Author

dungahk commented Nov 16, 2019

I see, so If I set up the engines key I'd be able to install it. If that is the case, then I'm fine to close it for now.

Thank you!

@dungahk dungahk closed this as completed Nov 16, 2019
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

2 participants