MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

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 {