• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Error when updating MagicMirror

Scheduled Pinned Locked Moved Solved Troubleshooting
3 Posts 2 Posters 167 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    bebetter14
    last edited by sdetweil May 3, 2025, 3:57 PM May 3, 2025, 12:01 PM

    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”}

    S 1 Reply Last reply May 3, 2025, 12:09 PM Reply Quote 0
    • S Offline
      sdetweil @bebetter14
      last edited by sdetweil May 3, 2025, 12:16 PM May 3, 2025, 12:09 PM

      @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_scripts

      the upgrade script is a 2 step approach

      1. test - make no changes - dont kill users mirror
      2. do the upgrade

      because you are part way, you have to use
      force
      as the parm instead of
      apply

      on the second pass
      because i wont let you upgrade OVER the same version .

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        bebetter14
        last edited by May 3, 2025, 3:49 PM

        Thank you! This worked.

        1 Reply Last reply Reply Quote 1
        • S sdetweil has marked this topic as solved on May 3, 2025, 3:56 PM
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy