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.

    Upgrade

    Scheduled Pinned Locked Moved Bug Hunt
    23 Posts 5 Posters 3.5k Views 5 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.
    • karsten13K Offline
      karsten13 @sdetweil
      last edited by

      @sdetweil I did it on github, will write a test for this so that we see it prior to release

      1 Reply Last reply Reply Quote 2
      • mumblebajM Offline
        mumblebaj Module Developer @sdetweil
        last edited by

        @sdetweil No worries. I will check tomorrow after work and downgrade node and install again. Will advise

        Check out my modules at: https://github.com/mumblebaj?tab=repositories
        Check my blog-post: https://mumblebaj.xyz/
        Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @mumblebaj
          last edited by

          @mumblebaj if you have nvm or n installed (I detect nvm, install n )

          do this

          sudo n
          

          it might give you a list, then pick the right one 22.21.1

          if not there, then

          sudo n 22.21.1
          

          to install it

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          mumblebajM msimon360M 2 Replies Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @sdetweil
            last edited by

            @sdetweil Just ran it quickly and it seems like it installed 22.22.2

            mumble@pi:~ $ sudo n
                 copying : node/22.21.1
               installed : v22.21.1 (with npm 10.9.4)
            mumble@pi:~ $ node -v
            v22.21.1
            mumble@pi:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
            update log will be in /home/mumble/MagicMirror/installers/upgrade.log
            doing test run = false
            Node currently installed. Checking version number.
            Minimum Node version: v22.22.2
            Installed Node version: v22.21.1
            installing correct version of node and npm, please wait
            Check current Node installation ...
            Node currently installed. Checking version number.
            Minimum Node version: v22.21.1
            Installed Node version: v22.22.2
            No Node.js upgrade necessary.
            Check current NPM installation ...
            NPM currently installed. Checking version number.
            Minimum npm version: V10.9.7
            Installed npm version: V10.9.7
            No npm upgrade necessary.
            
            
            upgrading from version 2.37.0 to 2.37.0
            force: line 762: pm2: command not found
            some node app still running, please shutdown those apps, maybe MagicMirror, and restart
            here is a list of those processes
            

            Check out my modules at: https://github.com/mumblebaj?tab=repositories
            Check my blog-post: https://mumblebaj.xyz/
            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

            1 Reply Last reply Reply Quote 0
            • msimon360M Offline
              msimon360 @sdetweil
              last edited by

              @sdetweil Just and FYI, I just tried a fresh install and got the same issue with node.
              marksimon@digiframe:~ $ git clone https://github.com/MagicMirrorOrg/MagicMirror.git
              Cloning into ‘MagicMirror’…
              remote: Enumerating objects: 31023, done.
              remote: Counting objects: 100% (5/5), done.
              remote: Compressing objects: 100% (3/3), done.
              remote: Total 31023 (delta 2), reused 2 (delta 2), pack-reused 31018 (from 2)
              Receiving objects: 100% (31023/31023), 26.41 MiB | 2.15 MiB/s, done.
              Resolving deltas: 100% (19515/19515), done.
              marksimon@digiframe:~ $ cd MagicMirror/
              marksimon@digiframe:~/MagicMirror $ node --run install-mm
              npm error code EBADENGINE
              npm error engine Unsupported engine
              npm error engine Not compatible with your version of node/npm: eslint-plugin-package-json@1.5.0
              npm error notsup Not compatible with your version of node/npm: eslint-plugin-package-json@1.5.0
              npm error notsup Required: {“node”:“^22.22.2 || >=24.15.0”}
              npm error notsup Actual: {“npm”:“10.9.4”,“node”:“v22.21.1”}

              Then I tried using the script and it installed node v22.22.2 and looks like it is working.
              marksimon@digiframe:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” force
              update log will be in /home/marksimon/MagicMirror/installers/upgrade.log
              doing test run = false
              Node currently installed. Checking version number.
              Minimum Node version: v22.22.2
              Installed Node version: v22.21.1
              installing correct version of node and npm, please wait
              Check current Node installation …
              Node currently installed. Checking version number.
              Minimum Node version: v22.21.1
              Installed Node version: v22.22.2

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @msimon360
                last edited by

                @msimon360 said:

                Just and FYI, I just tried a fresh install and got the same issue with node.

                yes, you didn’t use the install script you did it manually

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                mumblebajM 1 Reply Last reply Reply Quote 0
                • mumblebajM Offline
                  mumblebaj Module Developer @sdetweil
                  last edited by

                  @sdetweil I see some major changes coming down the line for npm v12.

                  https://github.blog/changelog/2026-07-08-npm-install-time-security-and-gat-bypass2fa-deprecation/

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                  Check my blog-post: https://mumblebaj.xyz/
                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @mumblebaj
                    last edited by

                    @mumblebaj yeh, I was working on a mobile app last weekend
                    It had npm 11 installed ( windows) and had all the acceptscript problems

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    mumblebajM 1 Reply Last reply Reply Quote 0
                    • mumblebajM Offline
                      mumblebaj Module Developer @sdetweil
                      last edited by

                      @sdetweil Yeah, warnings come from 11.16.0+

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                      Check my blog-post: https://mumblebaj.xyz/
                      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @mumblebaj
                        last edited by

                        @mumblebaj on windows these were NOT warnings… I actually had to run different tasks to get the scripts allowed/approved… I hadn’t expected that in npm 11…

                        same problem as always, some scammers leveraged the automation tools to do damage and now we all have to pay for it…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 1

                        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
                        • 1
                        • 2
                        • 2 / 2
                        • 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