• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 422 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 Oct 23, 2023, 3:50 AM Oct 22, 2023, 11:47 PM

    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 Oct 23, 2023, 3:52 AM Reply Quote 0
    • S Away
      sdetweil @Chazzer
      last edited by Oct 23, 2023, 4:05 AM

      @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 Away
        sdetweil @Chazzer
        last edited by Oct 23, 2023, 3:52 AM

        @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 Oct 23, 2023, 4:02 AM Reply Quote 0
        • C Offline
          Chazzer @sdetweil
          last edited by Oct 23, 2023, 4:02 AM

          @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 Oct 23, 2023, 4:05 AM Reply Quote 0
          • S Away
            sdetweil @Chazzer
            last edited by Oct 23, 2023, 4:05 AM

            @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 Oct 23, 2023, 4:10 AM

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

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                3/5
                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