Read the statement by Michael Teeuw here.
Are you tired of editing config.js, or have trouble doing it, see my new module
-
@stoffel are you using the MM url
http://mm_address:mm_port/modules/MMM-Config/config.html
got your files… this will take some thinking…
compliments_plus has a data item with lots of .
"..--..--...."
the forming system can’t handle the dots in the naming scheme
cause it sees the dots as part of the name, not a literal…regular compliments has them as LEADING only, and I can trick it…
compliments plus has trailing and/or embedded…currently there is no escaping mechanism…
I opened issued
https://github.com/sdetweil/MMM-Config/issues/8 -
i’v tryed with my address, the same.
the “…–…–…” are original here
but this], '01-01-....': [ null ], '..-..-....': [ null ]
is the result of MMM-Remote-Control module (edit config), i’v changed it to original
"01-01-....": [ function() {return "<i class=\"fa fa-glass-cheers\"></i> Happy New Year! " + moment().format("YYYY")} ], "..-..-....": [ function() {return moment().locale(config.language).format("dddd, D MMMM")} // https://forum.magicmirror.builders/topic/13332/reloading-config-defaults-or-module ],
the same problem
i have searched here for the missing file, nothing.i am testing again ;-)
thanks for your help
-
@stoffel the missing file is not involved…
if the name contains a ‘.’ , it breaks the system. the only example I had was compliments, which had leading dots…
-
Wow!
Great module! I just checked out compatibility with my modules and am very impressed.
I’ll leave you some feedback on GitHub. -
ok, but it works with this 2 variante.
what system breaks ? mm or MMM-Config ?
i’v comment out the compliments_plus modul in the config.js but is the same result
-
@stoffel MMM-Config … MM is happy
did the collector crash again, where u start MM, npm start or pm2 logs --lines=100
-
autostart with pm2
-
@sdetweil
ok, what i see is when i start mm with npm start it loads all modules what i have installt not only from the config.js (i use now the default config.js from mm). Next i delete all moduls what i not needed. -
@stoffel sorry, I do not understand
if there is a collector error, you should see something like
/home/sam/mmm-config/scripts/buildschema3.js:619 return data[left]; ^ TypeError: Cannot read property 'feeds' of undefined at get_define_info (/home/sam/mmm-config/scripts/buildschema3.js:619:14) at /home/sam/mmm-config/scripts/buildschema3.js:415:29 at Array.forEach (<anonymous>) at Object.<anonymous> (/home/sam/mmm-config/scripts/buildschema3.js:405:24)
-
ok, i think so,
0|MagicMirror | stderr 2: /home/pi/MagicMirror/modules/MMM-Config/scripts/buildschema3.js:595 0|MagicMirror | let tt = data[left]; 0|MagicMirror | ^ 0|MagicMirror | TypeError: Cannot read property '' of undefined 0|MagicMirror | at get_define_info (/home/pi/MagicMirror/modules/MMM-Config/scripts/buildschema3.js:595:18) 0|MagicMirror | at get_define_info (/home/pi/MagicMirror/modules/MMM-Config/scripts/buildschema3.js:599:12) 0|MagicMirror | at get_define_info (/home/pi/MagicMirror/modules/MMM-Config/scripts/buildschema3.js:599:12)
look at page 2 the 2. post