• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-soccer : black screen, problem of config.js

Scheduled Pinned Locked Moved Troubleshooting
24 Posts 3 Posters 2.6k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Away
    sdetweil @RIKKO14
    last edited by Sep 2, 2020, 5:31 PM

    @RIKKO14 ok, that is not a black screen,

    the pm2 logs says there is a missing close brace, }

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User
      last edited by A Former User Sep 2, 2020, 5:45 PM Sep 2, 2020, 5:44 PM

      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

      S 1 Reply Last reply Sep 2, 2020, 5:54 PM Reply Quote 0
      • S Away
        sdetweil @Guest
        last edited by Sep 2, 2020, 5:54 PM

        @Bugsounet no, he had a syntax error, and it loads the ‘no config’ error page

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by A Former User Sep 2, 2020, 6:03 PM Sep 2, 2020, 6:02 PM

          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 for var config = { on the start of the file

          but 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)

          1 Reply Last reply Reply Quote 0
          • R Offline
            RIKKO14
            last edited by Sep 2, 2020, 6:09 PM

            yes my config.js is this directory /home/pi/MagicMirror/config/

            the problem comes from “}” or “},” but where ???

            2020-09-02-200854_1920x1080_scrot.png

            S 1 Reply Last reply Sep 2, 2020, 6:20 PM Reply Quote 0
            • R Offline
              RIKKO14
              last edited by Sep 2, 2020, 6:13 PM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @RIKKO14
                last edited by Sep 2, 2020, 6:20 PM

                @RIKKO14 says line 392

                0|mm       |         },
                0|mm       |         ^
                0|mm       | 
                0|mm       | SyntaxError: Unexpected token }
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • R Offline
                  RIKKO14
                  last edited by Sep 2, 2020, 6:36 PM

                  I delete focus_on: { null }, and it’s good,

                  thank you very much to you 2 !

                  ? 1 Reply Last reply Sep 2, 2020, 7:41 PM Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by A Former User Sep 2, 2020, 7:28 PM Sep 2, 2020, 7:23 PM

                    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)

                    S 1 Reply Last reply Sep 2, 2020, 7:28 PM Reply Quote 0
                    • S Away
                      sdetweil @Guest
                      last edited by Sep 2, 2020, 7:28 PM

                      @Bugsounet it’s ok. u exude me all the time! lol

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        12/24
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy