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.

    Trying to update to version 2.25

    Scheduled Pinned Locked Moved Solved Troubleshooting
    13 Posts 2 Posters 3.6k 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.
    • V Offline
      vandam3b
      last edited by

      Hi, I am trying to update to version 2.25. I am not a coder by any stretch. I typed this in (git pull && npm run install-mm) and received this message:
      hint: Pulling without specifying how to reconcile divergent branches is
      hint: discouraged. You can squelch this message by running one of the following
      hint: commands sometime before your next pull:
      hint:
      hint: git config pull.rebase false # merge (the default strategy)
      hint: git config pull.rebase true # rebase
      hint: git config pull.ff only # fast-forward only
      hint:
      hint: You can replace “git config” with “git config --global” to set a default
      hint: preference for all repositories. You can also pass --rebase, --no-rebase,
      hint: or --ff-only on the command line to override the configured default per
      hint: invocation.
      Updating e87f50e6…343e7de7
      error: Your local changes to the following files would be overwritten by merge:
      package-lock.json
      Please commit your changes or stash them before you merge.
      Aborting

      Any help would be appreciated. Thank you.

      S 1 Reply Last reply Reply Quote 0
      • V Offline
        vandam3b
        last edited by

        Hi, I just wanted to let you know. I used your script to reinstall and all went well. Thanks again.

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

          @vandam3b how did you install mm?

          manual or with my script?
          see
          https://github.com/sdetweil/MagicMirror_scripts

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • V Offline
            vandam3b
            last edited by

            Hi, I installed it manually.

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

              @vandam3b rename the MagicMirror folder to some other name

              and then run my install script.

              I don’t know why your git config has this problem

              or maybe restore this file
              package-lock.json

              git checkout package-lock.json
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • V Offline
                vandam3b
                last edited by

                I will give it a try. Thank you very much.

                V 1 Reply Last reply Reply Quote 0
                • V Offline
                  vandam3b @vandam3b
                  last edited by

                  @vandam3b
                  Hi, I installed your scripts and now get this when I try to run MagicMirror with npm start.

                  magicmirror@2.25.0 start
                  DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

                  sh: 1: ./node_modules/.bin/electron: not found
                  Any help would be appreciated. Thank you.

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

                    @vandam3b what platform is this?
                    can u send me the ~/install.log to my email
                    same userid at gmail

                    try this too

                    cd ~/MagicMirror
                    npm install electron@26.2.4
                    

                    then if its sucessful
                    npm start

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      vandam3b
                      last edited by

                      Hi, I tried it but I still got the same error. I don’t know where to find the install.log. I appreciate your help and do not want to take any more of your time. I will just uninstall everything and then start from scratch. Thanks again.

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

                        @vandam3b use my install script after u flash the SD card again

                        see
                        https://github.com/sdetweil/MagicMirror_scripts/tree/master

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • V Offline
                          vandam3b
                          last edited by

                          I will. Thanks

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

                            @vandam3b said in Trying to update to version 2.25:

                            I appreciate your help and do not want to take any more of your time.

                            thats why I am here… to help

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • V Offline
                              vandam3b
                              last edited by

                              Hi, I just wanted to let you know. I used your script to reinstall and all went well. Thanks again.

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

                                @vandam3b cool, thanks for the feedback!

                                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