Skip to content

inotify@npm:1.4.6 couldn't be built successfully #127

Open
@artforlife

Description

@artforlife

При исполнении шага yarn получаю вот такую ошибку.

(base) ➜  gulp-pug-starter git:(master) ✗ node -v
v15.14.0
(base) ➜  gulp-pug-starter git:(master) ✗ yarn                                 
➤ YN0000: ┌ Resolution step
➤ YN0002: │ stylelint-config-recommended-scss@npm:5.0.2 [55b96] doesn't provide postcss (p11620), requested by postcss-scss
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 225ms
➤ YN0000: ┌ Link step
➤ YN0007: │ inotify@npm:1.4.6 must be built because it never has been before or the last one failed
➤ YN0009: │ inotify@npm:1.4.6 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-dc5119b7/build.log)
➤ YN0000: └ Completed in 0s 998ms
➤ YN0000: Failed with errors in 1s 475ms

Прилагаю соответствующий лог.

# This file contains the result of Yarn building a package (inotify@npm:1.4.6)
# Script code: node-gyp rebuild

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.7.0 found at "/home/user/miniconda3/bin/python3"
gyp info spawn /home/user/miniconda3/bin/python3
gyp info spawn args [
gyp info spawn args   '/home/user/tmp/gulp-pug-starter/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/user/tmp/gulp-pug-starter/node_modules/inotify/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/user/tmp/gulp-pug-starter/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/user/.cache/node-gyp/15.14.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/user/.cache/node-gyp/15.14.0',
gyp info spawn args   '-Dnode_gyp_dir=/home/user/tmp/gulp-pug-starter/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/user/.cache/node-gyp/15.14.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/user/tmp/gulp-pug-starter/node_modules/inotify',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/user/tmp/gulp-pug-starter/node_modules/inotify/build'
  CXX(target) Release/obj.target/inotify/src/bindings.o
In file included from ../src/bindings.cc:2:
../src/bindings.h:10:27: error: ‘Handle’ has not been declared
   10 |    static void Initialize(Handle<Object> target);
      |                           ^~~~~~
../src/bindings.h:10:33: error: expected ‘,’ or ‘...’ before ‘<’ token
   10 |    static void Initialize(Handle<Object> target);
      |                                 ^
../src/bindings.cc:11:27: error: variable or field ‘Initialize’ declared void
   11 |  void Inotify::Initialize(Handle<Object> exports) {
      |                           ^~~~~~
../src/bindings.cc:11:27: error: ‘Handle’ was not declared in this scope
../src/bindings.cc:11:40: error: expected primary-expression before ‘>’ token
   11 |  void Inotify::Initialize(Handle<Object> exports) {
      |                                        ^
../src/bindings.cc:11:42: error: ‘exports’ was not declared in this scope
   11 |  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()’
  146 |   Local<Object> args_ = info[0]->ToObject();
      |                                           ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:2868:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
 2868 |   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
      |                                            ^~~~~~~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:2868: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>&)’
  149 |   if (!args_->Has(path_sym)) {
      |                           ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3798:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3798 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3798:37: note:   candidate expects 2 arguments, 1 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3804:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, uint32_t)’
 3804 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3804: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>&)’
  154 |   if (!args_->Has(callback_sym) ||
      |                               ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3798:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3798 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3798:37: note:   candidate expects 2 arguments, 1 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3804:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, uint32_t)’
 3804 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3804: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>&)’
  155 |    !args_->Get(callback_sym)->IsFunction()) {
      |                            ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3763 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note:   candidate expects 2 arguments, 1 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
 3766 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766: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>&)’
  160 |   if (!args_->Has(watch_for_sym)) {
      |                                ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3798:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3798 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3798:37: note:   candidate expects 2 arguments, 1 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3804:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, uint32_t)’
 3804 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3804: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>&)’
  163 |    if (!args_->Get(watch_for_sym)->IsInt32()) {
      |                                 ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3763 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note:   candidate expects 2 arguments, 1 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
 3766 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766: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>&)’
  166 |    mask |= args_->Get(watch_for_sym)->Int32Value();
      |                                    ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3763 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note:   candidate expects 2 arguments, 1 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
 3766 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766: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>&)’
  172 |   String::Utf8Value path(args_->Get(path_sym));
      |                                             ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3763 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note:   candidate expects 2 arguments, 1 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
 3766 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766: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>&)’
  182 |   inotify->handle()->Set(descriptor, args_->Get(callback_sym));
      |                                                             ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3763 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note:   candidate expects 2 arguments, 1 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
 3766 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766: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()’
  195 |   watch = info[0]->Int32Value();
      |                               ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:2915:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
 2915 |   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
      |                                        ^~~~~~~~~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:2915: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)’
  262 |     obj->Set(Nan::New<String>("watch").ToLocalChecked(), Nan::New<Integer>(event->wd));
      |                                                                                      ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3716:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3716 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3716:37: note:   candidate expects 3 arguments, 2 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3719:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3719 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3719: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)’
  263 |     obj->Set(Nan::New<String>("mask").ToLocalChecked(), Nan::New<Integer>(event->mask));
      |                                                                                       ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3716:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3716 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3716:37: note:   candidate expects 3 arguments, 2 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3719:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3719 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3719: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)’
  264 |     obj->Set(Nan::New<String>("cookie").ToLocalChecked(), Nan::New<Integer>(event->cookie));
      |                                                                                           ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3716:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3716 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3716:37: note:   candidate expects 3 arguments, 2 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3719:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3719 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3719: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>)’
  267 |      obj->Set(Nan::New<String>("name").ToLocalChecked(), Nan::New<String>(event->name).ToLocalChecked());
      |                                                                                                        ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3716:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3716 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3716:37: note:   candidate expects 3 arguments, 2 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3719:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3719 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3719: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)’
  275 |     Local<Value> value = handle->Get(Nan::New<Integer>(event->wd));
      |                                                                  ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
 3763 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3763:43: note:   candidate expects 2 arguments, 1 provided
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
 3766 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
      |                                           ^~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:3766: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]
  279 |     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:1722:3: note: declared here
 1722 |   Call(v8::Local<v8::Object> target
      |   ^~~~
../src/bindings.cc:285:34: error: no matching function for call to ‘v8::Value::ToString()’
  285 |      handle->Delete(wd->ToString());
      |                                  ^
In file included from /home/user/.cache/node-gyp/15.14.0/include/node/node.h:63,
                 from ../src/node_inotify.h:5,
                 from ../src/bindings.h:4,
                 from ../src/bindings.cc:2:
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:2856:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2856 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/user/.cache/node-gyp/15.14.0/include/node/v8.h:2856:44: note:   candidate expects 1 argument, 0 provided
make: *** [inotify.target.mk:112: Release/obj.target/inotify/src/bindings.o] Error 1
make: Leaving directory '/home/user/tmp/gulp-pug-starter/node_modules/inotify/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/user/tmp/gulp-pug-starter/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:369:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Linux 5.16.0+
gyp ERR! command "/home/user/.nvm/versions/node/v15.14.0/bin/node" "/home/user/tmp/gulp-pug-starter/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/user/tmp/gulp-pug-starter/node_modules/inotify
gyp ERR! node -v v15.14.0
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions