@SILLEN-0 also that is the error part of the pm2 logs --lines output
when I am developing
I don’t use pm2,
I just do
in the MagicMirror folder
then all the console output is in one file.
adding the logging module will reflect all the modulename.js log statements too
AND you can debug on the mm UI , ctrl-shift-i,
select the sources tab, find your module name.js in the left nav,
and you can put stops on lines of code and step thru it