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

Config.js file Syntax

Scheduled Pinned Locked Moved Unsolved Troubleshooting
26 Posts 7 Posters 23.0k Views 6 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.
  • A Offline
    amosh83 @Mykle1
    last edited by Jul 7, 2017, 2:32 AM

    @Mykle1 I just didn’t modify a thing from that file, just to make it work, once I see it up and running I’ll slowly customize it. I’m in Pennsylvania :)

    1 Reply Last reply Reply Quote 1
    • M Offline
      Mykle1 Project Sponsor Module Developer @bhepler
      last edited by Jul 7, 2017, 11:21 AM

      @bhepler said in Config.js file Syntax:

      @amosh83 - Well, progress. You have a config.js file in the right place and it’s passing the syntax checks.

      Maybe I should have paid more attention while reading. I see now that I asked something that you had already established. My bad.

      I am extremely curious to see how MM can report "Please create a config file. See README for more information. If you get this message while your config file is already created, your config file probably contains an error." when there is a working config in the proper directory.

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • L Offline
        letsirk @amosh83
        last edited by Jul 7, 2017, 2:39 PM

        @amosh83 Did you post the exact config.js file. If so you’re missing a “/” on the first line.

        A 1 Reply Last reply Jul 7, 2017, 4:33 PM Reply Quote 1
        • A Offline
          amosh83 @letsirk
          last edited by Jul 7, 2017, 4:33 PM

          @letsirk YES!!!
          I MADE IT!!! turns out that all I was missing was that “/”, are you kidding me??? ahahah

          I’m so thankful to ALL of you, I’ve never touched a Terminal in my life and I managed to do this with manual installation all thanks to you geniuses!!!
          Thank you
          @Mykle1 @bhepler @letsirk

          M 1 Reply Last reply Jul 7, 2017, 8:30 PM Reply Quote 2
          • M Offline
            Mykle1 Project Sponsor Module Developer @amosh83
            last edited by Jul 7, 2017, 8:30 PM

            @amosh83 said in Config.js file Syntax:

            all I was missing was that “/”,

            Ahh, you missed when you copied and pasted. That’s fairly common.

            are you kidding me???

            Now where have I heard this before? Oh yeah, I said it!

            Enjoy your mirror

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • J Offline
              jade
              last edited by Jul 13, 2017, 10:00 AM

              I’m having this exact problem, but I’ve used a linter to check for errors and there are none, and my file is in /var/www/html/MagicMirror/config/config.js, I have no idea what I’m doing wrong!

              M 1 Reply Last reply Jul 13, 2017, 11:14 AM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @jade
                last edited by Jul 13, 2017, 11:14 AM

                @jade said in Config.js file Syntax:

                my file is in /var/www/html/MagicMirror/config/config.js,

                Your installation of MM belongs as follows, and so the path to your config.js file

                pi@raspberry ~/MagicMirror/config/config.js

                Then we can work on your config.js if need be

                Create a working config
                How to add modules

                S J 2 Replies Last reply Jul 13, 2017, 8:32 PM Reply Quote 0
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @Mykle1
                  last edited by Jul 13, 2017, 8:32 PM

                  @Mykle1 not necessarily, you can install the mirror in every directory you like

                  Please create a github issue if you need help, so I can keep track

                  A 1 Reply Last reply Jul 13, 2017, 8:36 PM Reply Quote 0
                  • A Offline
                    Anhalter42 @strawberry 3.141
                    last edited by Jul 13, 2017, 8:36 PM

                    @strawberry-3.141 … except for directories with different read/write permissions. Not a linux expert, but I guess this includes /var/ in its default status!?

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer
                      last edited by Jul 13, 2017, 9:46 PM

                      I was referring to this forums very own “Complete Setup Tutorial.” Specifically, this:
                      https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6

                      I guess I shouldn’t assume that everyone follows the installation procedure.

                      Create a working config
                      How to add modules

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