You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make: Entering directory '/usr/local/lib/node_modules/homebridge-mediabox-xl/node_modules/sleep/build'
CXX(target) Release/obj.target/node_sleep/sleep.o
../sleep.cc:6:11: error: 'v8::Handle' has not been declared
using v8::Handle;
^~~~~~
../sleep.cc: In function 'void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)':
../sleep.cc:103:53: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
Nan::New(MSleep)->GetFunction());
^
In file included from /root/.cache/node-gyp/14.17.4/include/node/node.h:67:0,
from ../../nan/nan.h:58,
from ../sleep.cc:2:
/root/.cache/node-gyp/14.17.4/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/14.17.4/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
../sleep.cc:105:54: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
Nan::New(MUSleep)->GetFunction());
^
In file included from /root/.cache/node-gyp/14.17.4/include/node/node.h:67:0,
from ../../nan/nan.h:58,
from ../sleep.cc:2:
/root/.cache/node-gyp/14.17.4/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/14.17.4/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
node_sleep.target.mk:111: recipe for target 'Release/obj.target/node_sleep/sleep.o' failed
make: *** [Release/obj.target/node_sleep/sleep.o] Error 1
make: Leaving directory '/usr/local/lib/node_modules/homebridge-mediabox-xl/node_modules/sleep/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Linux 4.19.103-boot2docker
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge-mediabox-xl/node_modules/sleep
gyp ERR! node -v v14.17.4
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-01-10T23_27_05_678Z-debug.log`
The text was updated successfully, but these errors were encountered:
I assume you're code has to be update for the latest version of homebridge see log.
Goodluck
`root@homebridge-vm:/homebridge# npm install -g homebridge-mediabox-xl
make: Entering directory '/usr/local/lib/node_modules/homebridge-mediabox-xl/node_modules/sleep/build'
CXX(target) Release/obj.target/node_sleep/sleep.o
../sleep.cc:6:11: error: 'v8::Handle' has not been declared
using v8::Handle;
^~~~~~
../sleep.cc: In function 'void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)':
../sleep.cc:103:53: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
Nan::New(MSleep)->GetFunction());
^
In file included from /root/.cache/node-gyp/14.17.4/include/node/node.h:67:0,
from ../../nan/nan.h:58,
from ../sleep.cc:2:
/root/.cache/node-gyp/14.17.4/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/14.17.4/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
../sleep.cc:105:54: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
Nan::New(MUSleep)->GetFunction());
^
In file included from /root/.cache/node-gyp/14.17.4/include/node/node.h:67:0,
from ../../nan/nan.h:58,
from ../sleep.cc:2:
/root/.cache/node-gyp/14.17.4/include/node/v8.h:6482:46: note: candidate: v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^~~~~~~~~~~
/root/.cache/node-gyp/14.17.4/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided
node_sleep.target.mk:111: recipe for target 'Release/obj.target/node_sleep/sleep.o' failed
make: *** [Release/obj.target/node_sleep/sleep.o] Error 1
make: Leaving directory '/usr/local/lib/node_modules/homebridge-mediabox-xl/node_modules/sleep/build'
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Linux 4.19.103-boot2docker
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge-mediabox-xl/node_modules/sleep
gyp ERR! node -v v14.17.4
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-01-10T23_27_05_678Z-debug.log`
The text was updated successfully, but these errors were encountered: