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.
-