• Register
    • Login
    • Search

    Solved Alexea control module

    Issues
    2
    2
    25
    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.
    • V
      Videogames95 last edited by

      I have tried to add the configuration file of Alexa control to config file .
      if run my cd Magic Mirror the npm start i get this long errors and it will not run.
      This is what on my terminal window with the Alexa js file add
      if i remove it from the js file my MagicMirror runs . ill copy my code at the bottom of page .

      • /home/pi/MagicMirror/js/electron.js
      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      • at Module._resolveFilename (node:internal/modules/cjs/loader:1082:15)
        at n._resolveFilename (node:electron/js2c/browser_init:2:117457)
        at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
        at Module._load (node:internal/modules/cjs/loader:927:27)
        at f._load (node:electron/js2c/asar_bundle:2:13330)
        at Module.require (node:internal/modules/cjs/loader:1148:19)
        at require (node:internal/modules/cjs/helpers:110:18)
        at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AlexaControl/node_helper.js:10:14)
        at Module._compile (node:internal/modules/cjs/loader:1269:14)
        at Module._extensions…js (node:internal/modules/cjs/loader:1324:10)
        at Module.load (node:internal/modules/cjs/loader:1124:32)
        at Module._load (node:internal/modules/cjs/loader:965:12)
        at f._load (node:electron/js2c/asar_bundle:2:13330)
        at Module.require (node:internal/modules/cjs/loader:1148:19)
        at require (node:internal/modules/cjs/helpers:110:18)
        at loadModule (/home/pi/MagicMirror/js/app.js:180:19)
        (Use electron --trace-warnings ... to show where the warning was created)
        [15.09.2023 13:08.57.663] [ERROR] (node:1471) 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)
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
        failed to load driver: kms_swrast
        MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
        failed to load swrast driver

      Any help please why its not working ?

      {
      module: ‘MMM-AlexaControl’,
      position: ‘middle_center’,
      config:{
      image: true,
      pm2ProcessName: “mm”,
      vcgencmd: “vcgencmd”
      }
      },

      Thanks j Harris

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by bugsounet

        Are you really sure that is related to MMM-GoogleAssistant ?

        Not me

        Just remember this:

        • it’s ONLY MMM-GoogleAssistant there
        • I will not maintened modules of Other users
        • I will not correct error on modules of other users
        • I have ~30 modules/EXTs to maintened
        • I code with MagicMirror team

        So I think it’s already pretty good, right?
        (And don’t take the opportunity to delete this topic because I will put it back… as per usual)

        My place in France Top committers of Github:
        committers.top badge

        1 Reply Last reply Reply Quote 0
        • undefined  bugsounet bugsounet 
        • First post
          Last post
        Powered by NodeBB | @bugsounet ©2023