Read the statement by Michael Teeuw here.
mmm-awesome-alexa on Raspberry PI
-
Sorry if this post got duplicated…
I am setting up a fresh Raspberry PI 4 with the 32-bit OS (Bulls Eye). I installed the Magic Mirror 2 with the standard installation and it works fine.
Now when I do the mmm-awesome-alexa from the directions on https://awesome-alexa.js.org/#/installation, I get the following issues when running npm run config-helper
Error: Cannot find module ‘clear’
Require stack:- /home/pi/MagicMirror/modules/MMM-awesome-alexa/config-helper.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/pi/MagicMirror/modules/MMM-awesome-alexa/config-helper.js:2:15)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [ ‘/home/pi/MagicMirror/modules/MMM-awesome-alexa/config-helper.js’ ]
}
I have done the research for the last week and rebuilds of the same system about 3 times incase of corruption but I still get the same issues. Any ideas?
Is this package still supported? If not, what package are you using for your magic mirror for voice control? I am using a USB Mic and 3.5 Speaker jack.
- /home/pi/MagicMirror/modules/MMM-awesome-alexa/config-helper.js
-
@Senathon npm install clear
in the module folder -
@Senathon supported? not by the mm team ( this forum)
and it looks like the author hasn’t updated in quite a while.
I made a script out of the install steps.
download from here,https://www.dropbox.com/s/omrx3vztjp738hf/do-install.sh?dl=0
mark executable and execute it. does everything.
git clone on…also see this
https://forum.magicmirror.builders/topic/16069/alexa-implementations-now-more-difficult-and-some-features-will-stop-working -
After running NPM install for Clear, Figlet, and Inquirer and running the script (from sdetweil), I get the following error:
mmm-awesome-alexa@1.0.0 config-helper
node config-helper.js/home/pi/MagicMirror/modules/MMM-awesome-alexa/config-helper.js:4
const inquirer = require(“inquirer”);
^Error [ERR_REQUIRE_ESM]: require() of ES Module /home/pi/MagicMirror/node_modules/inquirer/lib/inquirer.js from /home/pi/MagicMirror/modules/MMM-awesome-alexa/config-helper.js not supported.
Instead change the require of inquirer.js in /home/pi/MagicMirror/modules/MMM-awesome-alexa/config-helper.js to a dynamic import() which is available in all CommonJS modules.
at Object. (/home/pi/MagicMirror/modules/MMM-awesome-alexa/config-helper.js:4:18) {
code: ‘ERR_REQUIRE_ESM’
} -
@Senathon weird. my system is down for some reason, will check when I get it running again…
just a simple reboot,and it doesn’t come back. grrrr
-
@Senathon i did so test install checks and after fixing a couple things, it hears the request, but can’t send it…
my service on another platform works… so something is wrong with this module… but it hasn’t been maintained in years. .