Read the statement by Michael Teeuw here.
MMM-update - Please help beginner and need help
-
Hi I recently up dated my Magic Mirror and then when I go to npm run start I get the following error and is doesn’t run, please help I am very ameture to all of this and don’t want to loose it all.
I have a picture because the script is so long, how do I add to chat?
-
@Rberry91 on the forum editor, the third icon from the right is for upload image
as seen in my iphone
-
@Rberry91 if you ssh in from your pc, then you can copy/paste the text
how did you upgrade? (what commands did you issue) -
This post is deleted! -
@sdetweil
Hi Sam,Unfortunately it is not on my computer so cannot copy and paste.
The command I used was - git pull && npm install --only=prod --omit=dev
-
-
@Rberry91 yes, the npm install failed, probably cause you have the wrong nodejs version
node -v
the release notes say 20.18.1 or higher
not any node 21
if you had used my upgrade script it would have handled that
-
Hi Sam,
Yes reading other articles I definitely should have used yours and will be from now on.
Is there a way to fix it? Are you able to tell me a script to use.
Thanks
-
@Rberry91 run the upgrade script with
force
as the parameter -
Is that just force at the end
So
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” force