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 Trouble

    Scheduled Pinned Locked Moved Troubleshooting
    18 Posts 5 Posters 4.3k Views 5 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.
    • X Offline
      xfqbe
      last edited by

      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
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @xfqbe
        last edited by

        @xfqbe maybe

        do

        cd ~/MagicMirror
        npm install electron-rebuild
        cd modules/MMM-Awesome-Alexa
        ~/MagicMirror/node_modules/.bin/electron-rebuild
        

        let us know

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        X 1 Reply Last reply Reply Quote 0
        • X Offline
          xfqbe @sdetweil
          last edited by

          @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
          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @xfqbe
            last edited by

            @xfqbe not really.

            what did the electron-rebuild say?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @xfqbe did u do all the instruction steps? some 15 of them

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • X Offline
                xfqbe @sdetweil
                last edited by

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

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

                  @xfqbe no. the instructions in the module.

                  i compiled fine

                  see the readme

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hectoreg21
                    last edited by

                    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!!

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

                      @hectoreg21 but when u git clone it uses the project name so this shouldn’t happen

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      H 1 Reply Last reply Reply Quote 0
                      • H Offline
                        hectoreg21 @sdetweil
                        last edited by

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

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

                          @hectoreg21 unless u are following some old workbook of instructions

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            @sdetweil
                            The information related to the capitalization is found on the developers install page. He specifically calls out “MMM-awesome-alexa”. However, I have yet to get this module to function. Each time I add to the MM config, the black screen with cursor appears.

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

                              @shagtimetim i created a script of his steps,
                              make executable.
                              doinstall.sh

                              does all the module install steps, so remove the current awesome-alexa module folder, ignore the errors, only result of last step matters

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil Thank you! Installing now. Being a confirmed noob to MM, can you advise on this step “Build snowboy to your device specifications, in the /snowboy directory”?

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

                                  @shagtimetim it will do that just hang on,
                                  all this does is take the steps on the wiki make them run in a script

                                  it does fix one dependency correction

                                  this is what my stuff does just a copy/paste
                                  https://awesome-alexa.js.org/#/installation

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    @sdetweil Thank you!! Everything now working as designed. One day, I will learn json!!!

                                    J 1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jste84 @shagtimetim
                                      last edited by

                                      @shagtimetim you got this module working?

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        shagtimetim @jste84
                                        last edited by

                                        @jste84 I have no issues since I used Sam’s steps

                                        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