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 3.0k 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.
    • ? Offline
      A Former User
      last edited by A Former User

      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

        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 Reply Quote 0
        • R Offline
          RIKKO14
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @RIKKO14
            last edited by

            @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

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

              thank you very much to you 2 !

              ? 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by A Former User

                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 Reply Quote 0
                • S Offline
                  sdetweil @Guest
                  last edited by

                  @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
                  • ? Offline
                    A Former User
                    last edited by

                    complex to explain in english :(

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Guest
                      last edited by

                      @Bugsounet lol( not for me, french is harder!!)

                      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

                        lol (not a problem french …don’t know why …)

                        So @RIKKO14 ?

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          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