When I try to add modules to my magic mirror it produces a config error, and I don’t know why? also if anyone knows how to use a PIR motion sensor without crashing the whole thing and having to do a recover on it please let me know. ASAP I need this in less than 20 days…
@BandNerd1002 you should have received errors pointing to the line where the error was detected…
the config section of a module looks like this
where value can be
true or false
or a string in quotes… (either single or double as long as both are the same)
notice the comma after each value
It does not show me where the error is. I thought it would, but it doesn’t. I made sure there was a comma after each value, but it still came up with an error. I checked it and it all looked the same as the other ones with the brackets and whatnot. Any other advice?
From the mm folder run
Start w the 1st error and repeat til they go away
one more question…
If I go into the MagicMirror files enter into the config files and edit it that way, where do I run the npm config:check?
@BandNerd1002 from the MagicMirror folder ( I call it mm for short)
Do I have to do that in the pi terminal?
@BandNerd1002 no you can use ssh from another machine, or winscp to navigate to the folder and edit from your windows machine and save back…
and you can edit while in MagigcMirror , by using the path to the file
so if I run the config:check directly in the config/config.js?