Read the statement by Michael Teeuw here.
Alexa Control i save th config ab get black screen (config fail)
-
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" } } -
@Chazzer So you didn’t do the npm install that’s required for this module
-
-
@sdetweil ```
dorieen@raspberrypi:~/MagicMirror $ npm startmagicmirror@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)
(Useelectron --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
-
@Chazzer So you didn’t do the npm install that’s required for this module
-
@Chazzer
what ,… hmm I forgot…hmm I make it. Thank you very much!
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