Read the statement by Michael Teeuw here.
MMM-Awesome-Alexa Trouble
-
Hey! I was wondering if anyone could help me figure out how to fix this. When I startup the mirror I get this error and the screen is just pitch black with no modules. Any help would be appreciated, thanks!
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module
‘/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node’
Require stack:- /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/index.js
- /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
-
@xfqbe maybe
do
cd ~/MagicMirror npm install electron-rebuild cd modules/MMM-Awesome-Alexa ~/MagicMirror/node_modules/.bin/electron-rebuild
let us know
-
@sdetweil Thanks for replying, I did exactly what you said correctly and it’s still showing the same errors :/ Is there anything else I should try? or maybe a different Alexa module?
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node’
Require stack:- /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/index.js
- /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
-
@xfqbe not really.
what did the electron-rebuild say?
-
@xfqbe did u do all the instruction steps? some 15 of them
-
@sdetweil The electron-rebuild was normal without any error codes and yes I followed these steps. https://www.howtogeek.com/423233/how-to-add-alexa-to-your-smart-mirror/
-
-
Hi!! I don’t know if you are still interested or if you already figured it out, but it happened to me too and have just found a fix. So here it is, for you, or whomever may need it.
Go to the MagicMirror folder, get inside modules, and rename the folder “MMM-awesome-alexa” to “MMM-Awesome-Alexa”.
It seems like the program is Capitals sensitive and couldn’t find the pathway. After renaming, it stopped giving back those errors.
Let me know if this helped you!
Have fun!!
-
@hectoreg21 but when u git clone it uses the project name so this shouldn’t happen
-
@sdetweil You are so true! The program does not give back any errors at all, but Alexa does not work either (because of the pathway name change). Sorry I didn’t notice this before posting. I’ll keep looking into it.
And thanks for the reply!