Read the statement by Michael Teeuw here.
PM2 error
-
I have the exact same issue. Have you found a fix for this?
-
Have you tried reinstalling pm2 or installing the latest version?
sudo npm install pm2@latest -g
I can’t find the line mentioned in the file /usr/lib/node_modules/pm2.
So better reinstall I guess… -
@lavolp3 I have not, right now my workaround is not using pm2 at all and just starting Magic Mirror with DISPLAY=:0 npm start
-
tried re-installing, same issue
-
@status-board how do I do this
-
@dawookie1979 @Status-Board
can you please explain again how (the command) and from which folder you have installed pm2?
And what is your system running? -
i have tried installing pm2 using sudo npm install pm2@latest -g command, either to the root directory or within magic mirror directory.
i am running raspberry pi3 Magic Mirror 2.5
-
@dawookie1979 - At a guess, it looks like pm2 is not compatible with the version of node that you have on your pi. I would try upgrading node then re-running the
pm2 startup
command. -
thanks, i will try that. Can you give me the command / commands to run this node update.
-