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

"No Syntax Errors" but "Could noch validate config.file"



  • Hello there,

    I´m trying to configure my MagicMirror but unfortunately I´m completly new in this (Raspberry Pi coding).
    I installed everything according to the manual from the MagicMirror homepage and it worked fine as default.

    Afterthat I wanted to customize everything (my city for weather, calender/holidays for Germany, etc.), but thats where I´m stucked.
    I changed the “config/config.js”-file (according to the MagicMirror homepage) and had some syntax errors.
    Therefore I checked the internet and found a how-to “emilinate syntax errors for beginners” and I fixed everything and checked it with “npm run config:check” and it said “Your configuration file don´t containt syntax error :)” but when I want to start the npm I got a warning “WARNING! Could not validate config file. Please correct syntax errors. […]”.

    My Problem are:

    • I don´t know how procede with the troubleshooting
    • I don´t know how to transfer a config-file from a Raspberry Pi to a Windows 10 Computer (Remotedesktop / putty)

    I would appreciate if someone could help me.

    Best Regards

    Daniel


  • Module Developer

    @killing-joke said in “No Syntax Errors” but “Could noch validate config.file”:

    I installed everything according to the manual from the MagicMirror homepage and it worked fine as default.

    You could start here. Start with the default config again. When that is running add one module at a time using this guide

    https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners



  • Hi Mykle1,

    thanks for answering.
    I didn´t add any modules yet. Only the default modules.

    I will try that. Thanks for your help.