Read the statement by Michael Teeuw here.
Changing compliments
-
@Stacy you have a synthax error in the config. Just check it by running
npm run config:check
from the magicmirror directory.
OR post your compliments part of the config here. -
@lavolp3 after I make changes to config/config.J’s did I save it as the same file or give it a new name?
-
@Stacy do I
-
@Stacy save it as the same file. But please do not use windows programs like word or wordpad to edit it. They will break the file. In windows you should use e.g. notepad or notepad++. On debian/raspbian you can use whatever you like
-
@lavolp3 thanks. I am using nano.
-
@Stacy so, just to clear, I go to modules folder, then default, then compliments, then compliments.js. to edit?
-
@lavolp3 so I go to modules, default, compliments, and change it there? I just want to make sure I am in the right folder. Thank u SO much for helping.
-
@Stacy No.
I thought you had changed the config/config.js file. This is the central MM config file. If there is one synthax error in this file, the mirror won’t load. Post the content of that here without personal info (like API keys or passwords) OR go into the magicmirror folder and do “npm run config:check”, which will tell you where the error is. -
@lavolp3 so how do I get to the modules to change them?
-
MagicMirror/config/config.js is the file you want to edit.
If you edit the actual modules files (which is not recommended) then you risk breaking MM altogether.