magic21nrw / MMM-COVID19-AMPEL

This is a COVID-19 Information Extension Module for the Magic Mirror. It shows the City of your choice with the 7 day incidence value per 100k people. In Germany this is used to control the degree of lockdown activities.
https://magicmirror.builders
MIT License
12 stars 2 forks source link

Your configuration file contains syntax errors :( #2

Closed Robiv8 closed 3 years ago

Robiv8 commented 3 years ago

Describe the bug Your configuration file contains syntax errors :(

I put the original example to my config file

npm run config:check

magicmirror@2.13.0 config:check /home/pi/MagicMirror node js/check_config.js

[2020-11-06 23:44:06.641] [INFO] Checking file... /home/pi/MagicMirror/config/config.js [2020-11-06 23:44:06.783] [ERROR] Your configuration file contains syntax errors :( [2020-11-06 23:44:06.786] [ERROR] Line 47 col 5 Parsing error: Unexpected token infoRowClass

if I delete the infoRowClass Line [2020-11-06 23:46:18.902] [ERROR] Your configuration file contains syntax errors :( [2020-11-06 23:46:18.907] [ERROR] Line 48 col 5 Parsing error: Unexpected token showUpdateDateInHeader

and so on...

what's wrong?

magic21nrw commented 3 years ago

Easy solution, there is a "," missing behind the city row. Compare it with the other rows. I just need to update the config example.