> iobroker.xbox@0.5.12 preinstall /opt/iobroker/node_modules/iobroker.xbox > dpkg --help > /dev/null && dpkg -s build-essential | grep -q '' && dpkg -s libssl-dev | grep -q '' && dpkg -s libffi-dev | grep -q '' && dpkg -s python3-dev | grep -q '' && echo -e '[INFO] Required Debian packages are already installed!' || apt install -y build-essential libssl-dev libffi-dev python3-dev || echo -e '[INFO] Cannot install build-essential libssl-dev libffi-dev python3-dev Debian packages. If you are on a Linux system, try installing the package via: sudo npm i iobroker.xbox --unsafe-perm, otherwise you have to manage package installation by yourself. If you are not running on Linux, you can ignore this INFO. ' -e [INFO] Required Debian packages are already installed! > bufferutil@1.1.0 install /opt/iobroker/node_modules/bufferutil > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/bufferutil/build“ wird betreten CXX(target) Release/obj.target/bufferutil/src/bufferutil.o In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_new.h: In function ‘v8::Local NanIntern::To(v8::Handle) [with T = v8::Integer; v8::Handle = v8::Local]’: ../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To(v8::Handle i) { return i->ToInteger(); } ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10052:16: note: declared here Local Value::ToInteger() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_new.h: In function ‘v8::Local NanIntern::To(v8::Handle) [with T = v8::Int32; v8::Handle = v8::Local]’: ../node_modules/nan/nan_new.h:34:64: error: no matching function for call to ‘v8::Integer::ToInt32()’ To(v8::Handle i) { return i->ToInt32(); } ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal v8::Value::ToInt32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToInt32(Local context) const; ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate: v8::Local v8::Value::ToInt32(v8::Isolate*) const Local ToInt32(Isolate* isolate) const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local ToInt32(Isolate* isolate) const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_new.h: In function ‘v8::Local NanIntern::To(v8::Handle) [with T = v8::Uint32; v8::Handle = v8::Local]’: ../node_modules/nan/nan_new.h:39:65: error: no matching function for call to ‘v8::Integer::ToUint32()’ To(v8::Handle i) { return i->ToUint32(); } ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate: v8::MaybeLocal v8::Value::ToUint32(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToUint32( ^~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate expects 1 argument, 0 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase::return_t NanIntern::Factory::New(bool)’: ../node_modules/nan/nan_implementation_12_inl.h:49:38: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).As(); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate: static v8::Local v8::BooleanObject::New(v8::Isolate*, bool) static Local New(Isolate* isolate, bool value); ^~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h:49:60: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).As(); ^ ../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).As(); ^ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase::return_t NanIntern::Factory::New(v8::Handle, v8::RegExp::Flags)’: ../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local v8::RegExp::New(v8::Local, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^ In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local New(Local pattern, Flags flags)); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase::return_t NanIntern::Factory::New(v8::Local)’: ../node_modules/nan/nan_implementation_12_inl.h:166:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from ../src/bufferutil.cc:7:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal v8::ScriptCompiler::Compile(v8::Local, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal