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.jsfile ?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:392there 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.jsis 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 !
-
balaye toute la partie doite !
ça tombe tu as caractere de caché, je vois qu’il y a une grande brarre en bas pour se déplacer, déplace la sur la droite.
Regarde toute la partie que tu n’as pas vu
il doit avoir un caractere, c’est sur et certain !@sam, sorry sometime it’s more simple between french user
I suspect a character in the right part of the file (because not displayed, he have to move the bar to the right)
-
@Bugsounet it’s ok. u exude me all the time! lol
-
complex to explain in english :(
-
@Bugsounet lol( not for me, french is harder!!)
-
lol (not a problem french …don’t know why …)
So @RIKKO14 ?
-
@RIKKO14 said in MMM-soccer : black screen, problem of config.js:
I delete
focus_on: { null },and it’s good,thank you very much to you 2 !
oupss … not see the answer :'(
-
I searched in various files in the MMM-soccer folder but could not find how to change and where to write instead:
- mmm-soccer over the line
- “Matchday” per “Journée”: 2
- “Team” by “Equipe”

do you know which files to modify ?
-
a french user make pull request for create a fr translate but … it’s not commit
so try this:
we will do a simple thing, we will override the en default file with the french value
explain:
in MMM-soccer directory, you have translation directoryedit en.json file
copy the content of this
and past it in the en.json file
of course delete all content of the en.json file and replace it with the french contentand restart the mirror !
Edit MMM-soccer will see some translation for en … it will not control and display french value :)
-
so cool, it’s good
thank you so much
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login