• 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.

Hey Guys, I need help

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 4 Posters 1.9k Views 4 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
    Shisim
    last edited by Feb 18, 2018, 7:58 PM

    I tried to add some lines to the config code for the compliments, it says that i made some mistakes when i try to start the mirror… also i’m an absolute beginner… i have the file here, maybe you can help me.!0_1518983857022_Screenshot 2018-02-18 20.44.41.png

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by Feb 18, 2018, 8:33 PM

      Paste your entire code into http://jshint.com

      There seem to be some missing brackets and commas

      1 Reply Last reply Reply Quote 1
      • N Offline
        Nik
        last edited by Nik Feb 19, 2018, 4:20 PM Feb 19, 2018, 4:20 PM

        The square bracket from evening opens but didn´t closes, this seems to be the problem :)

        1 Reply Last reply Reply Quote 0
        • S Offline
          Shisim
          last edited by Feb 19, 2018, 5:29 PM

          i have insert it in jshint, but i don’t know how to fix this0_1519061147643_Screenshot 2018-02-19 18.24.39.png
          http://www7.zippyshare.com/v/a31yMg3D/file.html
          i can’t upload the config.js, but here is a zippy share link, maybe anyone can help me, i have no idea to do it myself.

          N 1 Reply Last reply Feb 19, 2018, 6:06 PM Reply Quote 0
          • N Offline
            ninjabreadman @Shisim
            last edited by Feb 19, 2018, 6:06 PM

            @Shisim It is telling you what line it’s on (e.g. 56) and also why there’s a problem (e.g. Expected ']' to match '[' from line 28 and instead saw ':'). There were a handful of missing brackets and braces.

            I’ve fixed your errors and placed the file here. I’ll leave the link live for a week or so. I’ve also left comments where you were missing brackets or braces. You will need to learn what they do and how to balance them.

            Problem with config or JavaScript? Copy/paste it into JSHint.
            Check out the detailed walkthroughs on install, config, modules, etc.

            S 1 Reply Last reply Feb 19, 2018, 6:36 PM Reply Quote 2
            • S Offline
              Shisim @ninjabreadman
              last edited by Feb 19, 2018, 6:36 PM

              @ninjabreadman thank you very much! :)

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