MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Senathon
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    Senathon

    @Senathon

    0
    Reputation
    2
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Delaware

    Senathon Unfollow Follow

    Latest posts made by Senathon

    • RE: mmm-awesome-alexa on Raspberry PI

      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’
      }

      posted in Troubleshooting
      S
      Senathon
    • 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.

      posted in Troubleshooting
      S
      Senathon