MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    mmm-awesome-alexa on Raspberry PI

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 1.8k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      Senathon
      last edited by

      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.

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Senathon
        last edited by

        @Senathon npm install clear
        in the module folder

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Senathon
          last edited by sdetweil

          @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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            Senathon
            last edited by Senathon

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

            S 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @Senathon
              last edited by

              @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

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Senathon
                last edited by

                @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. .

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0

                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
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy