Read the statement by Michael Teeuw here.
Alexa Lists on Magic Mirror
-
Absolutely!
[ { module: 'MMM-Todoist', position: 'top_center', // This can be any of the regions. Best results in left or right regions. header: 'Todoist', // This is optional config: { // See 'Configuration options' for more information. hideWhenEmpty: false, accessToken: 'xxxxxxxx', maximumEntries: 10, updateInterval: 10*1000, // Update every 10 minutes fade: false, //projects and/or labels is mandatory: projects: [ 166564794 ], labels: [ "shopping" ] // Tasks for any projects with these labels will be shown. } } ]
-
@ndaphne I added the code wrapper around config
next time after pasting the text, select it all, then push the button above the editor that looks like </>
now,
what are the [ and ] around the module entry
they should not be there -
@ndaphne a module entry starts with {
and ends with }they are in a list
modules:[ all in here {... module 1 }, { module 2 ... } ]
the author might have shown the list wrapper
-
Ok, got that fixed and now I’m getting some responses in the startup messages. it appears to be looking for a module “showdown” that I cant seem to find.
Thank you for the pointers concerning the brackets. little by little I’ll learn.
pi@raspberrypi:~/MagicMirror $ npm run start > magicmirror@2.16.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [10.09.2021 13:19.26.299] [LOG] Starting MagicMirror: v2.16.0 [10.09.2021 13:19.26.304] [LOG] Loading config ... [10.09.2021 13:19.26.312] [LOG] Loading module helpers ... [10.09.2021 13:19.26.314] [LOG] No helper found for module: alert. [10.09.2021 13:19.26.478] [LOG] Initializing new module helper ... [10.09.2021 13:19.26.479] [LOG] Module helper loaded: updatenotification [10.09.2021 13:19.26.480] [LOG] No helper found for module: clock. [10.09.2021 13:19.26.626] [LOG] Initializing new module helper ... [10.09.2021 13:19.26.627] [LOG] Module helper loaded: calendar [10.09.2021 13:19.26.949] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'showdown' Require stack: - /home/pi/MagicMirror/modules/MMM-Todoist/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/mai n.js - [10.09.2021 13:19.26.950] [LOG] Loading module helpers ... [10.09.2021 13:19.26.951] [LOG] No helper found for module: alert. [10.09.2021 13:19.26.952] [LOG] Initializing new module helper ... [10.09.2021 13:19.26.953] [LOG] Module helper loaded: updatenotification [10.09.2021 13:19.26.954] [LOG] No helper found for module: clock. [10.09.2021 13:19.26.955] [LOG] Initializing new module helper ... [10.09.2021 13:19.26.955] [LOG] Module helper loaded: calendar [10.09.2021 13:19.26.957] [ERROR] App threw an error during load [10.09.2021 13:19.26.959] [ERROR] Error: Cannot find module 'showdown' Require stack: - /home/pi/MagicMirror/modules/MMM-Todoist/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/mai n.js - at Module._resolveFilename (internal/modules/cjs/loader.js:972:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/modul e-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:848:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12633) at Module.require (internal/modules/cjs/loader.js:1032:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Todoist/node_helper. js:13:18) at Module._compile (internal/modules/cjs/loader.js:1152:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10) [10.09.2021 13:19.26.961] [ERROR] Whoops! There was an uncaught exception... [10.09.2021 13:19.26.966] [ERROR] Error: Cannot find module 'showdown' Require stack: - /home/pi/MagicMirror/modules/MMM-Todoist/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/mai n.js - at Module._resolveFilename (internal/modules/cjs/loader.js:972:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:249:921) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/modul e-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:848:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12633) at Module.require (internal/modules/cjs/loader.js:1032:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Todoist/node_helper. js:13:18) at Module._compile (internal/modules/cjs/loader.js:1152:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-Todoist/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', undefined ] } [10.09.2021 13:19.26.969] [ERROR] MagicMirror will not quit, but it might be a g ood idea to check why this happened. Maybe no internet connection? [10.09.2021 13:19.26.970] [ERROR] If you think this really is an issue, please o pen an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [10.09.2021 13:19.27.230] [LOG] Launching application.
-
@ndaphne looks like you didn’t do all the installation instructions as listed by the module readme
-
@sdetweil Boy I’m not sure what I missed
I’m certain I ran the installer and the “run install” command to install dependents.
Is there something I’m just not seeing?thank you for tolerating my shortcomings here. It’s deeply appreciated.
-
@ndaphne from the install instructions
1. Navigate into your MagicMirror's modules folder and execute git clone https://github.com/cbrooker/MMM-Todoist.git. A new folder will appear navigate into it. 2. Execute npm install to install the node dependencies.
spacing is mine
step 2 was not done, or was not done where required
-
@sdetweil It works!!
I feel pretty silly now. I’m not sure how I misread that so many times… thank you so much for the help and hopefully I will pay closer attention.thank you again!