It is not possible to install on Ubuntu 20.04.
Installed Java, installed node-java but always got the following error message without any describing error:
npm ERR! code 1 npm ERR! path /home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/opennlp/node_modules/java npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! make: Verzeichnis „/home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/opennlp/node_modules/java/build“ wird betreten npm ERR! CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o npm ERR! make: Verzeichnis „/home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/opennlp/node_modules/java/build“ wird verlassen npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | linux | x64 npm ERR! gyp info find Python using Python version 3.8.5 found at "/usr/bin/python3" npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/opennlp/node_modules/java/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/parallels/.cache/node-gyp/14.5.0/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/parallels/.cache/node-gyp/14.5.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/parallels/.cache/node-gyp/14.5.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/opennlp/node_modules/java', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! In file included from ../../nan/nan.h:182, npm ERR! from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’: npm ERR! ../../nan/nan_maybe_43_inl.h:89:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ npm ERR! 89 | return obj->ForceSet(GetCurrentContext(), key, value, attribs); npm ERR! | ^~~~~~~~ npm ERR! ../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’: npm ERR! ../../nan/nan_maybe_43_inl.h:221:17: error: ‘class v8::Array’ has no member named ‘CloneElementAt’ npm ERR! 221 | return array->CloneElementAt(GetCurrentContext(), index); npm ERR! | ^~~~~~~~~~~~~~ npm ERR! In file included from ../../nan/nan_converters.h:59, npm ERR! from ../../nan/nan.h:187, npm ERR! from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../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>)’: npm ERR! ../../nan/nan_converters_43_inl.h:15:43: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’ npm ERR! 15 | return val->To ## TYPE(GetCurrentContext()); \ npm ERR! | ~~~~~~~~~~~~~~~~~^~ npm ERR! | | npm ERR! | v8::Local<v8::Context> npm ERR! ../../nan/nan_converters_43_inl.h:18:1: note: in expansion of macro ‘X’ npm ERR! 18 | X(Boolean) npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2844:37: note: initializing argument 1 of ‘v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const’ npm ERR! 2844 | Local<Boolean> ToBoolean(Isolate* isolate) const; npm ERR! | ~~~~~~~~~^~~~~~~ npm ERR! In file included from ../../nan/nan_converters.h:59, npm ERR! from ../../nan/nan.h:187, npm ERR! from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../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>)’: npm ERR! ../../nan/nan_converters_43_inl.h:31:46: error: cannot convert ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’ npm ERR! 31 | return val->NAME ## Value(GetCurrentContext()); \ npm ERR! | ~~~~~~~~~~~~~~~~~^~ npm ERR! | | npm ERR! | v8::Local<v8::Context> npm ERR! ../../nan/nan_converters_43_inl.h:34:1: note: in expansion of macro ‘X’ npm ERR! 34 | X(bool, Boolean) npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2854:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’ npm ERR! 2854 | bool BooleanValue(Isolate* isolate) const; npm ERR! | ~~~~~~~~~^~~~~~~ npm ERR! In file included from ../../nan/nan_new.h:189, npm ERR! from ../../nan/nan.h:188, npm ERR! from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::BooleanObject>::return_t Nan::imp::Factory<v8::BooleanObject>::New(bool)’: npm ERR! ../../nan/nan_implementation_12_inl.h:40:38: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ npm ERR! 40 | return v8::BooleanObject::New(value).As<v8::BooleanObject>(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:5820:23: note: candidate: ‘static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool)’ npm ERR! 5820 | static Local<Value> New(Isolate* isolate, bool value); npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:5820:23: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../../nan/nan_new.h:189, npm ERR! from ../../nan/nan.h:188, npm ERR! from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan_implementation_12_inl.h:40:60: error: expected primary-expression before ‘>’ token npm ERR! 40 | return v8::BooleanObject::New(value).As<v8::BooleanObject>(); npm ERR! | ^ npm ERR! ../../nan/nan_implementation_12_inl.h:40:62: error: expected primary-expression before ‘)’ token npm ERR! 40 | return v8::BooleanObject::New(value).As<v8::BooleanObject>(); npm ERR! | ^ npm ERR! ../../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>)’: npm ERR! ../../nan/nan_implementation_12_inl.h:102:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ npm ERR! 102 | return scope.Escape(v8::Function::New( isolate npm ERR! | ^~~~~~~ npm ERR! | | npm ERR! | v8::Isolate* npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:4442: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)’ npm ERR! 4442 | Local<Context> context, FunctionCallback callback, npm ERR! | ~~~~~~~~~~~~~~~^~~~~~~ npm ERR! In file included from ../../nan/nan_new.h:189, npm ERR! from ../../nan/nan.h:188, npm ERR! from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../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>)’: npm ERR! ../../nan/nan_implementation_12_inl.h:340:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’ npm ERR! 340 | return v8::StringObject::New(value).As<v8::StringObject>(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:5836:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’ npm ERR! 5836 | static Local<Value> New(Isolate* isolate, Local<String> value); npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:5836:23: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../../nan/nan_new.h:189, npm ERR! from ../../nan/nan.h:188, npm ERR! from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan_implementation_12_inl.h:340:58: error: expected primary-expression before ‘>’ token npm ERR! 340 | return v8::StringObject::New(value).As<v8::StringObject>(); npm ERR! | ^ npm ERR! ../../nan/nan_implementation_12_inl.h:340:60: error: expected primary-expression before ‘)’ token npm ERR! 340 | return v8::StringObject::New(value).As<v8::StringObject>(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: At global scope: npm ERR! ../../nan/nan.h:590:20: error: variable or field ‘AddGCEpilogueCallback’ declared void npm ERR! 590 | v8::Isolate::GCEpilogueCallback callback npm ERR! | ^~~~~~~~~~~~~~~~~~ npm ERR! ../../nan/nan.h:590:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ npm ERR! ../../nan/nan.h:591:18: error: expected primary-expression before ‘gc_type_filter’ npm ERR! 591 | , v8::GCType gc_type_filter = v8::kGCTypeAll) { npm ERR! | ^~~~~~~~~~~~~~ npm ERR! ../../nan/nan.h:596:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared void npm ERR! 596 | v8::Isolate::GCEpilogueCallback callback) { npm ERR! | ^~~~~~~~~~~~~~~~~~ npm ERR! ../../nan/nan.h:596:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ npm ERR! ../../nan/nan.h:601:20: error: variable or field ‘AddGCPrologueCallback’ declared void npm ERR! 601 | v8::Isolate::GCPrologueCallback callback npm ERR! | ^~~~~~~~~~~~~~~~~~ npm ERR! ../../nan/nan.h:601:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ npm ERR! ../../nan/nan.h:602:18: error: expected primary-expression before ‘gc_type_filter’ npm ERR! 602 | , v8::GCType gc_type_filter = v8::kGCTypeAll) { npm ERR! | ^~~~~~~~~~~~~~ npm ERR! ../../nan/nan.h:607:20: error: variable or field ‘RemoveGCPrologueCallback’ declared void npm ERR! 607 | v8::Isolate::GCPrologueCallback callback) { npm ERR! | ^~~~~~~~~~~~~~~~~~ npm ERR! ../../nan/nan.h:607:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ npm ERR! ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’: npm ERR! ../../nan/nan.h:801:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] npm ERR! 801 | v8::Isolate::GetCurrent(), target, func, argc, argv); npm ERR! | ^ npm ERR! In file included from ../src/java.h:6, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:189:50: note: declared here npm ERR! 189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( npm ERR! | ^~~~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’ npm ERR! 108 | __attribute__((deprecated(message))) declarator npm ERR! | ^~~~~~~~~~ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h:801:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] npm ERR! 801 | v8::Isolate::GetCurrent(), target, func, argc, argv); npm ERR! | ^ npm ERR! In file included from ../src/java.h:6, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:189:50: note: declared here npm ERR! 189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( npm ERR! | ^~~~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’ npm ERR! 108 | __attribute__((deprecated(message))) declarator npm ERR! | ^~~~~~~~~~ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’: npm ERR! ../../nan/nan.h:815:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] npm ERR! 815 | v8::Isolate::GetCurrent(), target, symbol, argc, argv); npm ERR! | ^ npm ERR! In file included from ../src/java.h:6, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:182:50: note: declared here npm ERR! 182 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( npm ERR! | ^~~~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’ npm ERR! 108 | __attribute__((deprecated(message))) declarator npm ERR! | ^~~~~~~~~~ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h:815:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] npm ERR! 815 | v8::Isolate::GetCurrent(), target, symbol, argc, argv); npm ERR! | ^ npm ERR! In file included from ../src/java.h:6, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:182:50: note: declared here npm ERR! 182 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( npm ERR! | ^~~~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’ npm ERR! 108 | __attribute__((deprecated(message))) declarator npm ERR! | ^~~~~~~~~~ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’: npm ERR! ../../nan/nan.h:829:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] npm ERR! 829 | v8::Isolate::GetCurrent(), target, method, argc, argv); npm ERR! | ^ npm ERR! In file included from ../src/java.h:6, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:175:50: note: declared here npm ERR! 175 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( npm ERR! | ^~~~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’ npm ERR! 108 | __attribute__((deprecated(message))) declarator npm ERR! | ^~~~~~~~~~ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h:829:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] npm ERR! 829 | v8::Isolate::GetCurrent(), target, method, argc, argv); npm ERR! | ^ npm ERR! In file included from ../src/java.h:6, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:175:50: note: declared here npm ERR! 175 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( npm ERR! | ^~~~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’ npm ERR! 108 | __attribute__((deprecated(message))) declarator npm ERR! | ^~~~~~~~~~ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: npm ERR! ../../nan/nan.h:866:53: error: no matching function for call to ‘v8::Value::ToString()’ npm ERR! 866 | v8::Local<v8::String> string = from->ToString(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ npm ERR! 2806 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate expects 1 argument, 0 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h:876:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’ npm ERR! 876 | length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags); npm ERR! | ^~~~ npm ERR! | | npm ERR! | char* npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3033:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ npm ERR! 3033 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, npm ERR! | ~~~~~~~~~^~~~~~~ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In member function ‘bool Nan::Callback::operator==(const Nan::Callback&) const’: npm ERR! ../../nan/nan.h:1339:61: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’ npm ERR! 1339 | v8::Local<v8::Value> a = New(handle)->Get(kCallbackIndex); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h:1340:67: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’ npm ERR! 1340 | v8::Local<v8::Value> b = New(other.handle)->Get(kCallbackIndex); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In member function ‘v8::Local<v8::Function> Nan::Callback::GetFunction() const’: npm ERR! ../../nan/nan.h:1371:56: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’ npm ERR! 1371 | return scope.Escape(New(handle)->Get(kCallbackIndex) npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h:1372:25: error: expected primary-expression before ‘>’ token npm ERR! 1372 | .As<v8::Function>()); npm ERR! | ^ npm ERR! ../../nan/nan.h:1372:27: error: expected primary-expression before ‘)’ token npm ERR! 1372 | .As<v8::Function>()); npm ERR! | ^ npm ERR! ../../nan/nan.h: In member function ‘bool Nan::Callback::IsEmpty() const’: npm ERR! ../../nan/nan.h:1377:43: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’ npm ERR! 1377 | return New(handle)->Get(kCallbackIndex)->IsUndefined(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’: npm ERR! ../../nan/nan.h:1415:27: error: no matching function for call to ‘v8::Object::Get(const uint32_t&)’ npm ERR! 1415 | Get(kCallbackIndex).As<v8::Function>(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h:1415:44: error: expected primary-expression before ‘>’ token npm ERR! 1415 | Get(kCallbackIndex).As<v8::Function>(); npm ERR! | ^ npm ERR! ../../nan/nan.h:1415:46: error: expected primary-expression before ‘)’ token npm ERR! 1415 | Get(kCallbackIndex).As<v8::Function>(); npm ERR! | ^ npm ERR! ../../nan/nan.h:1431:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] npm ERR! 1431 | )); npm ERR! | ^ npm ERR! In file included from ../src/java.h:6, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:189:50: note: declared here npm ERR! 189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( npm ERR! | ^~~~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’ npm ERR! 108 | __attribute__((deprecated(message))) declarator npm ERR! | ^~~~~~~~~~ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h:1431:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] npm ERR! 1431 | )); npm ERR! | ^ npm ERR! In file included from ../src/java.h:6, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:189:50: note: declared here npm ERR! 189 | NODE_EXTERN v8::Local<v8::Value> MakeCallback( npm ERR! | ^~~~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node.h:108:42: note: in definition of macro ‘NODE_DEPRECATED’ npm ERR! 108 | __attribute__((deprecated(message))) declarator npm ERR! | ^~~~~~~~~~ npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’: npm ERR! ../../nan/nan.h:1488:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’ npm ERR! 1488 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3666 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate expects 3 arguments, 2 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3669 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate expects 3 arguments, 2 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’: npm ERR! ../../nan/nan.h:1494:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’ npm ERR! 1494 | New(persistentHandle)->Set(key, value); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3666 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate expects 3 arguments, 2 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3669 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate expects 3 arguments, 2 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’: npm ERR! ../../nan/nan.h:1500:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’ npm ERR! 1500 | New(persistentHandle)->Set(index, value); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3666 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate expects 3 arguments, 2 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3669 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate expects 3 arguments, 2 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’: npm ERR! ../../nan/nan.h:1506:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 1506 | New(persistentHandle)->Get(New(key).ToLocalChecked())); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’: npm ERR! ../../nan/nan.h:1512:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’ npm ERR! 1512 | return scope.Escape(New(persistentHandle)->Get(key)); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’: npm ERR! ../../nan/nan.h:1517:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’ npm ERR! 1517 | return scope.Escape(New(persistentHandle)->Get(index)); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: npm ERR! ../../nan/nan.h:1679:25: 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] npm ERR! 1679 | , (uv_after_work_cb)AsyncExecuteComplete npm ERR! | ^~~~~~~~~~~~~~~~~~~~ npm ERR! ../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’: npm ERR! ../../nan/nan.h:1929:7: error: cannot convert ‘Nan::imp::NativeGetter’ {aka ‘void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)’} to ‘v8::Local<v8::Name>’ npm ERR! 1929 | , getter_ npm ERR! | ^~~~~~~ npm ERR! | | npm ERR! | Nan::imp::NativeGetter {aka void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)} npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3763:43: note: initializing argument 2 of ‘v8::Maybe<bool> v8::Object::SetAccessor(v8::Local<v8::Context>, v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::MaybeLocal<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’ npm ERR! 3763 | Local<Context> context, Local<Name> name, npm ERR! | ~~~~~~~~~~~~^~~~ npm ERR! In file included from /usr/include/c++/9/cassert:44, npm ERR! from /home/parallels/.cache/node-gyp/14.5.0/include/node/node_object_wrap.h:26, npm ERR! from ../../nan/nan.h:27, npm ERR! from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’: npm ERR! ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ npm ERR! 24 | assert(persistent().IsNearDeath()); npm ERR! | ^~~~~~~~~~~ npm ERR! In file included from ../../nan/nan.h:2082, npm ERR! from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’: npm ERR! ../../nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’ npm ERR! 67 | persistent().MarkIndependent(); npm ERR! | ^~~~~~~~~~~~~~~ npm ERR! In file included from /usr/include/c++/9/cassert:44, npm ERR! from /home/parallels/.cache/node-gyp/14.5.0/include/node/node_object_wrap.h:26, npm ERR! from ../../nan/nan.h:27, npm ERR! from ../src/java.h:9, npm ERR! from ../src/java.cpp:1: npm ERR! ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’: npm ERR! ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ npm ERR! 124 | assert(wrap->handle_.IsNearDeath()); npm ERR! | ^~~~~~~~~~~ npm ERR! In file included from ../src/java.cpp:1: npm ERR! ../src/java.h: At global scope: npm ERR! ../src/java.h:19:24: error: ‘v8::Handle’ has not been declared npm ERR! 19 | static void Init(v8::Handle<v8::Object> target); npm ERR! | ^~~~~~ npm ERR! ../src/java.h:19:30: error: expected ‘,’ or ‘...’ before ‘<’ token npm ERR! 19 | static void Init(v8::Handle<v8::Object> target); npm ERR! | ^ npm ERR! In file included from ../src/java.cpp:7: npm ERR! ../src/javaObject.h:16:24: error: ‘v8::Handle’ has not been declared npm ERR! 16 | static void Init(v8::Handle<v8::Object> target); npm ERR! | ^~~~~~ npm ERR! ../src/javaObject.h:16:30: error: expected ‘,’ or ‘...’ before ‘<’ token npm ERR! 16 | static void Init(v8::Handle<v8::Object> target); npm ERR! | ^ npm ERR! ../src/java.cpp:38:32: error: variable or field ‘Init’ declared void npm ERR! 38 | /*static*/ void Java::Init(v8::Handle<v8::Object> target) { npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:38:32: error: ‘Handle’ is not a member of ‘v8’ npm ERR! ../src/java.cpp:38:49: error: expected primary-expression before ‘>’ token npm ERR! 38 | /*static*/ void Java::Init(v8::Handle<v8::Object> target) { npm ERR! | ^ npm ERR! ../src/java.cpp:38:51: error: ‘target’ was not declared in this scope npm ERR! 38 | /*static*/ void Java::Init(v8::Handle<v8::Object> target) { npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::New(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/java.cpp:79:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Array>::return_t)’ npm ERR! 79 | self->handle()->Set(Nan::New<v8::String>("classpath").ToLocalChecked(), Nan::New<v8::Array>()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3666 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate expects 3 arguments, 2 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3669 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../src/java.cpp:80:94: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Array>::return_t)’ npm ERR! 80 | self->handle()->Set(Nan::New<v8::String>("options").ToLocalChecked(), Nan::New<v8::Array>()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3666 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate expects 3 arguments, 2 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3669 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../src/java.cpp:81:135: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)’ npm ERR! 81 | self->handle()->Set(Nan::New<v8::String>("nativeBindingLocation").ToLocalChecked(), Nan::New<v8::String>("Not Set").ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3666 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate expects 3 arguments, 2 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3669 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../src/java.cpp:82:89: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Primitive>)’ npm ERR! 82 | self->handle()->Set(Nan::New<v8::String>("asyncOptions").ToLocalChecked(), Nan::Null()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3666 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3666:37: note: candidate expects 3 arguments, 2 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3669 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3669:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../src/java.cpp: In member function ‘void Java::configureAsync(v8::Local<v8::Value>&)’: npm ERR! ../src/java.cpp:122:110: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 122 | v8::Local<v8::Value> suffixValue = asyncOptionsObj->Get(Nan::New<v8::String>("syncSuffix").ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:124:58: error: no matching function for call to ‘v8::Value::ToString()’ npm ERR! 124 | v8::Local<v8::String> suffix = suffixValue->ToString(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ npm ERR! 2806 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp:125:38: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 125 | v8::String::Utf8Value utf8(suffix); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:130:90: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 130 | suffixValue = asyncOptionsObj->Get(Nan::New<v8::String>("asyncSuffix").ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:132:58: error: no matching function for call to ‘v8::Value::ToString()’ npm ERR! 132 | v8::Local<v8::String> suffix = suffixValue->ToString(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ npm ERR! 2806 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp:133:38: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 133 | v8::String::Utf8Value utf8(suffix); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:138:92: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 138 | suffixValue = asyncOptionsObj->Get(Nan::New<v8::String>("promiseSuffix").ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:140:58: error: no matching function for call to ‘v8::Value::ToString()’ npm ERR! 140 | v8::Local<v8::String> suffix = suffixValue->ToString(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ npm ERR! 2806 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp:141:38: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 141 | v8::String::Utf8Value utf8(suffix); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:143:109: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 143 | v8::Local<v8::Value> promisify = asyncOptionsObj->Get(Nan::New<v8::String>("promisify").ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp: In member function ‘v8::Local<v8::Value> Java::createJVM(JavaVM**, JNIEnv**)’: npm ERR! ../src/java.cpp:165:112: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 165 | v8::Local<v8::Value> asyncOptions = this->handle()->Get(Nan::New<v8::String>("asyncOptions").ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:174:111: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 174 | v8::Local<v8::Value> classPathValue = this->handle()->Get(Nan::New<v8::String>("classpath").ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:188:68: error: no matching function for call to ‘v8::Array::Get(uint32_t&)’ npm ERR! 188 | v8::Local<v8::Value> arrayItemValue = classPathArrayTemp->Get(i); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:192:64: error: no matching function for call to ‘v8::Value::ToString()’ npm ERR! 192 | v8::Local<v8::String> arrayItem = arrayItemValue->ToString(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ npm ERR! 2806 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp:193:49: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 193 | v8::String::Utf8Value arrayItemStr(arrayItem); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:198:132: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 198 | v8::Local<v8::Value> v8NativeBindingLocation = this->handle()->Get(Nan::New<v8::String>("nativeBindingLocation").ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:199:73: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>&)’ npm ERR! 199 | v8::String::Utf8Value nativeBindingLocationStr(v8NativeBindingLocation); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:203:107: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 203 | v8::Local<v8::Value> optionsValue = this->handle()->Get(Nan::New<v8::String>("options").ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:216:66: error: no matching function for call to ‘v8::Array::Get(uint32_t&)’ npm ERR! 216 | v8::Local<v8::Value> arrayItemValue = optionsArrayTemp->Get(i); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:221:64: error: no matching function for call to ‘v8::Value::ToString()’ npm ERR! 221 | v8::Local<v8::String> arrayItem = arrayItemValue->ToString(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ npm ERR! 2806 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp:222:49: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 222 | v8::String::Utf8Value arrayItemStr(arrayItem); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:255:112: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 255 | v8::Local<v8::Value> onJvmCreated = this->handle()->Get(Nan::New<v8::String>("onJvmCreated").ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:267:44: error: no matching function for call to ‘v8::Function::Call(v8::Local<v8::Object>&, int, NULL)’ npm ERR! 267 | onJvmCreatedFunc->Call(context, 0, NULL); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:4464:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’ npm ERR! 4464 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context, npm ERR! | ^~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:4464:43: note: candidate expects 4 arguments, 3 provided npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_GETTER_RETURN_TYPE Java::AccessorProhibitsOverwritingGetter(v8::Local<v8::String>, Nan::NAN_GETTER_ARGS_TYPE)’: npm ERR! ../src/java.cpp:276:41: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 276 | v8::String::Utf8Value nameStr(property); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_SETTER_RETURN_TYPE Java::AccessorProhibitsOverwritingSetter(v8::Local<v8::String>, v8::Local<v8::Value>, Nan::NAN_SETTER_ARGS_TYPE)’: npm ERR! ../src/java.cpp:299:41: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 299 | v8::String::Utf8Value nameStr(property); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newInstance(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/utils.h:112:32: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 112 | #define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className) npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp:346:3: note: in expansion of macro ‘ARGS_FRONT_CLASSNAME’ npm ERR! 346 | ARGS_FRONT_CLASSNAME(); npm ERR! | ^~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/utils.h:129:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:352:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 352 | EXCEPTION_CALL_CALLBACK(self, "Could not find class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:23: error: expected primary-expression before ‘>’ token npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^ npm ERR! ../src/java.cpp:352:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 352 | EXCEPTION_CALL_CALLBACK(self, "Could not find class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:25: error: ‘error’ was not declared in this scope; did you mean ‘herror’? npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^~~~~ npm ERR! ../src/java.cpp:352:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 352 | EXCEPTION_CALL_CALLBACK(self, "Could not find class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:352:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 352 | EXCEPTION_CALL_CALLBACK(self, "Could not find class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:23: error: expected primary-expression before ‘>’ token npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^ npm ERR! ../src/java.cpp:352:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 352 | EXCEPTION_CALL_CALLBACK(self, "Could not find class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:25: error: ‘argv’ was not declared in this scope npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^~~~ npm ERR! ../src/java.cpp:352:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 352 | EXCEPTION_CALL_CALLBACK(self, "Could not find class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:362:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 362 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:23: error: expected primary-expression before ‘>’ token npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^ npm ERR! ../src/java.cpp:362:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 362 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:25: error: ‘error’ was not declared in this scope; did you mean ‘herror’? npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^~~~~ npm ERR! ../src/java.cpp:362:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 362 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:362:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 362 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:23: error: expected primary-expression before ‘>’ token npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^ npm ERR! ../src/java.cpp:362:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 362 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:25: error: ‘argv’ was not declared in this scope npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^~~~ npm ERR! ../src/java.cpp:362:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 362 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newInstanceSync(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/utils.h:112:32: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 112 | #define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className) npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp:389:3: note: in expansion of macro ‘ARGS_FRONT_CLASSNAME’ npm ERR! 389 | ARGS_FRONT_CLASSNAME(); npm ERR! | ^~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newProxy(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/java.cpp:431:3: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 431 | ARGS_FRONT_STRING(interfaceName); npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::callStaticMethod(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/utils.h:112:32: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 112 | #define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className) npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp:542:3: note: in expansion of macro ‘ARGS_FRONT_CLASSNAME’ npm ERR! 542 | ARGS_FRONT_CLASSNAME(); npm ERR! | ^~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/java.cpp:543:3: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 543 | ARGS_FRONT_STRING(methodName); npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/utils.h:129:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:549:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 549 | EXCEPTION_CALL_CALLBACK(self, "Could not create class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:23: error: expected primary-expression before ‘>’ token npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^ npm ERR! ../src/java.cpp:549:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 549 | EXCEPTION_CALL_CALLBACK(self, "Could not create class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:25: error: ‘error’ was not declared in this scope; did you mean ‘herror’? npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^~~~~ npm ERR! ../src/java.cpp:549:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 549 | EXCEPTION_CALL_CALLBACK(self, "Could not create class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:549:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 549 | EXCEPTION_CALL_CALLBACK(self, "Could not create class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:23: error: expected primary-expression before ‘>’ token npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^ npm ERR! ../src/java.cpp:549:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 549 | EXCEPTION_CALL_CALLBACK(self, "Could not create class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:25: error: ‘argv’ was not declared in this scope npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^~~~ npm ERR! ../src/java.cpp:549:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 549 | EXCEPTION_CALL_CALLBACK(self, "Could not create class " << className.c_str()); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:559:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 559 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:23: error: expected primary-expression before ‘>’ token npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^ npm ERR! ../src/java.cpp:559:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 559 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:25: error: ‘error’ was not declared in this scope; did you mean ‘herror’? npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^~~~~ npm ERR! ../src/java.cpp:559:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 559 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:559:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 559 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:23: error: expected primary-expression before ‘>’ token npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^ npm ERR! ../src/java.cpp:559:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 559 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:25: error: ‘argv’ was not declared in this scope npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^~~~ npm ERR! ../src/java.cpp:559:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 559 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::callStaticMethodSync(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/utils.h:112:32: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 112 | #define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className) npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp:586:3: note: in expansion of macro ‘ARGS_FRONT_CLASSNAME’ npm ERR! 586 | ARGS_FRONT_CLASSNAME(); npm ERR! | ^~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/java.cpp:587:3: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 587 | ARGS_FRONT_STRING(methodName); npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::callMethodSync(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/java.cpp:633:3: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 633 | ARGS_FRONT_STRING(methodName); npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::callMethod(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/java.cpp:673:3: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 673 | ARGS_FRONT_STRING(methodName); npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/utils.h:129:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:684:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 684 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:23: error: expected primary-expression before ‘>’ token npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^ npm ERR! ../src/java.cpp:684:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 684 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:129:25: error: ‘error’ was not declared in this scope; did you mean ‘herror’? npm ERR! 129 | v8::Handle<v8::Value> error = javaExceptionToV8(JAVA, env, errStr.str()); \ npm ERR! | ^~~~~ npm ERR! ../src/java.cpp:684:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 684 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:684:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 684 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:23: error: expected primary-expression before ‘>’ token npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^ npm ERR! ../src/java.cpp:684:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 684 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/utils.h:130:25: error: ‘argv’ was not declared in this scope npm ERR! 130 | v8::Handle<v8::Value> argv[2]; \ npm ERR! | ^~~~ npm ERR! ../src/java.cpp:684:5: note: in expansion of macro ‘EXCEPTION_CALL_CALLBACK’ npm ERR! 684 | EXCEPTION_CALL_CALLBACK(self, msg); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::findClassSync(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/utils.h:112:32: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 112 | #define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className) npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp:710:3: note: in expansion of macro ‘ARGS_FRONT_CLASSNAME’ npm ERR! 710 | ARGS_FRONT_CLASSNAME(); npm ERR! | ^~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newArray(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/utils.h:112:32: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 112 | #define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className) npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp:739:3: note: in expansion of macro ‘ARGS_FRONT_CLASSNAME’ npm ERR! 739 | ARGS_FRONT_CLASSNAME(); npm ERR! | ^~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:754:50: error: no matching function for call to ‘v8::Array::Get(uint32_t&)’ npm ERR! 754 | v8::Local<v8::Value> item = arrayObj->Get(i); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:768:50: error: no matching function for call to ‘v8::Array::Get(uint32_t&)’ npm ERR! 768 | v8::Local<v8::Value> item = arrayObj->Get(i); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:782:50: error: no matching function for call to ‘v8::Array::Get(uint32_t&)’ npm ERR! 782 | v8::Local<v8::Value> item = arrayObj->Get(i); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:796:50: error: no matching function for call to ‘v8::Array::Get(uint32_t&)’ npm ERR! 796 | v8::Local<v8::Value> item = arrayObj->Get(i); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:810:50: error: no matching function for call to ‘v8::Array::Get(uint32_t&)’ npm ERR! 810 | v8::Local<v8::Value> item = arrayObj->Get(i); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:824:50: error: no matching function for call to ‘v8::Array::Get(uint32_t&)’ npm ERR! 824 | v8::Local<v8::Value> item = arrayObj->Get(i); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:848:50: error: no matching function for call to ‘v8::Array::Get(uint32_t&)’ npm ERR! 848 | v8::Local<v8::Value> item = arrayObj->Get(i); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:853:42: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>&)’ npm ERR! 853 | v8::String::Utf8Value valStr(item); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newByte(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/java.cpp:883:49: error: no matching function for call to ‘v8::Value::ToNumber()’ npm ERR! 883 | v8::Local<v8::Number> val = info[0]->ToNumber(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate: ‘v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const’ npm ERR! 2801 | V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newShort(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/java.cpp:913:49: error: no matching function for call to ‘v8::Value::ToNumber()’ npm ERR! 913 | v8::Local<v8::Number> val = info[0]->ToNumber(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate: ‘v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const’ npm ERR! 2801 | V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newLong(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/java.cpp:942:49: error: no matching function for call to ‘v8::Value::ToNumber()’ npm ERR! 942 | v8::Local<v8::Number> val = info[0]->ToNumber(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate: ‘v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const’ npm ERR! 2801 | V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newChar(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/java.cpp:969:51: error: no matching function for call to ‘v8::Value::ToNumber()’ npm ERR! 969 | v8::Local<v8::Number> val = info[0]->ToNumber(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate: ‘v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const’ npm ERR! 2801 | V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp:972:51: error: no matching function for call to ‘v8::Value::ToString()’ npm ERR! 972 | v8::Local<v8::String> val = info[0]->ToString(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ npm ERR! 2806 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2806:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp:976:64: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 976 | std::string strVal = std::string(*v8::String::Utf8Value(val)); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newFloat(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/java.cpp:1005:49: error: no matching function for call to ‘v8::Value::ToNumber()’ npm ERR! 1005 | v8::Local<v8::Number> val = info[0]->ToNumber(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate: ‘v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const’ npm ERR! 2801 | V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newDouble(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/java.cpp:1030:49: error: no matching function for call to ‘v8::Value::ToNumber()’ npm ERR! 1030 | v8::Local<v8::Number> val = info[0]->ToNumber(); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate: ‘v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const’ npm ERR! 2801 | V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber( npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:2801:44: note: candidate expects 1 argument, 0 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::getStaticFieldValue(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/utils.h:112:32: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 112 | #define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className) npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp:1053:3: note: in expansion of macro ‘ARGS_FRONT_CLASSNAME’ npm ERR! 1053 | ARGS_FRONT_CLASSNAME(); npm ERR! | ^~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/java.cpp:1054:3: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 1054 | ARGS_FRONT_STRING(fieldName); npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::setStaticFieldValue(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/utils.h:112:32: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 112 | #define ARGS_FRONT_CLASSNAME() ARGS_FRONT_STRING(className) npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! ../src/java.cpp:1100:3: note: in expansion of macro ‘ARGS_FRONT_CLASSNAME’ npm ERR! 1100 | ARGS_FRONT_CLASSNAME(); npm ERR! | ^~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/java.cpp:1101:3: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 1101 | ARGS_FRONT_STRING(fieldName); npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! In file included from ../src/methodCallBaton.h:5, npm ERR! from ../src/javaObject.h:10, npm ERR! from ../src/java.cpp:7: npm ERR! ../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::instanceOf(Nan::NAN_METHOD_ARGS_TYPE)’: npm ERR! ../src/utils.h:108:58: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’ npm ERR! 108 | v8::String::Utf8Value _##ARGNAME##_val(_##ARGNAME##_obj); \ npm ERR! | ^ npm ERR! ../src/java.cpp:1161:3: note: in expansion of macro ‘ARGS_FRONT_STRING’ npm ERR! 1161 | ARGS_FRONT_STRING(className); npm ERR! | ^~~~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp: In function ‘void EIO_AfterCallJs(uv_work_t*)’: npm ERR! ../src/java.cpp:1215:7: error: ‘Handle’ is not a member of ‘v8’ npm ERR! 1215 | v8::Handle<v8::Value>* argv; npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:1215:23: error: expected primary-expression before ‘>’ token npm ERR! 1215 | v8::Handle<v8::Value>* argv; npm ERR! | ^ npm ERR! ../src/java.cpp:1215:26: error: ‘argv’ was not declared in this scope npm ERR! 1215 | v8::Handle<v8::Value>* argv; npm ERR! | ^~~~ npm ERR! ../src/java.cpp:1222:138: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’ npm ERR! 1222 | v8::Local<v8::Value> fnObj = dynamicProxyDataFunctions->Get(Nan::New<v8::String>(dynamicProxyData->methodName.c_str()).ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:1244:18: error: ‘Handle’ in namespace ‘v8’ does not name a template type npm ERR! 1244 | argv = new v8::Handle<v8::Value>[argc]; npm ERR! | ^~~~~~ npm ERR! ../src/java.cpp:1244:34: error: expected primary-expression before ‘>’ token npm ERR! 1244 | argv = new v8::Handle<v8::Value>[argc]; npm ERR! | ^ npm ERR! ../src/java.cpp: In lambda function: npm ERR! ../src/java.cpp:1244:41: error: expected ‘{’ before ‘;’ token npm ERR! 1244 | argv = new v8::Handle<v8::Value>[argc]; npm ERR! | ^ npm ERR! ../src/java.cpp: In function ‘void EIO_AfterCallJs(uv_work_t*)’: npm ERR! ../src/java.cpp:1246:28: error: no matching function for call to ‘v8::Array::Get(int&)’ npm ERR! 1246 | argv[i] = v8Args->Get(i); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 3713 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3713:43: note: candidate expects 2 arguments, 1 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’ npm ERR! 3716 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, npm ERR! | ^~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3716:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp:1249:16: error: no matching function for call to ‘v8::TryCatch::TryCatch()’ npm ERR! 1249 | v8::TryCatch tryCatch; npm ERR! | ^~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:10040:12: note: candidate: ‘v8::TryCatch::TryCatch(v8::Isolate*)’ npm ERR! 10040 | explicit TryCatch(Isolate* isolate); npm ERR! | ^~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:10040:12: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp:1251:12: error: type ‘<type error>’ argument given to ‘delete’, expected pointer npm ERR! 1251 | delete[] argv; npm ERR! | ^~~~ npm ERR! ../src/java.cpp:1254:58: error: no matching function for call to ‘v8::TryCatch::StackTrace()’ npm ERR! 1254 | v8::String::Utf8Value stackTrace(tryCatch.StackTrace()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:10097:50: note: candidate: ‘static v8::MaybeLocal<v8::Value> v8::TryCatch::StackTrace(v8::Local<v8::Context>, v8::Local<v8::Value>)’ npm ERR! 10097 | V8_WARN_UNUSED_RESULT static MaybeLocal<Value> StackTrace( npm ERR! | ^~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:10097:50: note: candidate expects 2 arguments, 0 provided npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:10105:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::TryCatch::StackTrace(v8::Local<v8::Context>) const’ npm ERR! 10105 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> StackTrace( npm ERR! | ^~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:10105:43: note: candidate expects 1 argument, 0 provided npm ERR! ../src/java.cpp:1258:59: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ npm ERR! 1258 | v8::String::Utf8Value exception(tryCatch.Exception()); npm ERR! | ^ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ npm ERR! 3283 | Utf8Value(Isolate* isolate, Local<v8::Value> obj); npm ERR! | ^~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/java.cpp: In function ‘_jobject* Java_node_NodeDynamicProxyClass_callJs(JNIEnv*, jobject, jlong, jobject, jobjectArray)’: npm ERR! ../src/java.cpp:1321:73: 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] npm ERR! 1321 | uv_queue_work(uv_default_loop(), req, EIO_CallJs, (uv_after_work_cb)EIO_AfterCallJs); npm ERR! | ^~~~~~~~~~~~~~~ npm ERR! In file included from ../src/java.h:5, npm ERR! from ../src/java.cpp:1: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/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>&)]’: npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/node_object_wrap.h:85:78: required from here npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:10830: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] npm ERR! 10830 | reinterpret_cast<Callback>(callback), type); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! /home/parallels/.cache/node-gyp/14.5.0/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>&)]’: npm ERR! ../../nan/nan_object_wrap.h:66:61: required from here npm ERR! /home/parallels/.cache/node-gyp/14.5.0/include/node/v8.h:10830: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] npm ERR! make: *** [nodejavabridge_bindings.target.mk:122: Release/obj.target/nodejavabridge_bindings/src/java.o] Fehler 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error:
make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:314:20)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
npm ERR! gyp ERR! System Linux 5.4.0-72-generic
npm ERR! gyp ERR! command "/home/parallels/.nvm/versions/node/v14.5.0/bin/node" "/home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/parallels/.nvm/versions/node/v14.5.0/lib/node_modules/opennlp/node_modules/java
npm ERR! gyp ERR! node -v v14.5.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /home/parallels/.npm/_logs/2021-04-26T13_51_58_364Z-debug.log
`