@rudibarani said in Adding new modules leads to irreversible error:
Any ideas, how to avoid / repair this?
It sounds to me as if you’re able to get MM up and running, at least sometimes and that you’re problem occurs when attempting to add other modules. Is this the case? If so, then it is the manner in which you add the modules that is suspect. Are you cloning the modules into your `MagicMirror/modules $ directory?
Example:
pi@Pi3:~/MagicMirror/modules $ git clone https://github.com/mykle1/MMM-Events.git
Then, when adding your module entry into the config.js file you have to be precise. If you make a mistake there then your mirror won’t run but it doesn’t mean you need to reinstall. And simply deleting the module won’t help unless you delete or correct the problem from the config.js file.
Start with a new copy of the config.js.sample file and rename it to config.js. Then when you add a new module to that you can copy and paste it here and I/we’ll check it for you