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.

    Parsing error: Unexpected token {

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 537 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 @Dawcio232v2
      last edited by sdetweil

      @Dawcio232v2

                      {
                             module: 'MMM-ProfileSwitcher',
                             config: {
                                      // See 'Configuration options' for more information.
      ---missing close brace for config: {----
                      },
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil it dosent work!
        Zrzut ekranu 2024-12-01 183551.png

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

          @Dawcio232v2 can you run the config checker

          npm run config:check 
          

          find the line it complains about, go back 1 and see if it is correct
          sometimes it is missing a trailing comma

          here is was a ,issing close brace }

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • D Offline
            Dawcio232v2
            last edited by

            Zrzut ekranu 2024-12-07 100221.png

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

              @Dawcio232v2 paste the text. Pictures don’t help

              Show the config, find line 82 and look for a missing trailing comma on line 81

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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