Read the statement by Michael Teeuw here.
MM startup problem after update
-
@BKeyport No I didn’t have a black screen, I ran the script I didn’t get an error message I updated about 2 hours ago, I updated again the update an hour ago but MM still does not want to start I don’t understand why thank you for your help
-
@manu85340 logs
pm2 stop all
cd ~/MagicMirror
npm startpm2 logs --lines=50
also might tell usI’ve seen some troubles w pm2 lately not on pi os, but maybe here too now
-
@manu85340 also try this
sudo npm install -g pm2@latest pm2 update sudo reboot -
@sdetweil Hi Stan, I’m happy to read you (every time I have problems :-)) here are the screenshots of what you asked me to do



-
-
@sdetweil I’m stuck at this level

-
-
@manu85340 but what about npm start??
-
@sdetweil I get this message when I run npm start

-
@manu85340 ok, show output of
uname -a -
-
@manu85340 did you do the electron install I provided?
if so can you do it again and show me the output?
if you do all this over ssh, then you have text you can copy/paste instead of pics. which are hard to read
-
@sdetweil ok sorry for the screenshots
pi@MagicMirror:~ $ pm2 stop all [PM2] Applying action stopProcessId on app [all](ids: [ 0 ]) [PM2] [mm](0) ✓ ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ mm │ fork │ 685 │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@MagicMirror:~ $ cd ~/MagicMirror pi@MagicMirror:~/MagicMirror $ npm install electron@31.1.0 npm ERR! code EBADENGINE npm ERR! engine Unsupported engine npm ERR! engine Not compatible with your version of node/npm: magicmirror@2.28.0 npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.28.0 npm ERR! notsup Required: {"node":">=20"} npm ERR! notsup Actual: {"npm":"9.8.1","node":"v18.18.0"} npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-07 -01T13_05_28_653Z-debug-0.log pi@MagicMirror:~/MagicMirror $ -
@manu85340 ok, upgrade didn’t upgrade nodejs…
-
-
pi@MagicMirror:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster pi@MagicMirror:~ $ -
@sdetweil do you need installers/update.log by email?
-
@manu85340 ok. script forces node 18 on buster. hang on. I’ll debug
could u give me output of command n
it might say unknown
or give a list -
@sdetweil I typed “n” and there is nothing
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

