Read the statement by Michael Teeuw here.
MMM-Config with Message "builder encountered a problem, see MagicMirror messages for info"
-
@dphotograph i am not near my system for a couple hours
but you could try one test
in the MMM-Config folder do
node -c xxx
xxx is that defaults filename
if all is good you should get no results, and back to the prompt
i don’t See anything quick look -
@sdetweil Hello
Thank You for the fast response
it looks like there is a typo in the defaults filenode -c defaults_17951887168800.js /home/Admin/MagicMirror/modules/MMM-Config/defaults_17951887168800.js:69 language: "---!config.languag"e ^ SyntaxError: Unexpected identifier 'e' at wrapSafe (node:internal/modules/cjs/loader:1378:20) at checkSyntax (node:internal/main/check_syntax:78:3) Node.js v20.18.1
in the line 69 is this
language: "---!config.languag"e
But now that i now that can i change this my self?
if i change it myself, on the next restart “pm2 restart 0” it is back to the typo :-OThank you
-
@dphotograph also, do you know the rough change you made last? installed a module?
-
i think the last ones are
MMM_homeassistant_sensors
MMM_HomeAssistantDisplay
MMM_SteamPlaytimeUnfortunately, I was too impatient and installed three modules at once.
Typical beginner’s mistake -
i just removed the Steam Playtime from MM now it is back to normal :-)
i think i can live without it ;-)
But really! Thank You for the help to indentify the Problem :-)
-
@dphotograph thanks the discovery of all the module config contents is pretty tricky
ill look at this shortly
-
@dphotograph did you install the modules thru the MMM-Config installer?
-
@dphotograph you should have seen this in the logs, MagicMirror
startup messages--------------------MMM-Config module MMM-SteamPlaytime has an error in the construction of its defaults section the error line is language: "---!config.languag"e please change it to the literal value of the referenced variable and restart MagicMirror --------------------MMM-Config
because you are using pm2, you will have to ask to display more lines of output than the default 15
for examplepm2 logs --lines=100
100 can be any number, default is last 15…
-
@dphotograph you can use that module again now
in the MMM-Config folder do
git pull
then restart MagicMirror -