• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Magic Mirror 2 - Please create a config file error

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 3 Posters 7.1k Views 3 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.
  • R Offline
    Rpickp
    last edited by Apr 9, 2018, 2:39 PM

    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 Offline
      cyberphox
      last edited by Apr 9, 2018, 3:03 PM

      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
      • M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by Apr 9, 2018, 5:42 PM

        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 Apr 9, 2018, 6:02 PM Reply Quote 1
        • R Offline
          Rpickp
          last edited by Apr 9, 2018, 5:48 PM

          @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?

          M 1 Reply Last reply Apr 9, 2018, 7:34 PM Reply Quote 0
          • R Offline
            Rpickp @Mykle1
            last edited by Apr 9, 2018, 6:02 PM

            @Mykle1

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

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @Rpickp
              last edited by Apr 9, 2018, 7:34 PM

              @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 Apr 10, 2018, 12:36 AM Reply Quote 1
              • R Offline
                Rpickp @Mykle1
                last edited by Apr 10, 2018, 12:36 AM

                @Mykle1

                It worked! Thank you so much!

                M 1 Reply Last reply Apr 10, 2018, 1:22 AM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @Rpickp
                  last edited by Apr 10, 2018, 1:22 AM

                  @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
                  1 / 1
                  • First post
                    7/8
                    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