Hi,guys.
I tried install the Botium in my O.S Ubuntu, and displays this error below.
Please, Can help me?
THank you so much
npm ERR! code 1
npm ERR! path /home/karina/botium/node_modules/inotify
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entrando no diretório ‘/home/karina/botium/node_modules/inotify/build’
npm ERR! CXX(target) Release/obj.target/inotify/src/bindings.o
npm ERR! make: Saindo do diretório ‘/home/karina/botium/node_modules/inotify/build’
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@12.22.9 | linux | x64
‘/home/karina/botium/node_modules/inotify/build/config.gypi’,
npm ERR! gyp info spawn args ‘-I’,
npm ERR! gyp info spawn args ‘-Dnode_lib_file=/usr/include/nodejs/<(target_arch)/node.lib’,
npm ERR! gyp info spawn args ‘-Dmodule_root_dir=/home/karina/botium/node_modules/inotify’,
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 …/src/bindings.cc:2:
npm ERR! …/src/bindings.h:10:48: error: ‘Handle’ has not been declared
npm ERR! 10 | static void Initialize(Handle target);
npm ERR! | ^~~~~~
npm ERR! …/src/bindings.h:10:54: error: expected ‘,’ or ‘…’ before ‘<’ token
npm ERR! 10 | static void Initialize(Handle target);
npm ERR! | ^
npm ERR! …/src/bindings.cc:11:14: error: variable or field ‘Initialize’ declared void
npm ERR! 11 | void Inotify::Initialize(Handle exports) {
npm ERR! | ^~~~~~~
npm ERR! …/src/bindings.cc:11:34: error: ‘Handle’ was not declared in this scope
npm ERR! 11 | void Inotify::Initialize(Handle exports) {
npm ERR! | ^~~~~~
npm ERR! …/src/bindings.cc:11:47: error: expected primary-expression before ‘>’ token
npm ERR! 11 | void Inotify::Initialize(Handle exports) {
npm ERR! | ^
npm ERR! …/src/bindings.cc:11:49: error: ‘exports’ was not declared in this scope
npm ERR! 11 | void Inotify::Initialize(Handle exports) {
npm ERR! | ^~~~~~~
npm ERR! …/src/bindings.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeInotify::Inotify::AddWatch(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! …/src/bindings.cc:146:56: error: no matching function for call to ‘v8::Value::ToObject()’
npm ERR! 146 | Local args_ = info[0]->ToObject();
npm ERR! | ~~~~~~~~^~
npm ERR! In file included from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2672:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const’
npm ERR! 2672 | V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2672:44: note: candidate expects 1 argument, 0 provided
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2686:31: note: candidate: ‘v8::Localv8::Object v8::Value::ToObject(v8::Isolate*) const’
npm ERR! 2686 | Local ToObject(Isolate* isolate) const);
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2686:31: note: candidate expects 1 argument, 0 provided
npm ERR! 2686 | Local ToObject(Isolate* isolate) const);
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! …/src/bindings.cc:149:32: error: no matching function for call to ‘v8::Object::Has(v8::Localv8::String&)’
npm ERR! 149 | if (!args_->Has(path_sym)) {
npm ERR! | ~^
npm ERR! In file included from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3590:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Localv8::Context, v8::Localv8::Value)’
npm ERR! 3590 | V8_WARN_UNUSED_RESULT Maybe Has(Local context,
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3590:37: note: candidate expects 2 arguments, 1 provided
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3596:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Localv8::Context, uint32_t)’
npm ERR! 3596 | V8_WARN_UNUSED_RESULT Maybe Has(Local context, uint32_t index);
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3596:37: note: candidate expects 2 arguments, 1 provided
npm ERR! …/src/bindings.cc:154:32: error: no matching function for call to ‘v8::Object::Has(v8::Localv8::String&)’
npm ERR! 154 | if (!args_->Has(callback_sym) ||
npm ERR! | ~~~^
npm ERR! In file included from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3590:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Localv8::Context, v8::Localv8::Value)’
npm ERR! 3590 | V8_WARN_UNUSED_RESULT Maybe Has(Local context,
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3590:37: note: candidate expects 2 arguments, 1 provided
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3596:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Localv8::Context, uint32_t)’
npm ERR! 3596 | V8_WARN_UNUSED_RESULT Maybe Has(Local context, uint32_t index);
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3596:37: note: candidate expects 2 arguments, 1 provided
npm ERR! …/src/bindings.cc:155:36: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 155 | !args_->Get(callback_sym)->IsFunction()) {
npm ERR! | ~~~^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3553:51: note: declared here
npm ERR! 3553 | V8_DEPRECATED(“Use maybe version”, Local Get(Local key));
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! …/src/bindings.cc:160:32: error: no matching function for call to ‘v8::Object::Has(v8::Localv8::String&)’
npm ERR! 160 | if (!args_->Has(watch_for_sym)) {
npm ERR! | ~~~~^
npm ERR! In file included from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3590:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Localv8::Context, v8::Localv8::Value)’
npm ERR! 3590 | V8_WARN_UNUSED_RESULT Maybe Has(Local context,
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3590:37: note: candidate expects 2 arguments, 1 provided
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3596:37: note: candidate: ‘v8::Maybe v8::Object::Has(v8::Localv8::Context, uint32_t)’
npm ERR! 3596 | V8_WARN_UNUSED_RESULT Maybe Has(Local context, uint32_t index);
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3596:37: note: candidate expects 2 arguments, 1 provided
npm ERR! …/src/bindings.cc:163:40: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 163 | if (!args_->Get(watch_for_sym)->IsInt32()) {
npm ERR! | ~~~~^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3553:51: note: declared here
npm ERR! 3553 | V8_DEPRECATED(“Use maybe version”, Local Get(Local key));
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! …/src/bindings.cc:166:43: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 166 | mask |= args_->Get(watch_for_sym)->Int32Value();
npm ERR! | ~~~~^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3553:51: note: declared here
npm ERR! 3553 | V8_DEPRECATED(“Use maybe version”, Local Get(Local key));
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! …/src/bindings.cc:166:70: error: no matching function for call to ‘v8::Value::Int32Value()’
npm ERR! 166 | mask |= args_->Get(watch_for_sym)->Int32Value();
npm ERR! | ~~~~~^~
npm ERR! In file included from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Localv8::Context) const’
npm ERR! 2709 | V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local context) const;
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2709:40: note: candidate expects 1 argument, 0 provided
npm ERR! …/src/bindings.cc:172:50: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 172 | String::Utf8Value path(args_->Get(path_sym));
npm ERR! | ~^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3553:51: note: declared here
npm ERR! 3553 | V8_DEPRECATED(“Use maybe version”, Local Get(Local key));
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^
npm ERR! …/src/bindings.cc:172:60: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’
npm ERR! 172 | String::Utf8Value path(args_->Get(path_sym));
npm ERR! | ^
npm ERR! In file included from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3135:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Localv8::Value)’
npm ERR! 3135 | Utf8Value(Isolate* isolate, Localv8::Value obj);
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3135:5: note: candidate expects 2 arguments, 1 provided
npm ERR! …/src/bindings.cc:182:62: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 182 | inotify->handle()->Set(descriptor, args_->Get(callback_sym));
npm ERR! | ^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3553:51: note: declared here
npm ERR! 3553 | V8_DEPRECATED(“Use maybe version”, Local Get(Local key));
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^
npm ERR! …/src/bindings.cc:182:39: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 182 | inotify->handle()->Set(descriptor, args_->Get(callback_sym));
npm ERR! | ~~~~~~~~~~~~~~~^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3499:22: note: declared here
npm ERR! 3499 | bool Set(Local key, Local value));
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! …/src/bindings.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeInotify::Inotify::RemoveWatch(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! …/src/bindings.cc:195:44: error: no matching function for call to ‘v8::Value::Int32Value()’
npm ERR! 195 | watch = info[0]->Int32Value();
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
npm ERR! In file included from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2709:40: note: candidate: ‘v8::Maybe v8::Value::Int32Value(v8::Localv8::Context) const’
npm ERR! 2709 | V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local context) const;
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2709:40: note: candidate expects 1 argument, 0 provided
npm ERR! …/src/bindings.cc: In static member function ‘static void NodeInotify::Inotify::Callback(uv_poll_t*, int, int)’:
npm ERR! …/src/bindings.cc:262:41: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 262 | obj->Set(Nan::New(“watch”).ToLocalChecked(), Nan::New(event->wd));
npm ERR! | ^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3499:22: note: declared here
npm ERR! 3499 | bool Set(Local key, Local value));
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! …/src/bindings.cc:263:41: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 263 | obj->Set(Nan::New(“mask”).ToLocalChecked(), Nan::New(event->mask));
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3499:22: note: declared here
npm ERR! 3499 | bool Set(Local key, Local value));
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! …/src/bindings.cc:264:41: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 264 | obj->Set(Nan::New(“cookie”).ToLocalChecked(), Nan::New(event->cookie));
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3499:22: note: declared here
npm ERR! 3499 | bool Set(Local key, Local value));
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! …/src/bindings.cc:267:49: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 267 | obj->Set(Nan::New(“name”).ToLocalChecked(), Nan::New(event->name).ToLocalChecked());
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3499:22: note: declared here
npm ERR! 3499 | bool Set(Local key, Local value));
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! …/src/bindings.cc:275:65: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
npm ERR! 275 | Local value = handle->Get(Nan::New(event->wd));
npm ERR! | ~~~~~~~~~~~~~~~~~~~~^
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:3553:51: note: declared here
npm ERR! 3553 | V8_DEPRECATED(“Use maybe version”, Local Get(Local key));
npm ERR! | ^~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! …/src/bindings.cc:279:46: warning: ‘v8::Localv8::Value Nan::Callback::Call(v8::Localv8::Object, int, v8::Localv8::Value*) const’ is deprecated [-Wdeprecated-declarations]
npm ERR! 279 | callback.Call(handle, 1, argv);
npm ERR! | ~~~~~^
npm ERR! In file included from …/src/node_inotify.h:14,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! …/…/nan/nan.h:1724:3: note: declared here
npm ERR! 1724 | Call(v8::Localv8::Object target
npm ERR! | ^~~~
npm ERR! …/src/bindings.cc:285:68: error: no matching function for call to ‘v8::Value::ToString()’
npm ERR! 285 | handle->Delete(wd->ToString());
npm ERR! | ~~^~
npm ERR! In file included from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2668:44: note: candidate: ‘v8::MaybeLocalv8::String v8::Value::ToString(v8::Localv8::Context) const’
npm ERR! 2668 | V8_WARN_UNUSED_RESULT MaybeLocal ToString(
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2668:44: note: candidate expects 1 argument, 0 provided
npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14,
npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:27,
npm ERR! from /usr/include/nodejs/src/node.h:67,
npm ERR! from …/src/node_inotify.h:5,
npm ERR! from …/src/bindings.h:4,
npm ERR! from …/src/bindings.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2684:31: note: candidate: ‘v8::Localv8::String v8::Value::ToString(v8::Isolate*) const’
npm ERR! 2684 | Local ToString(Isolate* isolate) const);
npm ERR! | ^
npm ERR! /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
npm ERR! 328 | declarator attribute((deprecated(message)))
npm ERR! | ^~~~~~~~~~
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:2684:31: note: candidate expects 1 argument, 0 provided