Install Failed [ iNotify v1.4.4 | Node v13.5.0 | Node-Gyp v6.1.0 ]
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp, linux, nodejs
- Domain
- build-system, operating-systems
Research direction
Reproduce the reported npm install failure with Node 13.5.0, then inspect src/bindings.h, src/bindings.cc, and src/node_inotify.h alongside the reported Node and V8 errors. Done means the inotify package builds and installs successfully on the affected setup, with relevant tests or installation checks passing.
Written by the indexing model from the issue text.
Description
Tried to use npm install inotify
inotify@1.4.4
node@13.5.0
node-gyp@6.1.0
In file included from ../src/node_inotify.h:14,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
In file included from ../src/bindings.cc:2:
../src/bindings.h: At global scope:
../src/bindings.h:10:27: error: ‘Handle’ has not been declared
static void Initialize(Handle<Object> target);
^~~~~~
../src/bindings.h:10:33: error: expected ‘,’ or ‘...’ before ‘<’ token
static void Initialize(Handle<Object> target);
^
../src/bindings.cc:11:27: error: variable or field ‘Initialize’ declared void
void Inotify::Initialize(Handle<Object> exports) {
^~~~~~
../src/bindings.cc:11:27: error: ‘Handle’ was not declared in this scope
../src/bindings.cc:11:27: note: suggested alternative: ‘rand_r’
void Inotify::Initialize(Handle<Object> exports) {
^~~~~~
rand_r
../src/bindings.cc:11:40: error: expected primary-expression before ‘>’ token
void Inotify::Initialize(Handle<Object> exports) {
^
../src/bindings.cc:11:42: error: ‘exports’ was not declared in this scope
void Inotify::Initialize(Handle<Object> exports) {
^~~~~~~
../src/bindings.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeInotify::Inotify::AddWatch(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bindings.cc:146:43: error: no matching function for call to ‘v8::Value::ToObject()’
Local<Object> args_ = info[0]->ToObject();
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:2754:44: note: candidate expects 1 argument, 0 provided
../src/bindings.cc:149:27: error: no matching function for call to ‘v8::Object::Has(v8::Local<v8::String>&)’
if (!args_->Has(path_sym)) {
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3629:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, v8::Local<v8::Value>)’
V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
^~~
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3629:37: note: candidate expects 2 arguments, 1 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3635:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, uint32_t)’
V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
^~~
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3635:37: note: candidate expects 2 arguments, 1 provided
../src/bindings.cc:154:31: error: no matching function for call to ‘v8::Object::Has(v8::Local<v8::String>&)’
if (!args_->Has(callback_sym) ||
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3629:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, v8::Local<v8::Value>)’
V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
^~~
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3629:37: note: candidate expects 2 arguments, 1 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3635:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, uint32_t)’
V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
^~~
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3635:37: note: candidate expects 2 arguments, 1 provided
../src/bindings.cc:155:28: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>&)’
!args_->Get(callback_sym)->IsFunction()) {
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594:43: note: candidate expects 2 arguments, 1 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597:43: note: candidate expects 2 arguments, 1 provided
../src/bindings.cc:160:32: error: no matching function for call to ‘v8::Object::Has(v8::Local<v8::String>&)’
if (!args_->Has(watch_for_sym)) {
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3629:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, v8::Local<v8::Value>)’
V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
^~~
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3629:37: note: candidate expects 2 arguments, 1 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3635:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, uint32_t)’
V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
^~~
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3635:37: note: candidate expects 2 arguments, 1 provided
../src/bindings.cc:163:33: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>&)’
if (!args_->Get(watch_for_sym)->IsInt32()) {
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594:43: note: candidate expects 2 arguments, 1 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597:43: note: candidate expects 2 arguments, 1 provided
../src/bindings.cc:166:36: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>&)’
mask |= args_->Get(watch_for_sym)->Int32Value();
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594:43: note: candidate expects 2 arguments, 1 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597:43: note: candidate expects 2 arguments, 1 provided
../src/bindings.cc:172:45: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>&)’
String::Utf8Value path(args_->Get(path_sym));
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594:43: note: candidate expects 2 arguments, 1 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597:43: note: candidate expects 2 arguments, 1 provided
../src/bindings.cc:182:61: error: no matching function for call to ‘v8::Object::Get(v8::Local<v8::String>&)’
inotify->handle()->Set(descriptor, args_->Get(callback_sym));
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594:43: note: candidate expects 2 arguments, 1 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597:43: note: candidate expects 2 arguments, 1 provided
../src/bindings.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeInotify::Inotify::RemoveWatch(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bindings.cc:195:31: error: no matching function for call to ‘v8::Value::Int32Value()’
watch = info[0]->Int32Value();
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:2778:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:2778:40: note: candidate expects 1 argument, 0 provided
../src/bindings.cc: In static member function ‘static void NodeInotify::Inotify::Callback(uv_poll_t*, int, int)’:
../src/bindings.cc:262:86: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
obj->Set(Nan::New<String>("watch").ToLocalChecked(), Nan::New<Integer>(event->wd));
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3547: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3547:37: note: candidate expects 3 arguments, 2 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3550: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3550:37: note: candidate expects 3 arguments, 2 provided
../src/bindings.cc:263:87: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
obj->Set(Nan::New<String>("mask").ToLocalChecked(), Nan::New<Integer>(event->mask));
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3547: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3547:37: note: candidate expects 3 arguments, 2 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3550: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3550:37: note: candidate expects 3 arguments, 2 provided
../src/bindings.cc:264:91: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
obj->Set(Nan::New<String>("cookie").ToLocalChecked(), Nan::New<Integer>(event->cookie));
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3547: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3547:37: note: candidate expects 3 arguments, 2 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3550: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3550:37: note: candidate expects 3 arguments, 2 provided
../src/bindings.cc:267:104: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)’
obj->Set(Nan::New<String>("name").ToLocalChecked(), Nan::New<String>(event->name).ToLocalChecked());
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3547: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3547:37: note: candidate expects 3 arguments, 2 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3550: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3550:37: note: candidate expects 3 arguments, 2 provided
../src/bindings.cc:275:66: error: no matching function for call to ‘v8::Object::Get(Nan::imp::IntegerFactory<v8::Integer>::return_t)’
Local<Value> value = handle->Get(Nan::New<Integer>(event->wd));
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3594:43: note: candidate expects 2 arguments, 1 provided
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597: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/developer/.cache/node-gyp/13.5.0/include/node/v8.h:3597:43: note: candidate expects 2 arguments, 1 provided
../src/bindings.cc:279:34: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
callback.Call(handle, 1, argv);
^
In file included from ../src/node_inotify.h:14,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
../../nan/nan.h:1720:3: note: declared here
Call(v8::Local<v8::Object> target
^~~~
../src/bindings.cc:285:34: error: no matching function for call to ‘v8::Value::ToString()’
handle->Delete(wd->ToString());
^
In file included from /home/developer/.cache/node-gyp/13.5.0/include/node/node.h:63,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:2750:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:2750:44: note: candidate expects 1 argument, 0 provided
/home/developer/.cache/node-gyp/13.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>&)]’:
/home/developer/.cache/node-gyp/13.5.0/include/node/node_object_wrap.h:84:78: required from here
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:10400:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
reinterpret_cast<Callback>(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/developer/.cache/node-gyp/13.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>&)]’:
../../nan/nan_object_wrap.h:65:61: required from here
/home/developer/.cache/node-gyp/13.5.0/include/node/v8.h:10400:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
make: *** [inotify.target.mk:110: Release/obj.target/inotify/src/bindings.o] Error 1
make: Leaving directory '/home/developer/Projects/bdc/node_modules/inotify/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/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:305:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.19.0-8-amd64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/developer/Projects/bdc/node_modules/inotify
gyp ERR! node -v v13.5.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! inotify@1.4.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the inotify@1.4.4 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/developer/.npm/_logs/2020-04-23T22_35_50_073Z-debug.log
- Dominant language
- C++
- Stars
- 242
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from c4milo/node-inotify
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
c4milo/node-inotify#80 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
c4milo/node-inotify#79 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
c4milo/node-inotify#78 · 4 comments · 5 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
c4milo/node-inotify#74 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
c4milo/node-inotify#54 · 1 reaction ·
All issues in c4milo/node-inotify
Similar issues
-
bug build
Difficulty 1/5 Under an hour Newbie friendliness 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Openfuzz
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ClickHouse/ClickHouse#122114 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
module/agent platform/macos type/bug/regression
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement PyCDE
Difficulty 2/5 1-3 hours Newbie friendliness 78/100