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 4.1k 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
                        • S Offline
                          sdetweil @Rberry91
                          last edited by

                          @Rberry91 correct

                          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

                            @sdetweil
                            Thank you so much it worked 😃

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

                              @sdetweil
                              Hi Sam,
                              Unfortunately when I run the magic mirror I am now getting invalid date for my weather?

                              Would you be able to help?

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

                                @sdetweil 20250305_212449.jpg 20250305_175006.jpg

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

                                  @Rberry91 the openweather apikey is defaulted to version 3
                                  which requires a credit card

                                  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

                                    @Rberry91 also see
                                    https://forum.magicmirror.builders/topic/19323/version-2-30-0-weather-module-stuck-loading-worked-fine-before-upgrade

                                    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

                                      @Rberry91 did you fix this?

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0

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