Read the statement by Michael Teeuw here.
Error when updating MagicMirror
-
Trying to update my mirror. After running git pull && npm run install-mm, I get the following error below. Now my MM wont even boot. Not sure what I messed up. Anything I can do to reset this?
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: magicmirror@2.31.0
npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.31.0
npm ERR! notsup Required: {“node”:“>=22.14.0”}
npm ERR! notsup Actual: {“npm”:“10.1.0”,“node”:“v20.8.0”} -
@bebetter14 yes, the release says we need node version 22.14 or higher, you have node 20.8
easiest is to run the upgrade script (always)
see
https://github.com/sdetweil/MagicMirror_scriptsthe upgrade script is a 2 step approach
- test - make no changes - dont kill users mirror
- do the upgrade
because you are part way, you have to use
force
as the parm instead of
applyon the second pass
because i wont let you upgrade OVER the same version . -
Thank you! This worked.
-
S sdetweil has marked this topic as solved on
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