Read the statement by Michael Teeuw here.
Issues with config file
-
I have managed to install the MagicMirror app and have it working. I have managed to alter the weather to my village and the news to a different source.
The issue is when I try a new module completely. It seems to corrupt my config file… “please create a config file” error. I restore a backup and it works again.
I have tried using sites to check my code and they seem to be fine. I’ve used the exact code as in Readme files for the modules and still the same error.
I have tried a few different modules and the same issue.
I think I might be missing some dependency or something similar.
What would you need to help me troubleshoot this?
-
@smalluk from the magic mirror folder do
npm config:check
Fix first error reported, run again
Repeat.
All braces and brackets must be matched, all lines should end in a comma
Text to the right of : must be in quotes
Numbers or true/false not in quotesLook at the original for examples
-
This should help you. It’s an easy read.
https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners
-
Thanks both! I’ll take a look this evening
-
-
Solved my issue with the module! Hadn’t copied to the module folder!
-
@smalluk opps. sorry there is no space between those two
npm config:check