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.

    MMM-update - Please help beginner and need help

    Scheduled Pinned Locked Moved General Discussion
    17 Posts 2 Posters 1.7k 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.
    • R Offline
      Rberry91
      last edited by

      Hi I recently up dated my Magic Mirror and then when I go to npm run start I get the following error and is doesn’t run, please help I am very ameture to all of this and don’t want to loose it all.

      I have a picture because the script is so long, how do I add to chat?

      S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Rberry91
        last edited by

        @Rberry91 on the forum editor, the third icon from the right is for upload image

        as seen in my iphone

        IMG_0820.png

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @Rberry91 if you ssh in from your pc, then you can copy/paste the text
          how did you upgrade? (what commands did you issue)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 3 Replies Last reply Reply Quote 0
          • R Offline
            Rberry91 @sdetweil
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • R Offline
              Rberry91 @sdetweil
              last edited by

              @sdetweil
              Hi Sam,

              Unfortunately it is not on my computer so cannot copy and paste.

              The command I used was - git pull && npm install --only=prod --omit=dev

              1 Reply Last reply Reply Quote 0
              • R Offline
                Rberry91 @sdetweil
                last edited by

                Screenshot_20250304_180725_Gallery.jpg

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

                  @Rberry91 yes, the npm install failed, probably cause you have the wrong nodejs version

                  node -v

                  the release notes say 20.18.1 or higher

                  not any node 21

                  if you had used my upgrade script it would have handled that

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    Rberry91 @sdetweil
                    last edited by

                    @sdetweil

                    Hi Sam,

                    Yes reading other articles I definitely should have used yours and will be from now on.

                    Is there a way to fix it? Are you able to tell me a script to use.

                    Thanks

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

                      @Rberry91 run the upgrade script with
                      force
                      as the parameter

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        Rberry91 @sdetweil
                        last edited by sdetweil

                        @sdetweil

                        Is that just force at the end

                        So

                        bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” force

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 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