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-Config with Message "builder encountered a problem, see MagicMirror messages for info"

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 2 Posters 1.0k Views 2 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 Offline
      sdetweil @dphotograph
      last edited by

      @dphotograph can you show the rest of the startup messages please

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil Hello

          Thank You for the fast response
          it looks like there is a typo in the defaults file

          node -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 :-O

          Thank you

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

            @dphotograph also, do you know the rough change you made last? installed a module?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 2 Replies Last reply Reply Quote 0
            • D Offline
              dphotograph @sdetweil
              last edited by

              @sdetweil

              i think the last ones are

              MMM_homeassistant_sensors
              MMM_HomeAssistantDisplay
              MMM_SteamPlaytime

              Unfortunately, I was too impatient and installed three modules at once.
              Typical beginner’s mistake

              1 Reply Last reply Reply Quote 0
              • D Offline
                dphotograph @sdetweil
                last edited by

                @sdetweil

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

                S 3 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @dphotograph
                  last edited by

                  @dphotograph thanks the discovery of all the module config contents is pretty tricky

                  ill look at this shortly

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @dphotograph did you install the modules thru the MMM-Config installer?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @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 example

                      pm2 logs --lines=100 
                      

                      100 can be any number, default is last 15…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @dphotograph you can use that module again now

                        in the MMM-Config folder do
                        git pull
                        then restart MagicMirror

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • S sdetweil has marked this topic as solved on
                        • 1
                        • 2
                        • 1 / 2
                        • 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