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 Lists on Magic Mirror

    Scheduled Pinned Locked Moved Productivity
    12 Posts 2 Posters 2.0k 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.
    • N Offline
      ndaphne @ndaphne
      last edited by sdetweil

      @ndaphne

      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. 										
          }
      	}
      ]
      
      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @ndaphne
        last edited by

        @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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @ndaphne
          last edited by

          @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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • N Offline
            ndaphne
            last edited by

            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.
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @ndaphne
              last edited by

              @ndaphne looks like you didn’t do all the installation instructions as listed by the module readme

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                ndaphne @sdetweil
                last edited by

                @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.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @ndaphne
                  last edited by sdetweil

                  @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

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  N 1 Reply Last reply Reply Quote 0
                  • N Offline
                    ndaphne @sdetweil
                    last edited by

                    @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!

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