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

      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 Reply Quote 0
      • S Away
        sdetweil @bebetter14
        last edited by sdetweil

        @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

          Thank you! This worked.

          1 Reply Last reply Reply Quote 1
          • S sdetweil has marked this topic as solved
          • 1 / 1
          • First post
            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