Thanks for the help!
I don’t know what happend, but I forgot to turn off the Pi during the night. This morning the Pi had crashed. I did a power-toggle and now one of the modules (the one I cleaned up regarding the “this-self”) is working.
I must look more into this.
Update: I now know what is behind the problem!!!
After a power toggle everything works OK. But when I stop and restart the MagicMirror using
pm2 stop mm
pm2 start mm
The modules stop working.
Does anybody know a better way of restarting the Magic Mirror?
I must be able to do that in order to test the changes I do to the configuration…