pi@raspberrypi:~ $ iobroker stop pi@raspberrypi:~ $ npm install iobroker.js-controller > iobroker.js-controller@2.2.9 preinstall /home/pi/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.13.4 > iobroker.js-controller@2.2.9 install /home/pi/node_modules/iobroker.js-controller > node iobroker.js setup first npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.js-controller@2.2.9 updated 1 package and audited 3437 packages in 13.658s 8 packages are looking for funding run `npm fund` for details found 12 vulnerabilities (6 low, 6 moderate) run `npm audit fix` to fix them, or `npm audit` for details pi@raspberrypi:~ $ su Password: root@raspberrypi:/home/pi# cd.. bash: cd..: command not found root@raspberrypi:/home/pi# cd .. root@raspberrypi:/home# cd .. root@raspberrypi:/# cd /opt/iobroker root@raspberrypi:/opt/iobroker# npm install iobroker.js-controller npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. > iobroker.js-controller@2.2.9 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.13.4 > bufferutil@1.1.0 install /opt/iobroker/node_modules/bufferutil > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/bufferutil/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o In file included from ../node_modules/nan/nan.h:82, 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: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10052:16: note: declared here Local Value::ToInteger() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82, 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: /home/iobroker/.cache/node-gyp/10.19.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.19.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:26, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.19.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.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.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.19.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, 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: /home/iobroker/.cache/node-gyp/10.19.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.19.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, 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: /home/iobroker/.cache/node-gyp/10.19.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.19.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, 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.19.0/include/node/v8.h:26, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:5110:38: note: declared here Local New(Local pattern, Flags flags)); ^~~ /home/iobroker/.cache/node-gyp/10.19.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, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../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.19.0/include/node/v8.h:26, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:5110:38: note: declared here Local New(Local pattern, Flags flags)); ^~~ /home/iobroker/.cache/node-gyp/10.19.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, 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: /home/iobroker/.cache/node-gyp/10.19.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