You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm getting a compilation error I can't get around while installing from npm.
Any help would be much appreciated
> [email protected] install /home/gandalf/access-watch/node_modules/appmetrics
> node extract_all_binaries.js || node-gyp rebuild
Mon, 11 Oct 2021 13:58:33 GMT
********************************************************************************
You are installing the Node Application Metrics monitoring and profiling module.
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
********************************************************************************
Unsupported version v14.18.0. Trying rebuild.
Falling back to node-gyp rebuild
make: Entering directory '/home/gandalf/access-watch/node_modules/appmetrics/build'
ACTION binding_gyp_appmetrics_target_Set_appmetrics_reported_version_build_level Release/obj.target/appmetrics/geni/appmetrics.cpp
infile: ./src/appmetrics.cpp
outfile: /home/gandalf/access-watch/node_modules/appmetrics/build/Release/obj.target/appmetrics/geni/appmetrics.cpp
Replacing '"99\.99\.99\.29991231"' with '"4.0.1.202110111358"'
CXX(target) Release/obj.target/appmetrics/geni/appmetrics.o
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:202,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
../../nan/nan_converters_43_inl.h:18:51: error: no matching function for call to ‘v8::Value::ToBoolean(v8::Local<v8::Context>)’
val->To ## TYPE(isolate->GetCurrentContext()) \
^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
X(Boolean)
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2848:18: note: candidate: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const
Local<Boolean> ToBoolean(Isolate* isolate) const;
^~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2848:18: note: no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
In file included from ../../nan/nan_converters.h:67:0,
from ../../nan/nan.h:202,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
../../nan/nan_converters_43_inl.h:37:57: error: no matching function for call to ‘v8::Value::BooleanValue(v8::Local<v8::Context>)’
return val->NAME ## Value(isolate->GetCurrentContext()); \
^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
X(bool, Boolean)
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2858:8: note: candidate: bool v8::Value::BooleanValue(v8::Isolate*) const
bool BooleanValue(Isolate* isolate) const;
^~~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2858:8: note: no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:203,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
, obj));
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:4445:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
static MaybeLocal<Function> New(
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:4445:31: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:203,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
return v8::StringObject::New(value).As<v8::StringObject>();
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:5854:23: note: candidate: static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)
static Local<Value> New(Isolate* isolate, Local<String> value);
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:5854:23: note: candidate expects 2 arguments, 1 provided
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:203,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:
../../nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
return v8::StringObject::New(value).As<v8::StringObject>();
^
../../nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token
return v8::StringObject::New(value).As<v8::StringObject>();
^
In file included from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:0:
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../../nan/nan.h:1034:53: error: no matching function for call to ‘v8::Value::ToString()’
v8::Local<v8::String> string = from->ToString();
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
In file included from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:0:
../../nan/nan.h:1044:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’
length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3037:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3037:7: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
In file included from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1818:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, const v8::Local<v8::Value>&)’
New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
In file included from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1824:42: error: no matching function for call to ‘v8::Object::Set(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’
New(persistentHandle)->Set(key, value);
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
In file included from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1830:44: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local<v8::Value>&)’
New(persistentHandle)->Set(index, value);
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
In file included from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1836:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
New(persistentHandle)->Get(New(key).ToLocalChecked()));
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
In file included from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
../../nan/nan.h:1842:55: error: no matching function for call to ‘v8::Object::Get(const v8::Local<v8::String>&)’
return scope.Escape(New(persistentHandle)->Get(key));
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
In file included from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../../nan/nan.h:1847:57: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’
return scope.Escape(New(persistentHandle)->Get(index));
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/7/cassert:44:0,
from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:53,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:
../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
assert(persistent().IsNearDeath());
^
In file included from ../../nan/nan.h:2657:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:
../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../../nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
persistent().MarkIndependent();
^~~~~~~~~~~~~~~
In file included from /usr/include/c++/7/cassert:44:0,
from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:53,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
assert(wrap->handle_.IsNearDeath());
^
In file included from ../src/plugins/node/prof/watchdog.h:21:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:25:
../src/plugins/node/prof/compat-inl.h: In static member function ‘static void compat::CpuProfiler::StartCpuProfiling(v8::Isolate*, v8::Local<v8::String>)’:
../src/plugins/node/prof/compat-inl.h:302:19: error: ‘class v8::Isolate’ has no member named ‘GetCpuProfiler’; did you mean ‘GetHeapProfiler’?
return isolate->GetCpuProfiler()->StartProfiling(title, record_samples);
^~~~~~~~~~~~~~
GetHeapProfiler
../src/plugins/node/prof/compat-inl.h:302:73: error: return-statement with a value, in function returning 'void' [-fpermissive]
return isolate->GetCpuProfiler()->StartProfiling(title, record_samples);
^
../src/plugins/node/prof/compat-inl.h: In static member function ‘static const v8::CpuProfile* compat::CpuProfiler::StopCpuProfiling(v8::Isolate*, v8::Local<v8::String>)’:
../src/plugins/node/prof/compat-inl.h:312:19: error: ‘class v8::Isolate’ has no member named ‘GetCpuProfiler’; did you mean ‘GetHeapProfiler’?
return isolate->GetCpuProfiler()->StopProfiling(title);
^~~~~~~~~~~~~~
GetHeapProfiler
../src/plugins/node/prof/compat-inl.h: In static member function ‘static v8::Local<v8::String> compat::String::NewFromUtf8(v8::Isolate*, const char*, compat::String::NewStringType, int)’:
../src/plugins/node/prof/compat-inl.h:343:46: error: ‘NewStringType’ in ‘class v8::String’ does not name a type
isolate, data, static_cast<v8::String::NewStringType>(type), length);
^~~~~~~~~~~~~
In file included from Release/obj.target/appmetrics/geni/appmetrics.cpp:25:0:
../src/plugins/node/prof/watchdog.h: In function ‘void watchdog::Initialize(v8::Isolate*, v8::Local<v8::Object>)’:
../src/plugins/node/prof/watchdog.h:301:55: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
watchdog_activation_count_template->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘std::__cxx11::string toStdString(v8::Local<v8::String>)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:90:21: error: no matching function for call to ‘v8::String::WriteUtf8(char*&)’
s->WriteUtf8(buf);
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3037:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3037:7: note: candidate expects 5 arguments, 1 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘std::__cxx11::string* getModuleDir(v8::Local<v8::Object>)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:187:114: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
(module->Get(Nan::New<String>(asciiString("filename")).ToLocalChecked())->ToString()));
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘v8::Local<v8::Object> getProcessObject()’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:192:109: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
Global()->Get(Nan::New<String>(asciiString("process")).ToLocalChecked())->ToObject();
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘std::__cxx11::string* findApplicationDir()’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:196:115: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
rocessObject()->Get(Nan::New<String>(asciiString("mainModule")).ToLocalChecked());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:198:50: error: no matching function for call to ‘v8::Value::ToObject()’
return getModuleDir(mainModule->ToObject());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2822:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2822:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE setOption(Nan::NAN_METHOD_ARGS_TYPE)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:333:43: error: no matching function for call to ‘v8::Value::ToString()’
Local<String> value = info[0]->ToString();
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:334:46: error: no matching function for call to ‘v8::Value::ToString()’
Local<String> value1 = info[1]->ToString();
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE getOption(Nan::NAN_METHOD_ARGS_TYPE)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:344:43: error: no matching function for call to ‘v8::Value::ToString()’
Local<String> value = info[0]->ToString();
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:347:56: error: conversion from ‘v8::MaybeLocal<v8::String>’ to non-scalar type ‘v8::Local<v8::String>’ requested
v8::Local<v8::String> v8str = v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), property.c_str());
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE spath(Nan::NAN_METHOD_ARGS_TYPE)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:383:43: error: no matching function for call to ‘v8::Value::ToString()’
Local<String> value = info[0]->ToString();
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘void emitMessage(uv_async_t*, int)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:435:44: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
listener->callback->Call(argc, argv);
^
In file included from Release/obj.target/appmetrics/geni/appmetrics.cpp:22:0:
../../nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Local<v8::Value> argv[]) const {
^~~~
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE nativeEmit(Nan::NAN_METHOD_ARGS_TYPE)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:495:49: error: no matching function for call to ‘v8::Value::ToString()’
String::Utf8Value str(info[0]->ToString());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:505:49: error: no matching function for call to ‘v8::Value::ToString()’
String::Utf8Value str(info[1]->ToString());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE sendControlCommand(Nan::NAN_METHOD_ARGS_TYPE)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:531:54: error: no matching function for call to ‘v8::Value::ToString()’
String::Utf8Value topicArg(info[0]->ToString());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:532:56: error: no matching function for call to ‘v8::Value::ToString()’
String::Utf8Value commandArg(info[1]->ToString());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘void lrtime(const Nan::FunctionCallbackInfo<v8::Value>&)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:604:55: error: no matching function for call to ‘v8::Array::Set(int, v8::Local<v8::Number>)’
result->Set(0, v8::Number::New(isolate, ts.tv_sec));
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:605:69: error: no matching function for call to ‘v8::Array::Set(int, v8::Local<v8::Integer>)’
result->Set(1, v8::Integer::NewFromUnsigned(isolate, ts.tv_nsec));
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3670:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3673:37: note: candidate: v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘bool isGlobalAgent(v8::Local<v8::Object>)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:660:95: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>)’
e> parent = module->Get(Nan::New<String>(asciiString("parent")).ToLocalChecked());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:662:50: error: no matching function for call to ‘v8::Value::ToObject()’
Local<Value> filename = parent->ToObject()->Get(Nan::New<String>(asciiString("filename")).ToLocalChecked());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2822:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2822:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:663:97: error: no matching function for call to ‘v8::Value::ToString()’
->IsString() && isAppMetricsFile("index.js", toStdString(filename->ToString()))) {
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:664:57: error: no matching function for call to ‘v8::Value::ToObject()’
Local<Value> grandparent = parent->ToObject()->Get(Nan::New<String>(asciiString("parent")).ToLocalChecked());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2822:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2822:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:665:61: error: no matching function for call to ‘v8::Value::ToObject()’
Local<Value> gpfilename = grandparent->ToObject()->Get(Nan::New<String>(asciiString("filename")).ToLocalChecked());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2822:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2822:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:666:108: error: no matching function for call to ‘v8::Value::ToString()’
tring() && isAppMetricsFile("launcher.js", toStdString(gpfilename->ToString()))) {
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘bool isGlobalAgentAlreadyLoaded(v8::Local<v8::Object>)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:680:53: error: no matching function for call to ‘v8::Object::GetOwnPropertyNames()’
Local<Array> props = cache->GetOwnPropertyNames();
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3837:43: note: candidate: v8::MaybeLocal<v8::Array> v8::Object::GetOwnPropertyNames(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Array> GetOwnPropertyNames(
^~~~~~~~~~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3837:43: note: candidate expects 1 argument, 0 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3846:43: note: candidate: v8::MaybeLocal<v8::Array> v8::Object::GetOwnPropertyNames(v8::Local<v8::Context>, v8::PropertyFilter, v8::KeyConversionMode)
V8_WARN_UNUSED_RESULT MaybeLocal<Array> GetOwnPropertyNames(
^~~~~~~~~~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3846:43: note: candidate expects 3 arguments, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:683:46: error: no matching function for call to ‘v8::Array::Get(uint32_t&)’
Local<Value> entry = props->Get(i);
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
^~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:684:98: error: no matching function for call to ‘v8::Value::ToString()’
->IsString() && isAppMetricsFile("launcher.js", toStdString(entry->ToString()))) {
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: In function ‘void init(v8::Local<v8::Object>, v8::Local<v8::Object>)’:
Release/obj.target/appmetrics/geni/appmetrics.cpp:717:130: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Option")).ToLocalChecked(), Nan::New<FunctionTemplate>(getOption)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:718:130: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
Option")).ToLocalChecked(), Nan::New<FunctionTemplate>(setOption)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:719:122: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
ing("start")).ToLocalChecked(), Nan::New<FunctionTemplate>(start)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:720:122: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
ing("spath")).ToLocalChecked(), Nan::New<FunctionTemplate>(spath)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:721:120: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
tring("stop")).ToLocalChecked(), Nan::New<FunctionTemplate>(stop)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:722:136: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
ect")).ToLocalChecked(), Nan::New<FunctionTemplate>(localConnect)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:723:132: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
eEmit")).ToLocalChecked(), Nan::New<FunctionTemplate>(nativeEmit)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:724:148: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
.ToLocalChecked(), Nan::New<FunctionTemplate>(sendControlCommand)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:726:156: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
ocalChecked(), Nan::New<FunctionTemplate>(setHeadlessZipFunction)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:729:111: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
g>("lrtime").ToLocalChecked(), Nan::New<FunctionTemplate>(lrtime)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp:732:148: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
.ToLocalChecked(), Nan::New<FunctionTemplate>(getObjectHistogram)->GetFunction());
^
In file included from /home/gandalf/.cache/node-gyp/14.18.0/include/node/node.h:67:0,
from Release/obj.target/appmetrics/geni/appmetrics.cpp:21:
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/home/gandalf/.cache/node-gyp/14.18.0/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
Release/obj.target/appmetrics/geni/appmetrics.cpp: At global scope:
Release/obj.target/appmetrics/geni/appmetrics.cpp:641:13: warning: ‘bool isAppMetricsFile(std::__cxx11::string, std::__cxx11::string)’ defined but not used [-Wunused-function]
static bool isAppMetricsFile(std::string expected, std::string potentialMatch) {
^~~~~~~~~~~~~~~~
Makefile:282: recipe for target 'Release/obj.target/appmetrics/geni/appmetrics.o' failed
make: *** [Release/obj.target/appmetrics/geni/appmetrics.o] Error 1
make: Leaving directory '/home/gandalf/access-watch/node_modules/appmetrics/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
gyp ERR! System Linux 4.15.0-66-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/gandalf/access-watch/node_modules/appmetrics
gyp ERR! node -v v14.18.0
gyp ERR! node-gyp -v v8.2.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node extract_all_binaries.js || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/gandalf/.npm/_logs/2021-10-11T13_58_41_918Z-debug.log
Thanks!
The text was updated successfully, but these errors were encountered:
It appears that the authors of this system aren't maintaining it anymore; it doesn't compile reliably in node 14 and from what I can tell doesn't compile at all in node 16, which is the current LTS, and there haven't been any commits since June 2020.
Hi, I'm getting a compilation error I can't get around while installing from npm.
Any help would be much appreciated
Thanks!
The text was updated successfully, but these errors were encountered: