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.

    Alexa Control i save th config ab get black screen (config fail)

    Scheduled Pinned Locked Moved Solved Troubleshooting
    5 Posts 2 Posters 891 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.
    • C Offline
      Chazzer
      last edited by sdetweil

      The problem I have, after I installed the module and extended the config with the module, my MagicMirror shuts down. and I see Linux Desktop. with PM2 restart MagiMirror I have no success. Is there something wrong with the module in the config?

      Please have a look .

      {
          module: 'MMM-AlexaControl',
          position: 'middle_center',
          config: {
              image: true,
              pm2ProcessName: "MagicMirror",
              monitorToggle: true,
              vcgencmd: "vcgencmd"
          }
      }
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Chazzer
        last edited by

        @Chazzer So you didn’t do the npm install that’s required for this module

        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 @Chazzer
          last edited by

          @Chazzer do

           pm2 stop all
          cd ~/MagicMirror
          npm start
          

          what error do you see?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            Chazzer @sdetweil
            last edited by

            @sdetweil ```
            dorieen@raspberrypi:~/MagicMirror $ npm start

            magicmirror@2.25.0 start
            DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

            [23.10.2023 06:01.02.810] [LOG] Starting MagicMirror: v2.25.0
            [23.10.2023 06:01.02.819] [LOG] Loading config …
            [23.10.2023 06:01.02.824] [DEBUG] config template file not exists, no envsubst
            [23.10.2023 06:01.02.832] [LOG] Loading module helpers …
            [23.10.2023 06:01.02.835] [LOG] No helper found for module: alert.
            [23.10.2023 06:01.02.882] [LOG] Initializing new module helper …
            [23.10.2023 06:01.02.884] [LOG] Module helper loaded: updatenotification
            [23.10.2023 06:01.04.063] [LOG] Initializing new module helper …
            [23.10.2023 06:01.04.065] [LOG] Module helper loaded: MMM-Jast
            [23.10.2023 06:01.04.067] [LOG] No helper found for module: clock.
            [23.10.2023 06:01.04.438] [LOG] Initializing new module helper …
            [23.10.2023 06:01.04.440] [LOG] Module helper loaded: calendar
            [23.10.2023 06:01.04.479] [LOG] Initializing new module helper …
            [23.10.2023 06:01.04.480] [LOG] Module helper loaded: MMM-birthdays
            [23.10.2023 06:01.04.562] [LOG] Initializing new module helper …
            [23.10.2023 06:01.04.563] [LOG] Module helper loaded: MMM-OpenWeatherMapForecast
            [23.10.2023 06:01.04.571] [ERROR] (node:6150) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘node-fauxmo’
            Require stack:

            • /home/dorieen/MagicMirror/modules/MMM-AlexaControl/node_helper.js
            • /home/dorieen/MagicMirror/js/app.js
            • /home/dorieen/MagicMirror/js/electron.js
            • /home/dorieen/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
            • at node:internal/modules/cjs/loader:1084:15
              at Function. (node:electron/js2c/browser_init:2:117500)
              at Module._resolveFilename (/home/dorieen/MagicMirror/node_modules/module-alias/index.js:49:29)
              at node:internal/modules/cjs/loader:929:27
              at Function._load (node:electron/js2c/asar_bundle:2:13327)
              at Module.require (node:internal/modules/cjs/loader:1150:19)
              at require (node:internal/modules/cjs/helpers:110:18)
              at Object. (/home/dorieen/MagicMirror/modules/MMM-AlexaControl/node_helper.js:10:14)
              at Module._compile (node:internal/modules/cjs/loader:1271:14)
              at Object…js (node:internal/modules/cjs/loader:1326:10)
              at Module.load (node:internal/modules/cjs/loader:1126:32)
              at node:internal/modules/cjs/loader:967:12
              at Function._load (node:electron/js2c/asar_bundle:2:13327)
              at Module.require (node:internal/modules/cjs/loader:1150:19)
              at require (node:internal/modules/cjs/helpers:110:18)
              at loadModule (/home/dorieen/MagicMirror/js/app.js:180:19)
              (Use electron --trace-warnings ... to show where the warning was created)
              [23.10.2023 06:01.04.572] [ERROR] (node:6150) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
              [6150:1023/060105.030239:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
              MESA-LOADER: failed to retrieve device information
              MESA-LOADER: failed to retrieve device information
              MESA-LOADER: failed to retrieve device information
            S C 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @Chazzer
              last edited by

              @Chazzer So you didn’t do the npm install that’s required for this module

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • C Offline
                Chazzer @Chazzer
                last edited by

                @Chazzer
                what ,… hmm I forgot…hmm I make it. Thank you very much!

                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