Read the statement by Michael Teeuw here.
config.js
-
@geo unlike windows, linux is case sensitive on filenames and command names…
here are some linux commands compared to windows
ls = dir , LS is nothing
cd = cd
rm = delete
cp = copy
mv = movealmost every command has help built in , using the --help parameter
cp --help
you can also ‘read the manual’ for commands by using the man command
man cp (to get out its the letter q)in graphical mode, gedit is a pretty decent editor
in text mode (or over ssh) i hate vi, so I use nano… but it doesn’t support mouse actions like a graphical app. -
@geo Dont delete the full Magic Mirror image and start over!
Thats a waste of time.
Instead
change directories to the Magic Mirror directory like thiscd MagicMirror (press enter)
then run this command
npm run config:check (press enter)This will run a build in linter (which is a fancy way of saying a program that checks the entries in a file to determine if there are errors)
Then view the results and the errors presented. Typicallly there is one symbol missing right above where the errors are reported. Pay attention to the line numbers that are listed where the errors start and look one or two lines up from that line number and see if you can perceive an issue.
-
Here is some help with creating a working config. It’s a short read but helpful.
https://forum.magicmirror.builders/topic/4528/how-to-create-a-working-config-for-absolute-beginners
-
@BD0G hi,great thankyou