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.

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

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 1.8k 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.
    • K Offline
      killing joke
      last edited by

      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

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @killing joke
        last edited by

        @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

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • K Offline
          killing joke
          last edited by

          Hi Mykle1,

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

          I will try that. Thanks for your help.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • 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