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
Im trying to add alexa to my magic mirror but when im trying to rebuild snowboy it just gives me this error message:
pi@raspberrypi:/MagicMirror/node_modules $ cd snowboy
pi@raspberrypi:/MagicMirror/node_modules/snowboy $ ./node_modules/.bin/electron-rebuild
⠼ Building module: snowboy, Completed: 0make: Entering directory '/home/pi/MagicMirror/node_modules/snowboy/node_modules/snowboy/build'
CXX(target) Release/obj.target/snowboy/swig/Node/snowboy.o
⠴ Building module: snowboy, Completed: 0: warning: "_GLIBCXX_USE_CXX11_ABI" redefined
: note: this is the location of the previous definition
⠹ Building module: snowboy, Completed: 0In file included from /home/pi/.electron-gyp/16.0.5/include/node/v8-local-handle.h:12,
from /home/pi/.electron-gyp/16.0.5/include/node/v8-array-buffer.h:12,
from /home/pi/.electron-gyp/16.0.5/include/node/v8.h:25,
from /home/pi/.electron-gyp/16.0.5/include/node/node.h:63,
from ../../nan/nan.h:58,
from ../swig/Node/snowboy.cc:1:
/home/pi/.electron-gyp/16.0.5/include/node/v8-internal.h:113:27: error: static assertion failed: Pointer compression can be enabled only for 64-bit architectures
kApiSystemPointerSize == kApiInt64Size,
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/pi/.electron-gyp/16.0.5/include/node/v8-internal.h:471:71: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprCageReservationSize = size_t{1} << 32;
^~
/home/pi/.electron-gyp/16.0.5/include/node/v8-internal.h:471:68: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprCageReservationSize = size_t{1} << 32;
~~~~~~~~~~^~~~~
/home/pi/.electron-gyp/16.0.5/include/node/v8-internal.h:472:69: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprCageBaseAlignment = size_t{1} << 32;
^~
/home/pi/.electron-gyp/16.0.5/include/node/v8-internal.h:472:66: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprCageBaseAlignment = size_t{1} << 32;
~~~~~~~~~~^~~~~
⠇ Building module: snowboy, Completed: 0In file included from /home/pi/.electron-gyp/16.0.5/include/node/v8.h:53,
from /home/pi/.electron-gyp/16.0.5/include/node/node.h:63,
from ../../nan/nan.h:58,
from ../swig/Node/snowboy.cc:1:
/home/pi/.electron-gyp/16.0.5/include/node/v8-script.h:230:79: warning: ‘ResolveCallback’ is deprecated [-Wdeprecated-declarations]
ResolveCallback callback);
^
⠦ Building module: snowboy, Completed: 0../swig/Node/snowboy.cc: In constructor ‘SnowboyDetect::SnowboyDetect(const string&, const string&)’:
../swig/Node/snowboy.cc:38:31: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=]
} catch (std::runtime_error e) {
^
In file included from ../../nan/nan.h:58,
from ../swig/Node/snowboy.cc:1:
../swig/Node/snowboy.cc: At global scope:
/home/pi/.electron-gyp/16.0.5/include/node/node.h:821:43: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc),
^
/home/pi/.electron-gyp/16.0.5/include/node/node.h:855:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../swig/Node/snowboy.cc:183:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(SnowboyDetect, SnowboyDetect::Init)
^~~~~~~~~~~
⠸ Building module: snowboy, Completed: 0make: *** [snowboy.target.mk:129: Release/obj.target/snowboy/swig/Node/snowboy.o] Error 1
make: Leaving directory '/home/pi/MagicMirror/node_modules/snowboy/node_modules/snowboy/build'
✖ Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild '/home/pi/MagicMirror/node_modules/snowboy/node_modules/snowboy'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".
Error: make failed with exit code: 2
Error: node-gyp failed to rebuild '/home/pi/MagicMirror/node_modules/snowboy/node_modules/snowboy'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".
Error: make failed with exit code: 2
at NodeGyp.rebuildModule (/home/pi/MagicMirror/node_modules/snowboy/node_modules/electron-rebuild/lib/src/module-type/node-gyp.js:117:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ModuleRebuilder.rebuildNodeGypModule (/home/pi/MagicMirror/node_modules/snowboy/node_modules/electron-rebuild/lib/src/module-rebuilder.js:94:9)
at async ModuleRebuilder.rebuild (/home/pi/MagicMirror/node_modules/snowboy/node_modules/electron-rebuild/lib/src/module-rebuilder.js:124:14)
at async Rebuilder.rebuildModuleAt (/home/pi/MagicMirror/node_modules/snowboy/node_modules/electron-rebuild/lib/src/rebuild.js:145:13)
at async Rebuilder.rebuild (/home/pi/MagicMirror/node_modules/snowboy/node_modules/electron-rebuild/lib/src/rebuild.js:108:17)
at async /home/pi/MagicMirror/node_modules/snowboy/node_modules/electron-rebuild/lib/src/cli.js:154:9
is there a way to fix it??
The text was updated successfully, but these errors were encountered:
Im trying to add alexa to my magic mirror but when im trying to rebuild snowboy it just gives me this error message:
pi@raspberrypi:
/MagicMirror/node_modules $ cd snowboy/MagicMirror/node_modules/snowboy $ ./node_modules/.bin/electron-rebuildpi@raspberrypi:
⠼ Building module: snowboy, Completed: 0make: Entering directory '/home/pi/MagicMirror/node_modules/snowboy/node_modules/snowboy/build'
CXX(target) Release/obj.target/snowboy/swig/Node/snowboy.o
⠴ Building module: snowboy, Completed: 0: warning: "_GLIBCXX_USE_CXX11_ABI" redefined
: note: this is the location of the previous definition
⠹ Building module: snowboy, Completed: 0In file included from /home/pi/.electron-gyp/16.0.5/include/node/v8-local-handle.h:12,
from /home/pi/.electron-gyp/16.0.5/include/node/v8-array-buffer.h:12,
from /home/pi/.electron-gyp/16.0.5/include/node/v8.h:25,
from /home/pi/.electron-gyp/16.0.5/include/node/node.h:63,
from ../../nan/nan.h:58,
from ../swig/Node/snowboy.cc:1:
/home/pi/.electron-gyp/16.0.5/include/node/v8-internal.h:113:27: error: static assertion failed: Pointer compression can be enabled only for 64-bit architectures
kApiSystemPointerSize == kApiInt64Size,
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/pi/.electron-gyp/16.0.5/include/node/v8-internal.h:471:71: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprCageReservationSize = size_t{1} << 32;
^~
/home/pi/.electron-gyp/16.0.5/include/node/v8-internal.h:471:68: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprCageReservationSize = size_t{1} << 32;
~~~~~~~~~~^~~~~
/home/pi/.electron-gyp/16.0.5/include/node/v8-internal.h:472:69: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr size_t kPtrComprCageBaseAlignment = size_t{1} << 32;
^~
/home/pi/.electron-gyp/16.0.5/include/node/v8-internal.h:472:66: error: right operand of shift expression ‘(1 << 32)’ is >= than the precision of the left operand [-fpermissive]
static constexpr size_t kPtrComprCageBaseAlignment = size_t{1} << 32;
~~~~~~~~~~^~~~~
⠇ Building module: snowboy, Completed: 0In file included from /home/pi/.electron-gyp/16.0.5/include/node/v8.h:53,
from /home/pi/.electron-gyp/16.0.5/include/node/node.h:63,
from ../../nan/nan.h:58,
from ../swig/Node/snowboy.cc:1:
/home/pi/.electron-gyp/16.0.5/include/node/v8-script.h:230:79: warning: ‘ResolveCallback’ is deprecated [-Wdeprecated-declarations]
ResolveCallback callback);
^
⠦ Building module: snowboy, Completed: 0../swig/Node/snowboy.cc: In constructor ‘SnowboyDetect::SnowboyDetect(const string&, const string&)’:
../swig/Node/snowboy.cc:38:31: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=]
} catch (std::runtime_error e) {
^
In file included from ../../nan/nan.h:58,
from ../swig/Node/snowboy.cc:1:
../swig/Node/snowboy.cc: At global scope:
/home/pi/.electron-gyp/16.0.5/include/node/node.h:821:43: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc),
^
/home/pi/.electron-gyp/16.0.5/include/node/node.h:855:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../swig/Node/snowboy.cc:183:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(SnowboyDetect, SnowboyDetect::Init)
^~~~~~~~~~~
⠸ Building module: snowboy, Completed: 0make: *** [snowboy.target.mk:129: Release/obj.target/snowboy/swig/Node/snowboy.o] Error 1
make: Leaving directory '/home/pi/MagicMirror/node_modules/snowboy/node_modules/snowboy/build'
✖ Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild '/home/pi/MagicMirror/node_modules/snowboy/node_modules/snowboy'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".
Error:
make
failed with exit code: 2Error: node-gyp failed to rebuild '/home/pi/MagicMirror/node_modules/snowboy/node_modules/snowboy'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".
Error:
make
failed with exit code: 2is there a way to fix it??
The text was updated successfully, but these errors were encountered: