Read the statement by Michael Teeuw here.
Changing compliments
-
@cruunnerr Thanks for your reply. That is where I changed the compliment and I got the error message. I am not sure what I am doing wrong.
-
post your whole config file (hide personal stuff as calendar or APIs) in a code box and i will check.
Or try it yourself by using www.jshint.com
-
@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.