Read the statement by Michael Teeuw here.
magic mirror 2 config.js file
-
@elaineezhu that all looks good… where is that config.js file located? it MUST be in the
~/MagicMirror/config folder -
@elaineezhu it looks to me like you may need to use quotes (“) around module name and position instead of apostrophe (‘). I can’t verify this makes a difference because I am not able to test it.
-
@cskenney single or double quote is ok, long as they are the same
-
@sdetweil good to know. Thanks!
-
@sdetweil yeah it’s in the config folder, but it still won’t run, as shown in the pictures attached
perhaps i’m rerunning magic mirror wrongly? if so, what’s the correct command line to run it?
-
@elaineezhu i built a matching config and it works fine…
if using pm2, then pm2 restart 0
if not using pm2 thencd ~/MagicMirror npm start
-
@sdetweil hm, i’ve done that but the compliments displayed are still the default one, even after editing the code.
-
@elaineezhu can u do a pm2 status ?
even after editing the code.
what does that mean? config/config.js or modules/default/compliments/compliments.js?
-
is MM running ON the mac?
-
@sdetweil editing the code as in editing the config.js file.
that’s what happens when i do pm2 restart 0 and pm2 status