MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Magic Mirror 2 - Please create a config file error

    Troubleshooting
    3
    8
    6216
    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.
    • R
      Rpickp last edited by

      I was able to set up the MagicMirror and I was editing the modules when i got this error. Tried to fix it but eventually gave up and pasted the sample config file from GitHub thinking it would fix the problem but it didnt work. What am I doing wrong?

      Can I just uninstall the MagicMirror?

      Why didnt the sample config file fix the problem? Is the config file modified when I install it?

      1 Reply Last reply Reply Quote 0
      • C
        cyberphox last edited by

        did you name it correctly? config.js and not config.js.sample

        Full time Dad, DJ and entertainer and lover of technology.

        1 Reply Last reply Reply Quote 1
        • Mykle1
          Mykle1 Project Sponsor Module Developer last edited by

          Unless the sample has been modified. 😕

          In which case, you would procure a fresh config.js.sample file from the repo and follow these directions

          https://forum.magicmirror.builders/topic/4528/how-to-create-a-working-config-for-absolute-beginners

          Create a working config
          How to add modules

          R 1 Reply Last reply Reply Quote 1
          • R
            Rpickp last edited by

            @cyberphox said in Magic Mirror 2 - Please create a config file error:

            config.js

            I used the installer script i think it was already renamed. Should I make any changes in the config file?

            Mykle1 1 Reply Last reply Reply Quote 0
            • R
              Rpickp @Mykle1 last edited by

              @Mykle1

              Great! I will go back and give this a try.

              1 Reply Last reply Reply Quote 0
              • Mykle1
                Mykle1 Project Sponsor Module Developer @Rpickp last edited by

                @Rpickp said in Magic Mirror 2 - Please create a config file error:

                I used the installer script i think it was already renamed. Should I make any changes in the config file?

                What you should get from the installation of MM is a file called config.js.sample. If you no longer have this file then it is likely that you renamed it instead of copying it and renaming the copy. Once you obtain a new, clean config.js.sample you can follow the directions in the link I gave you.

                Yes, you can make any changes you like to the config.js file once you’ve followed the directions above

                Create a working config
                How to add modules

                R 1 Reply Last reply Reply Quote 1
                • R
                  Rpickp @Mykle1 last edited by

                  @Mykle1

                  It worked! Thank you so much!

                  Mykle1 1 Reply Last reply Reply Quote 0
                  • Mykle1
                    Mykle1 Project Sponsor Module Developer @Rpickp last edited by

                    @Rpickp said in Magic Mirror 2 - Please create a config file error:

                    It worked! Thank you so much!

                    Excellent! 🙂

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy