Read the statement by Michael Teeuw here.
Mirror not starting after update
-
Error: Cannot find module ‘logger’
you have to do
npm run install-mm ( in the MagicMirror folder)
after updating nodejs -
@chrisfr1976 I have just updated the upgrade script to check for node V21 and if found, upgrade to 22.9
-
@sdetweil I did the npm run install-mm already. Still the same error.
I have a copy of my SD Card. I could start from last version again only with the update script. Maybe this helps.Chris.
-
@chrisfr1976 its been reported that the upgrade script doesn’t restore the installers/MagicMirror.sh we took out of the MagicMirror repo and put in my repo
pm2 info 0
will list out the details of the managed app. it will list the program started
-
I have fixed the upgrade script to save/restore the installers folder and mm.sh
-
@sdetweil
how can I update nodejs?I have:
nodejs -v
v18.19.0
and
node -v
v20.9.0npm install nodejs@latest
does not change my nodejs version. -
@xIExodusIx what OS are you on?
lsb_release -a
and
uname -a
will showdid you use my upgrade script? it will upgrade node too
-
Raspberry Pi 4
OS = bookworm 64bit -
@xIExodusIx did you use my upgrade script?
-
@chrisfr1976 can you show me the output of thew npm run install-mm
do it this way (from the MM folder of course)
cd ~/MagicMirror npm run install-mm >somefile.txt 2>&1
then when it finishes all the output is in somefile.txt