MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

Help debug my config please.



  • Hey,
    So I am writing my config and I keep getting the Magic Mirror screen that says your config is not right. I need a little help with the debug.

    var config = {
            port: 8080,
      
        language: 'en',
        timeFormat: 12,
        units: 'imperial',
    
        modules: [
                   {
                      module: 'clock',
                      position: 'top_left'
                   },
                   {
                      module: 'currentweather',
                      position: 'top_right',
                      config: {
                               location: 'MyCity',
                               appid:  '#####'
                              }
                    },
                    ]
        }: 
     if (typeof module !== 'undefined') [module.exports = config;}


  • @hawk13 in the second line from the bottom you used : instead of ; and in the last line you used [ instead of {