+++ dirname /var/www/html/plugins/maxcube/core/class/../../resources/install_maxcube.sh ++ cd /var/www/html/plugins/maxcube/core/class/../../resources ++ pwd + ME=/var/www/html/plugins/maxcube/resources + touch /tmp/maxcube_in_progress + echo 0 + echo 'Installing maxcube dependencies' Installing maxcube dependencies + sudo apt-get install -y git Reading package lists... Building dependency tree... Reading state information... git is already the newest version (1:2.20.1-2+deb10u7). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. + echo 10 ++ which node + BIN=/usr/bin/node + '[' /usr/bin/node = '' ']' + '[' /usr/bin/node = '' ']' ++ /usr/bin/node -v + actual=v10.24.0 ++ sed 's#[.].*##' ++ sed s#v## ++ /usr/bin/node -v + major=10 + echo 'Current version: v10.24.0 (major 10)' Current version: v10.24.0 (major 10) + echo 30 ++ arch + '[' x86_64 == armv6l -a 10 -lt 5 ']' + '[' 10 -lt 8 ']' ++ which node + BIN=/usr/bin/node + '[' /usr/bin/node = '' ']' ++ /usr/bin/node -v + new=v10.24.0 + echo 'new version installed: v10.24.0' new version installed: v10.24.0 + echo 50 + git --version git version 2.20.1 + cd /var/www/html/plugins/maxcube/resources/maxcube.js + sudo rm -rf node_modules /var/www/.npm + npm i npm WARN npm npm does not support Node.js v10.24.0 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. > sleep@6.3.0 install /var/www/html/plugins/maxcube/resources/maxcube.js/node_modules/sleep > node-gyp rebuild make: Entering directory '/var/www/html/plugins/maxcube/resources/maxcube.js/node_modules/sleep/build' CXX(target) Release/obj.target/node_sleep/module_init.o In file included from ../../nan/nan.h:60, from ../sleep.h:4, from ../module_init.cc:1: /usr/include/nodejs/src/node.h:573:43: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /usr/include/nodejs/src/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../module_init.cc:24:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(node_sleep, init) ^~~~~~~~~~~ In file included from /usr/include/nodejs/src/node.h:63, from ../../nan/nan.h:60, from ../sleep.h:4, from ../module_init.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (*)(const v8::WeakCallbackInfo&)]': /usr/include/nodejs/src/node_object_wrap.h:84:78: required from here /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo::Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type] reinterpret_cast(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (*)(const v8::WeakCallbackInfo&)]': ../../nan/nan_object_wrap.h:65:61: required from here /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo::Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type] CXX(target) Release/obj.target/node_sleep/sleep_cpp11.o In file included from /usr/include/nodejs/src/node.h:63, from ../../nan/nan.h:60, from ../sleep.h:4, from ../sleep_cpp11.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (*)(const v8::WeakCallbackInfo&)]': /usr/include/nodejs/src/node_object_wrap.h:84:78: required from here /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo::Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type] reinterpret_cast(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (*)(const v8::WeakCallbackInfo&)]': ../../nan/nan_object_wrap.h:65:61: required from here /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo::Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type] CXX(target) Release/obj.target/node_sleep/sleep_posix.o In file included from /usr/include/nodejs/src/node.h:63, from ../../nan/nan.h:60, from ../sleep.h:4, from ../sleep_posix.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (*)(const v8::WeakCallbackInfo&)]': /usr/include/nodejs/src/node_object_wrap.h:84:78: required from here /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo::Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type] reinterpret_cast(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (*)(const v8::WeakCallbackInfo&)]': ../../nan/nan_object_wrap.h:65:61: required from here /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo::Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type] CXX(target) Release/obj.target/node_sleep/sleep_win.o In file included from /usr/include/nodejs/src/node.h:63, from ../../nan/nan.h:60, from ../sleep.h:4, from ../sleep_win.cc:1: /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (*)(const v8::WeakCallbackInfo&)]': /usr/include/nodejs/src/node_object_wrap.h:84:78: required from here /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo::Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type] reinterpret_cast(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (*)(const v8::WeakCallbackInfo&)]': ../../nan/nan_object_wrap.h:65:61: required from here /usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo::Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type] SOLINK_MODULE(target) Release/obj.target/node_sleep.node COPY Release/node_sleep.node make: Leaving directory '/var/www/html/plugins/maxcube/resources/maxcube.js/node_modules/sleep/build' npm WARN maxcubeservice@0.0.1 No repository field. npm WARN maxcubeservice@0.0.1 No license field. added 108 packages from 112 contributors in 34.219s + echo 100 + rm /tmp/maxcube_in_progress