That is what I got when i did a pm2 stop all.
Read the statement by Michael Teeuw here.
Posts
-
RE: pm2 and MagicMirror stopped
pi@raspberrypi:~/MagicMirror $ npm stop all
npm ERR! Missing script: “stop”
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm runnpm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-08-05T23_00_11_817Z-debug-0.log
pi@raspberrypi:~/MagicMirror $ -
pm2 and MagicMirror stopped
I don’t think I did anything to cause it but all of a sudden when I do pm2 start MagicMirror it says that pm2 has started MagicMirror but that is as far as it gets. The panel says status is online and memory using 2.6mb but the mirror never starts. I’ve rebooted, I’ve shutdown and started from scratch and nothing seems to help… I tried to do a search on not starting but must not have asked the right question.
Anyone ever have this problem?
Dennis -
RE: Screen turning off
@N6NG I get an error from the line that looks like this.
on_event_start /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion started
which is line 47 which shows this error.
[ERROR] Line 47 column 19: Parsing error: Unexpected token /
That’s the / in front of the home/pi/MagicMirror…
Can’t see why that would be a problem. -
RE: Screen turning off
@N6NG I also don’t understand how this would keep the Monitor from turning off after 15 minutes? I need to turn off the auto off somehow.
-
RE: Screen turning off
@N6NG I have the MMM-SleepWake installed. I have the config.js installed. Now I have to tie it to the MMM-PIR-Sensor-Lite module.
I’ve got the 2lines in the config.js
But what is in place of the /external_motion start and end from the PIR module?on_event_start /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion started
on_event_end /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion ended