question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

failed to install on snowboy

See original GitHub issue

Facing errors while running “npm install --only=prod” on snowboy:

`pi@RasPiSMirror:~/MagicMirror/modules/MMM-awesome-alexa $ npm install

snowboy@1.2.0 preinstall /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy npm install node-pre-gyp

npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version. npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version. npm WARN deprecated cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version. npm notice created a lockfile as package-lock.json. You should commit this file.

  • node-pre-gyp@0.6.39 added 114 packages from 78 contributors and audited 268 packages in 22.478s found 8 moderate severity vulnerabilities run npm audit fix to fix them, or npm audit for details

snowboy@1.2.0 install /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(403): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@10.15.3 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@10.15.3 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) make: se entra en el directorio ‘/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build’ make: se entra en el directorio ‘/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build’ CXX(target) Release/obj.target/snowboy/swig/Node/snowboy.o CXX(target) Release/obj.target/snowboy/swig/Node/snowboy.o In file included from …/…/nan/nan.h:192:0, from …/swig/Node/snowboy.cc:1: …/…/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’: …/…/nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from …/…/nan/nan.h:192:0, from …/swig/Node/snowboy.cc:1: …/…/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’: …/…/nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from …/swig/Node/snowboy.cc:1:0: …/…/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’: …/…/nan/nan.h:835:60: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(…, async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from …/…/nan/nan.h:49:0, from …/swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Localv8::Value MakeCallback( ^ /home/pi/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~~~~~ In file included from …/swig/Node/snowboy.cc:1:0: …/…/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value)’: …/…/nan/nan.h:850:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(…, async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from …/…/nan/nan.h:49:0, from …/swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.3/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Localv8::Value MakeCallback( ^ /home/pi/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~~~~~ In file included from …/swig/Node/snowboy.cc:1:0: …/…/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, const char, int, v8::Localv8::Value)’: …/…/nan/nan.h:865:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate, v8::Localv8::Object, const char*, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(…, async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from …/…/nan/nan.h:49:0, from …/swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.3/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Localv8::Value MakeCallback( ^ /home/pi/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~~~~~ In file included from …/swig/Node/snowboy.cc:1:0: …/…/nan/nan.h: In member function ‘v8::Localv8::Value Nan::Callback::Call_(v8::Isolate, v8::Localv8::Object, int, v8::Localv8::Value) const’: …/…/nan/nan.h:1479:5: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(…, async_context) [-Wdeprecated-declarations] )); ^ In file included from …/…/nan/nan.h:49:0, from …/swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Localv8::Value MakeCallback( ^ /home/pi/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~~~~~ In file included from …/swig/Node/snowboy.cc:1:0: …/…/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’: …/…/nan/nan.h:835:60: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(…, async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from …/…/nan/nan.h:49:0, from …/swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Localv8::Value MakeCallback( ^ /home/pi/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~~~~~ In file included from …/swig/Node/snowboy.cc:1:0: …/…/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value)’: …/…/nan/nan.h:850:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(…, async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from …/…/nan/nan.h:49:0, from …/swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.3/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Localv8::Value MakeCallback( ^ /home/pi/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~~~~~ In file included from …/swig/Node/snowboy.cc:1:0: …/…/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, const char, int, v8::Localv8::Value)’: …/…/nan/nan.h:865:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate, v8::Localv8::Object, const char*, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(…, async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from …/…/nan/nan.h:49:0, from …/swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.3/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Localv8::Value MakeCallback( ^ /home/pi/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~~~~~ In file included from …/swig/Node/snowboy.cc:1:0: …/…/nan/nan.h: In member function ‘v8::Localv8::Value Nan::Callback::Call_(v8::Isolate, v8::Localv8::Object, int, v8::Localv8::Value) const’: …/…/nan/nan.h:1479:5: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value*)’ is deprecated: Use MakeCallback(…, async_context) [-Wdeprecated-declarations] )); ^ In file included from …/…/nan/nan.h:49:0, from …/swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Localv8::Value MakeCallback( ^ /home/pi/.node-gyp/10.15.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~~~~~ snowboy.target.mk:107: fallo en las instrucciones para el objetivo ‘Release/obj.target/snowboy/swig/Node/snowboy.o’ make: *** [Release/obj.target/snowboy/swig/Node/snowboy.o] Error 1 make: se sale del directorio ‘/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build’ gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.14.98-v7+ gyp ERR! command “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “build” “–fallback-to-build” “–module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node” “–module_name=snowboy” “–module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm” gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute ‘/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm’ (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.14.98-v7+ node-pre-gyp ERR! command “/usr/bin/node” “/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/node_modules/.bin/node-pre-gyp” “install” “–fallback-to-build” node-pre-gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy node-pre-gyp ERR! node -v v10.15.3 node-pre-gyp ERR! node-pre-gyp -v v0.6.39 node-pre-gyp ERR! not ok Failed to execute ‘/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm’ (1) snowboy.target.mk:107: fallo en las instrucciones para el objetivo ‘Release/obj.target/snowboy/swig/Node/snowboy.o’ make: *** [Release/obj.target/snowboy/swig/Node/snowboy.o] Error 1 make: se sale del directorio ‘/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build’ gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.14.98-v7+ gyp ERR! command “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “build” “–fallback-to-build” “–module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node” “–module_name=snowboy” “–module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm” gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! snowboy@1.2.0 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the snowboy@1.2.0 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! /home/pi/.npm/_logs/2019-03-07T01_13_26_250Z-debug.log `

2019-03-07T01_13_26_250Z-debug.log

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Nyxholascommented, Apr 7, 2019

I am having the same exact issue and I have done everything to try and fix it nothing works. I don’t understand why there are so many broken modules for magic mirror.

0reactions
richa184commented, Jul 24, 2020

Hi! I hade the same problem and with a lot of hours reaserching i managed to solve the problem. I had to downgrade my NodeJS. Then i downloaded Snowboy! Followed this guide, https://www.instructables.com/id/Install-Nodejs-and-Npm-on-Raspberry-Pi/ , but with some modifications of course! Tell me if this helps 😃 Have fun!

omg thank you so much!! I’ve been searching for fixes for this for ages. I’m new to Raspberry Pi and this was a pretty simple, quick fix 💯

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip install snowboy failure · Issue #586 - GitHub
First of all, if you read https://pypi.org/project/snowboy/, you'll see that: "Note: Snowboy does not support Windows yet. Please build Snowboy ...
Read more >
Snowboy module installation error on windows 10
ım using pip for install a module. So working usually. But I tried install snowboy module today. I got a error.
Read more >
UNSOLVED snowboy Install Failure - MagicMirror Forum
I'm trying to set up Google Assistant with hotword detection. I've follow the tutorials on Github, but when I try to install snowboy...
Read more >
Help installing snowboy - Raspberry Pi Forums
Hello, I am trying to install snowboy for my AI program, but it gives me errors. I tried using "pip3 install snowboy" but...
Read more >
@bugsounet/snowboy - npm
Start using @bugsounet/snowboy in your project by running `npm i ... compilation error solved; npm install complete without error ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found