Magic Mirror 2 - Please create a config file error
-
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?
-
did you name it correctly? config.js and not config.js.sample
-
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
-
@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?
-
Great! I will go back and give this a try.
-
@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, cleanconfig.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
-
It worked! Thank you so much!
-
@Rpickp said in Magic Mirror 2 - Please create a config file error:
It worked! Thank you so much!
Excellent!