Read the statement by Michael Teeuw here.
Config.js file Syntax
-
@Mykle1 Yes, the file is there, same directory as the one shown above
-
@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 :)
-
@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. -
@amosh83 Did you post the exact config.js file. If so you’re missing a “/” on the first line.
-
-
@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
-
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!
-
@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
-
@Mykle1 not necessarily, you can install the mirror in every directory you like
-
@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!?