Read the statement by Michael Teeuw here.
MMM-awesome-alexa
-
@dolanmiu Thanks for the visualisation.
-
Has anyone run into this problem:
Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/electron-v1.4-linux-arm/snowboy.node’
at Module._resolveFilename (module.js:455:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)Happens when I try to run my mirror with MMM-awesome-alexa.
Thanks,
James
-
@smyvy Yes, its a very common issue, run this:
npm run electron-rebuild
-
Thanks for the speedy reply. Although I have tried this several times and I get
“sh: 1 electron-rebuild: not found…”
I’ve started over a couple of times but get the same. Sorry if this is a real NOOB problem.
-
@smyvy which directory are you running that command on?
It needs to be in the MMM-awesome-Alexa directory
That command is most definitely there
-
Hi, yes inside that directory.
I’m going to completely restart and see if it is something I’ve messed up.
-
I am also getting the above error. @Jnstnt- can you please share the findings… A sample copy would help
Thanks
MKJ -
@jnstnr ,
Hi, Please let me the fix , I am getting this error and nothing is helping out so far…
MKJ -
@jnstnr said in MMM-awesome-alexa:
@cowboysdude just got home and tried it, replaced all " with ’
And now I get another error:
pi@raspberrypi:~ $ bash auth_code.sh
auth_code.sh: line 10: syntax error near unexpected token(' auth_code.sh: line 10:
perl -MURI::Escape -ne ‘chomp;print uri_escape($_),’\n’‘’Pretty sure there’s a simple fix for line 10, but haven’t figured it out yet!
what was your fix for this? i am currently having this exact issue
-
@hnperkins That post “seem” wrong as it show’s a “back-tick” (`) or even forward-tick, instead of a single quote (').
You need to replace all double-quotes with single quotes, not back-ticks!
Unfortunately the single quotes are not rendered clearly, in this forum.# Here is a single-quote: ' # Here is a back-tick: ` # Here is a double-quote: "
But that said, I’m not sure that is the problem.