Read the statement by Michael Teeuw here.
MMM-soccer : black screen, problem of config.js
-
this is my black screen,
so my pb comes from my config.js
-
-
@RIKKO14 ok, that is not a black screen,
the pm2 logs says there is a missing close brace, }
-
and where is located you
config.js
file ?It should in this directory :
/home/pi/MagicMirror/config/
For me, it’s not a black screen, I’s just because, MagicMirror don’t find you config.js file
-
@Bugsounet no, he had a syntax error, and it loads the ‘no config’ error page
-
right sam, i don’t read log
maybe, this part missing, on the end of the file
/*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
if missing, config will not be exported (like a file not there)
it’s the same forvar config = {
on the start of the filebut by reading the error log:
/home/pi/MagicMirror/config/config.js:392
there is an error before this ligne (generaly on line-1 … so line 391)
So, can you past there your config From line 380 to 410 (don’t forget to remove personal ident)
-
yes my
config.js
is this directory/home/pi/MagicMirror/config/
the problem comes from “}” or “},” but where ???
-
This post is deleted! -
@RIKKO14 says line 392
0|mm | }, 0|mm | ^ 0|mm | 0|mm | SyntaxError: Unexpected token }
-
I delete
focus_on: { null },
and it’s good,thank you very much to you 2 !