Read the statement by Michael Teeuw here.
PM2 MM2 Not starting on start up
-
@Seregeth sorry. I hit reject on your message accidentally, please resend it
-
@sdetweil
$ pm2 status
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 1 │ MagicMirror │ fork │ 78 │ online │ 0% │ 2.6mb │
│ 0 │ mm │ fork │ 2 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
~ $ ^C
~ $ pm2 stop all
[PM2] Applying action stopProcessId on app [all](ids: [ 0, 1 ])
[PM2] mm ✓
[PM2] MagicMirror ✓
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 1 │ MagicMirror │ fork │ 117 │ stopped │ 0% │ 0b │
│ 0 │ mm │ fork │ 2 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
$ cd MagicMirror/
~/MagicMirror $ npm startmagicmirror@2.23.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.jssh: 1: ./node_modules/.bin/electron: not found
-
@Seregeth ok, try
cd ~/MagicMirror npm install electron@22.3.4
-
@sdetweil
that´s it, MM startet again after the installation -
@Seregeth cool… thx for the feedback