Read the statement by Michael Teeuw here.
Alexa Lists on Magic Mirror
-
Hello Sam,
Thank you for the response.
It is installed in the MagicMirror/Modules folder.
here are the messages after start is executed.
Its interesting how todoist is not in any of the messages.
pi@raspberrypi:~/MagicMirror $ npm run start > magicmirror@2.16.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [09.09.2021 22:29.21.454] [LOG] Starting MagicMirror: v2.16.0 [09.09.2021 22:29.21.459] [LOG] Loading config ... [09.09.2021 22:29.21.467] [LOG] Loading module helpers ... [09.09.2021 22:29.21.470] [LOG] No helper found for module: alert. [09.09.2021 22:29.21.632] [LOG] Initializing new module helper ... [09.09.2021 22:29.21.633] [LOG] Module helper loaded: updatenotification [09.09.2021 22:29.21.635] [LOG] No helper found for module: clock. [09.09.2021 22:29.21.777] [LOG] Initializing new module helper ... [09.09.2021 22:29.21.778] [LOG] Module helper loaded: calendar [09.09.2021 22:29.22.119] [LOG] Initializing new module helper ... [09.09.2021 22:29.22.121] [LOG] Module helper loaded: MMM-AirNow [09.09.2021 22:29.22.122] [LOG] No helper found for module: weather. [09.09.2021 22:29.22.151] [LOG] Initializing new module helper ... [09.09.2021 22:29.22.152] [LOG] Module helper loaded: newsfeed [09.09.2021 22:29.22.153] [LOG] All module helpers loaded. [09.09.2021 22:29.22.240] [LOG] Starting server on port 8080 ... [09.09.2021 22:29.22.255] [LOG] Server started ... [09.09.2021 22:29.22.257] [LOG] Connecting socket for: updatenotification [09.09.2021 22:29.22.258] [LOG] Connecting socket for: calendar [09.09.2021 22:29.22.260] [LOG] Starting node helper for: calendar [09.09.2021 22:29.22.261] [LOG] Connecting socket for: MMM-AirNow [09.09.2021 22:29.22.262] [LOG] MMM-AirNow helper, started... [09.09.2021 22:29.22.264] [LOG] Connecting socket for: newsfeed [09.09.2021 22:29.22.265] [LOG] Starting node helper for: newsfeed [09.09.2021 22:29.22.266] [LOG] Sockets connected & modules started ... [09.09.2021 22:29.22.534] [LOG] Launching application. -
@ndaphne can u show us the section of config.js for todoist?
-
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!
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