Read the statement by Michael Teeuw here.
MMM-awesome-alexa snowboy issue
-
Hi, I`m trying to install awesome-alexa but when I try to run the electron rebuild I get a huge error list…
I updated electron, node-abi, every single thing that could be updated, ran npm audit-fix and still nothing.
Here is the output:
An unhandled error occurred inside electron-rebuild
make: Entering directory ‘/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build’
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 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 /home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:53:0,
from …/…/nan/nan.h:49,
from …/swig/Node/snowboy.cc:1:
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:94:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/core.h:35: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 /home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:53:0,
from …/…/nan/nan.h:49,
from …/swig/Node/snowboy.cc:1:
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:87:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/core.h:35: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 /home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:53:0,
from …/…/nan/nan.h:49,
from …/swig/Node/snowboy.cc:1:
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:80:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/core.h:35: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 /home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:53:0,
from …/…/nan/nan.h:49,
from …/swig/Node/snowboy.cc:1:
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:94:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/core.h:35:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
snowboy.target.mk:107: recipe for target ‘Release/obj.target/snowboy/swig/Node/snowboy.o’ failed
make: Leaving directory ‘/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build’
make: *** [Release/obj.target/snowboy/swig/Node/snowboy.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:makefailed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.4.132+
gyp ERR! command “/usr/bin/node” “/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/.bin/node-gyp” “rebuild” “–target=3.0.11” “–arch=arm” “–dist-url=https://atom.io/download/electron” “–build-from-source” “–module_name=snowboy” “–module_path=/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/electron-v3.0-linux-arm” “–remote_path=./snowboy/v1.2.0/Release/” “–package_name=snowboy-v1.2.0-electron-v3.0-linux-arm.tar.gz” “–host=https://snowboy-release-node.s3-us-west-2.amazonaws.com”
gyp ERR! cwd /home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy
gyp ERR! node -v v9.11.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not okFailed with exit code: 1
Error: make: Entering directory ‘/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build’
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 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 /home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:53:0,
from …/…/nan/nan.h:49,
from …/swig/Node/snowboy.cc:1:
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:94:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/core.h:35: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 /home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:53:0,
from …/…/nan/nan.h:49,
from …/swig/Node/snowboy.cc:1:
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:87:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/core.h:35: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 /home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:53:0,
from …/…/nan/nan.h:49,
from …/swig/Node/snowboy.cc:1:
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:80:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/core.h:35: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 /home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:53:0,
from …/…/nan/nan.h:49,
from …/swig/Node/snowboy.cc:1:
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/node.h:94:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/linaro/.electron-gyp/.node-gyp/iojs-3.0.11/src/core.h:35:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
snowboy.target.mk:107: recipe for target ‘Release/obj.target/snowboy/swig/Node/snowboy.o’ failed
make: Leaving directory ‘/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build’
make: *** [Release/obj.target/snowboy/swig/Node/snowboy.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:makefailed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.4.132+
gyp ERR! command “/usr/bin/node” “/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/.bin/node-gyp” “rebuild” “–target=3.0.11” “–arch=arm” “–dist-url=https://atom.io/download/electron” “–build-from-source” “–module_name=snowboy” “–module_path=/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/electron-v3.0-linux-arm” “–remote_path=./snowboy/v1.2.0/Release/” “–package_name=snowboy-v1.2.0-electron-v3.0-linux-arm.tar.gz” “–host=https://snowboy-release-node.s3-us-west-2.amazonaws.com”
gyp ERR! cwd /home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy
gyp ERR! node -v v9.11.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not okFailed with exit code: 1
at SafeSubscriber._error (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/spawn-rx/lib/src/index.js:277:84)
at SafeSubscriber.__tryOrUnsub (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/rxjs/Subscriber.js:238:16)
at SafeSubscriber.error (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/rxjs/Subscriber.js:197:26)
at Subscriber._error (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/rxjs/Subscriber.js:128:26)
at Subscriber.error (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/rxjs/Subscriber.js:102:18)
at MapSubscriber.Subscriber._error (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/rxjs/Subscriber.js:128:26)
at MapSubscriber.Subscriber.error (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/rxjs/Subscriber.js:102:18)
at SafeSubscriber._next (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/spawn-rx/lib/src/index.js:251:65)
at SafeSubscriber.__tryOrSetError (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/rxjs/Subscriber.js:247:16)
at SafeSubscriber.next (/home/linaro/MagicMirror/modules/MMM-awesome-alexa/node_modules/rxjs/Subscriber.js:187:27)
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! mmm-awesome-alexa@1.0.0 electron-rebuild:electron-rebuild --pre-gyp-fix
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the mmm-awesome-alexa@1.0.0 electron-rebuild 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/linaro/.npm/_logs/2018-12-13T13_18_01_671Z-debug.logIf anybody else has encountered this and knows what to do, please help.
Thanks.
-
I’ve got the same issue currently, no idea what’s causing it and I’ve been searching all over.
-
@mattsharp said in MMM-awesome-alexa snowboy issue:
I’ve got the same issue currently, no idea what’s causing it and I’ve been searching all over.
I take that back, I just tried an npm update electron-rebuild and then npm run electron-rebuild and it seems to have worked! give that a try and let me know if it helped
-
@mattsharp Thanks for trying, I will try soon enough, I have tried the google assistant module, but I`ll probably return to alexa soon.
-
@radu_stancu I still can’t seem to get it to work tbf, think I’ll try starting again with version 2.6.0
-
@mattsharp I`m kind of reluctant to update to 2.6.0 so I do not mess anything. I have modified quite a lot of config files and custom css. This is my college project and I have to present in a few months. The google assistant is working decently, although I was hoping for better, I will have to stick with it until this issue with electron is fixed.
-
@radu_stancu Starting fresh with 2.6.0 now, I’ll let you know how it goes, fingers crossed haha
-
@mattsharp Thanks mate. I moved to MirrorMirroronthewall and almost got it working flawlessy. So don`t worry too much.
-
Please use the Markdown features of the board when posting code.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login