Ionic-vue app error in docker container with inotify

Hi,
i try to install dev dependecy in proyect mount in docker (Windows 11 - Docker desktop) but have the next error:

root@a53763799656:/CDT# npm install --save=dev
npm ERR! code 1
npm ERR! path /CDT/node_modules/inotify
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! make: Entering directory '/CDT/node_modules/inotify/build'
npm ERR!   CXX(target) Release/obj.target/inotify/src/bindings.o
npm ERR! make: Leaving directory '/CDT/node_modules/inotify/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.0
npm ERR! gyp info using node@19.3.0 | linux | x64
npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/CDT/node_modules/inotify/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/root/.cache/node-gyp/19.3.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/19.3.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/19.3.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/CDT/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:27: error: 'Handle' has not been declared
npm ERR!    10 |    static void Initialize(Handle<Object> target);
npm ERR!       |                           ^~~~~~
npm ERR! ../src/bindings.h:10:33: error: expected ',' or '...' before '<' token
npm ERR!    10 |    static void Initialize(Handle<Object> target);
npm ERR!       |                                 ^
npm ERR! ../src/bindings.cc:11:7: error: variable or field 'Initialize' declared void
npm ERR!    11 |  void Inotify::Initialize(Handle<Object> exports) {
npm ERR!       |       ^~~~~~~
npm ERR! ../src/bindings.cc:11:27: error: 'Handle' was not declared in this scope
npm ERR!    11 |  void Inotify::Initialize(Handle<Object> exports) {
npm ERR!       |                           ^~~~~~
npm ERR! ../src/bindings.cc:11:40: error: expected primary-expression before '>' token
npm ERR!    11 |  void Inotify::Initialize(Handle<Object> exports) {
npm ERR!       |                                        ^
npm ERR! ../src/bindings.cc:11:42: error: 'exports' was not declared in this scope
npm ERR!    11 |  void Inotify::Initialize(Handle<Object> 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:43: error: no matching function for call to 'v8::Value::ToObject()'
npm ERR!   146 |   Local<Object> args_ = info[0]->ToObject();
npm ERR!       |                                           ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-primitive.h:11,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:11,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-value.h:372:44: note: candidate: 'v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const'
npm ERR!   372 |   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
npm ERR!       |                                            ^~~~~~~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-value.h:372:44: note:   candidate expects 1 argument, 0 provided
npm ERR! ../src/bindings.cc:149:27: error: no matching function for call to 'v8::Object::Has(v8::Local<v8::String>&)'
npm ERR!   149 |   if (!args_->Has(path_sym)) {
npm ERR!       |                           ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:325:37: note: candidate: 'v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, v8::Local<v8::Value>)'
npm ERR!   325 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:325:37: note:   candidate expects 2 arguments, 1 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:331:37: note: candidate: 'v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, uint32_t)'
npm ERR!   331 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:331:37: note:   candidate expects 2 arguments, 1 provided
npm ERR! ../src/bindings.cc:154:31: error: no matching function for call to 'v8::Object::Has(v8::Local<v8::String>&)'
npm ERR!   154 |   if (!args_->Has(callback_sym) ||
npm ERR!       |                               ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:325:37: note: candidate: 'v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, v8::Local<v8::Value>)'
npm ERR!   325 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:325:37: note:   candidate expects 2 arguments, 1 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:331:37: note: candidate: 'v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, uint32_t)'
npm ERR!   331 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:331:37: note:   candidate expects 2 arguments, 1 provided
npm ERR! ../src/bindings.cc:155:28: error: no matching function for call to 'v8::Object::Get(v8::Local<v8::String>&)'
npm ERR!   155 |    !args_->Get(callback_sym)->IsFunction()) {
npm ERR!       |                            ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)'
npm ERR!   290 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)'
npm ERR!   293 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! ../src/bindings.cc:160:32: error: no matching function for call to 'v8::Object::Has(v8::Local<v8::String>&)'
npm ERR!   160 |   if (!args_->Has(watch_for_sym)) {
npm ERR!       |                                ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:325:37: note: candidate: 'v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, v8::Local<v8::Value>)'
npm ERR!   325 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:325:37: note:   candidate expects 2 arguments, 1 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:331:37: note: candidate: 'v8::Maybe<bool> v8::Object::Has(v8::Local<v8::Context>, uint32_t)'
npm ERR!   331 |   V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:331:37: note:   candidate expects 2 arguments, 1 provided
npm ERR! ../src/bindings.cc:163:33: error: no matching function for call to 'v8::Object::Get(v8::Local<v8::String>&)'
npm ERR!   163 |    if (!args_->Get(watch_for_sym)->IsInt32()) {
npm ERR!       |                                 ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)'
npm ERR!   290 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)'
npm ERR!   293 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! ../src/bindings.cc:166:36: error: no matching function for call to 'v8::Object::Get(v8::Local<v8::String>&)'
npm ERR!   166 |    mask |= args_->Get(watch_for_sym)->Int32Value();
npm ERR!       |                                    ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)'
npm ERR!   290 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)'
npm ERR!   293 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! ../src/bindings.cc:172:45: error: no matching function for call to 'v8::Object::Get(v8::Local<v8::String>&)'
npm ERR!   172 |   String::Utf8Value path(args_->Get(path_sym));
npm ERR!       |                                             ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)'
npm ERR!   290 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)'
npm ERR!   293 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! ../src/bindings.cc:182:61: error: no matching function for call to 'v8::Object::Get(v8::Local<v8::String>&)'
npm ERR!   182 |   inotify->handle()->Set(descriptor, args_->Get(callback_sym));
npm ERR!       |                                                             ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)'
npm ERR!   290 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)'
npm ERR!   293 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note:   candidate expects 2 arguments, 1 provided
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:31: 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 /root/.cache/node-gyp/19.3.0/include/node/v8-primitive.h:11,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:11,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-value.h:419:40: note: candidate: 'v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const'
npm ERR!   419 |   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
npm ERR!       |                                        ^~~~~~~~~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-value.h:419: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:86: error: no matching function for call to 'v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)'
npm ERR!   262 |     obj->Set(Nan::New<String>("watch").ToLocalChecked(), Nan::New<Integer>(event->wd));
npm ERR!       |                                                                                      ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:244:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)'
npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:247:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)'
npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! ../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)'
npm ERR!   263 |     obj->Set(Nan::New<String>("mask").ToLocalChecked(), Nan::New<Integer>(event->mask));
npm ERR!       |                                                                                       ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:244:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)'
npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:247:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)'
npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! ../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)'
npm ERR!   264 |     obj->Set(Nan::New<String>("cookie").ToLocalChecked(), Nan::New<Integer>(event->cookie));
npm ERR!       |                                                                                           ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:244:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)'
npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:247:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)'
npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! ../src/bindings.cc:267:104: error: no matching function for call to 'v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)'
npm ERR!   267 |      obj->Set(Nan::New<String>("name").ToLocalChecked(), Nan::New<String>(event->name).ToLocalChecked());
npm ERR!       |                                                                                                        ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:244:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)'
npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:247:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)'
npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
npm ERR!       |                                     ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
npm ERR! ../src/bindings.cc:275:66: error: no matching function for call to 'v8::Object::Get(Nan::imp::IntegerFactory<v8::Integer>::return_t)'
npm ERR!   275 |     Local<Value> value = handle->Get(Nan::New<Integer>(event->wd));
npm ERR!       |                                                                  ^
npm ERR! In file included from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)'
npm ERR!   290 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:290:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)'
npm ERR!   293 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
npm ERR!       |                                           ^~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:293:43: note:   candidate expects 2 arguments, 1 provided
npm ERR! ../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]
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::Local<v8::Object> target
npm ERR!       |   ^~~~
npm ERR! ../src/bindings.cc:285:34: 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 /root/.cache/node-gyp/19.3.0/include/node/v8-primitive.h:11,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8-object.h:11,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8-array-buffer.h:13,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/v8.h:24,
npm ERR!                  from /root/.cache/node-gyp/19.3.0/include/node/node.h:73,
npm ERR!                  from ../src/node_inotify.h:5,
npm ERR!                  from ../src/bindings.h:4,
npm ERR!                  from ../src/bindings.cc:2:
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-value.h:360:44: note: candidate: 'v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const'
npm ERR!   360 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
npm ERR!       |                                            ^~~~~~~~
npm ERR! /root/.cache/node-gyp/19.3.0/include/node/v8-value.h:360:44: note:   candidate expects 1 argument, 0 provided
npm ERR! make: *** [inotify.target.mk:114: Release/obj.target/inotify/src/bindings.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 5.10.16.3-microsoft-standard-WSL2
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /CDT/node_modules/inotify
npm ERR! gyp ERR! node -v v19.3.0
npm ERR! gyp ERR! node-gyp -v v9.3.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-12-20T16_50_10_474Z-debug-0.log

package.json

{
  "name": "CDT",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve --host localhost --port 8000 ",
    "build": "vue-cli-service build",
    "test:unit": "vue-cli-service test:unit",
    "test:e2e": "vue-cli-service test:e2e",
    "lint": "vue-cli-service lint",
    "buildAll": "ionic build && ionic cap copy && ionic cap sync && ionic cap open android",
    "movil": "ionic cap run android -l --external --public-host"
  },
  "dependencies": {
    "@capacitor/android": "^4.6.1",
    "@capacitor/app": "^4.1.1",
    "@capacitor/camera": "^4.1.4",
    "@capacitor/core": "^4.6.1",
    "@capacitor/device": "^4.1.0",
    "@capacitor/filesystem": "^4.1.4",
    "@capacitor/geolocation": "^4.1.0",
    "@capacitor/haptics": "^4.1.0",
    "@capacitor/keyboard": "^4.1.0",
    "@capacitor/preferences": "^4.0.2",
    "@capacitor/status-bar": "^4.1.1",
    "@ionic/vue": "^6.0.0",
    "@ionic/vue-router": "^6.0.0",
    "capacitor-native-biometric": "^4.1.3",
    "core-js": "^3.6.5",
    "ionicons": "^6.0.3",
    "vue": "^3.2.21",
    "vue-router": "^4.0.12"
  },
  "devDependencies": {
    "@capacitor-community/sqlite": "^4.5.0",
    "@capacitor/cli": "^4.6.1",
    "@types/jest": "^27.0.2",
    "@typescript-eslint/eslint-plugin": "^5.6.0",
    "@typescript-eslint/parser": "^5.6.0",
    "@vue/cli-plugin-babel": "~5.0.0-rc.1",
    "@vue/cli-plugin-e2e-cypress": "~5.0.0-rc.1",
    "@vue/cli-plugin-eslint": "~5.0.0-rc.1",
    "@vue/cli-plugin-router": "~5.0.0-rc.1",
    "@vue/cli-plugin-typescript": "~5.0.0-rc.1",
    "@vue/cli-plugin-unit-jest": "~5.0.0-rc.1",
    "@vue/cli-service": "~5.0.0-rc.1",
    "@vue/eslint-config-typescript": "^9.1.0",
    "@vue/test-utils": "^2.0.0-rc.16",
    "@vue/vue3-jest": "^27.0.0-alpha.3",
    "babel-jest": "^27.3.1",
    "cypress": "^8.7.0",
    "eslint": "^8.4.1",
    "eslint-plugin-vue": "^8.2.0",
    "jest": "^27.3.1",
    "ts-jest": "^27.0.7",
    "typescript": "^4.3.5",
    "vue-sqlite-hook": "^3.0.3"
  },
  "description": "An Ionic project"
}

Dockerfile

FROM node:19-slim

WORKDIR /CDT

COPY package*.json ./


RUN apt-get update || : &&  apt-get install build-essential -y &&  apt-get install python3 -y \ 
    && npm install -g @ionic/cli cordova-res


COPY . .

docker-compose.yml

version: "3.5"

services:
    vanda_cdt_mobile:
        build:
            context: ./
        container_name: vanda_cdt_mobile
        tty: true
        volumes:
            - ./:/CDT
        ports:
            - 8000:8000

.devcontainer.json

{
	"name": "Vanda CDT Movil",
	"dockerComposeFile": [
		"./docker-compose.yml"
	],
	"service": "vanda_cdt_mobile",
	"workspaceFolder": "/CDT",
	"postCreateCommand": "npm install && npm install --save=dev && ionic-serve -p 8000",
	"extensions": [
		"vue.volar",
		"ionic.ionic"
	]
}