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

Quick Syntax Error

Scheduled Pinned Locked Moved Unsolved Troubleshooting
20 Posts 5 Posters 3.8k Views 5 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
    smartsoldier @Guest
    last edited by Aug 5, 2018, 6:21 PM

    @sean If I remove this module everything runs fine, then if I put it back this happens. Does that mean its this module or no?

    ? 1 Reply Last reply Aug 5, 2018, 6:22 PM Reply Quote 0
    • E Offline
      evroom
      last edited by Aug 5, 2018, 6:21 PM

      Are you willing to share the syntax error with us?
      I thought you were referring to the “create config file” message at startup.

      MagicMirror version: 2.30.0
      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      Test environment:
      MagicMirror version: v2.30.0
      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @smartsoldier
        last edited by Aug 5, 2018, 6:22 PM

        @smartsoldier Of course, it could be the fails of that module configuration.

        1 Reply Last reply Reply Quote 0
        • S Offline
          smartsoldier
          last edited by Aug 5, 2018, 6:26 PM

          This post is deleted!
          ? 1 Reply Last reply Aug 5, 2018, 6:31 PM Reply Quote 0
          • ? Offline
            A Former User @smartsoldier
            last edited by Aug 5, 2018, 6:31 PM

            @smartsoldier
            No error at all. I didn’t modify anything.
            0_1533493882561_2018__8__5__20_30.png

            1 Reply Last reply Reply Quote 0
            • S Offline
              smartsoldier
              last edited by Aug 5, 2018, 6:33 PM

              Well I guess that settles that. I’ll just do a reinstall. Thanks for all the help though. You responded really quickly :)

              S 1 Reply Last reply Aug 7, 2018, 12:14 AM Reply Quote 0
              • E Offline
                evroom
                last edited by Aug 5, 2018, 6:35 PM

                @smartsoldier Please edit the post with the config.js and remove your private api keys, like apiKey and dropboxAccessToken.

                MagicMirror version: 2.30.0
                Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                Test environment:
                MagicMirror version: v2.30.0
                Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                1 Reply Last reply Reply Quote 0
                • E Offline
                  evroom
                  last edited by evroom Aug 5, 2018, 7:03 PM Aug 5, 2018, 6:59 PM

                  @smartsoldier

                  I personally would not do a complete re-install, but I would re-install the modules according to their instructions.
                  Those modules would be:

                  MMM-DropboxWallpaper
                  MMM-forecast-io
                  MMM-DailyBibleVerse

                  In that order.
                  Btw, are all modules under the MagicMirror/modules directory ?
                  You yourself proofed that most stuff works.
                  @Sean proofed that your config is okay.

                  Btw, a simple ‘trick’ to disable a module is to put

                  disabled: true,

                  under the module name

                  and

                  disabled: false,

                  to enable it again.

                  Disabled:

                  module: 'MMM-DropboxWallpaper',
                  disabled: true,
                  

                  Enabled:

                  module: 'MMM-DropboxWallpaper',
                  disabled: false,
                  

                  This gives you a faster way of excluding ‘wrong’ modules.
                  Or simply to test a module, whilst leaving the config when the module is not needed.

                  MagicMirror version: 2.30.0
                  Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  Test environment:
                  MagicMirror version: v2.30.0
                  Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @smartsoldier
                    last edited by Aug 7, 2018, 12:14 AM

                    @smartsoldier cut and paste your code in the www.jslint.com

                    check single quotes, spaces

                    and test it… you should find your error quickly

                    fix, and cut/paste the results back into the config.js

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      justjim1220 Module Developer @smartsoldier
                      last edited by Aug 7, 2018, 2:22 AM

                      @smartsoldier

                      Did you try to remove the comma as I suggested?

                      Those give me fits everytime… no errors. black screen

                      "Life's Too Short To Dance With Ugly People"
                      Jim Hallock - 1995

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