• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 2.0k 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 Oct 11, 2023, 1:07 AM

    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 Oct 11, 2023, 2:18 AM Reply Quote 0
    • V Offline
      vandam3b
      last edited by Oct 26, 2023, 2:14 PM

      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 Oct 26, 2023, 2:15 PM Reply Quote 0
      • S Offline
        sdetweil @vandam3b
        last edited by sdetweil Oct 16, 2023, 6:05 PM Oct 11, 2023, 2:18 AM

        @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 Oct 11, 2023, 2:52 PM

          Hi, I installed it manually.

          S 1 Reply Last reply Oct 12, 2023, 12:34 PM Reply Quote 0
          • S Offline
            sdetweil @vandam3b
            last edited by sdetweil Oct 12, 2023, 12:40 PM Oct 12, 2023, 12:34 PM

            @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 Oct 16, 2023, 6:04 PM

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

              V 1 Reply Last reply Oct 21, 2023, 7:48 PM Reply Quote 0
              • V Offline
                vandam3b @vandam3b
                last edited by Oct 21, 2023, 7:48 PM

                @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 Oct 21, 2023, 7:54 PM Reply Quote 0
                • S Offline
                  sdetweil @vandam3b
                  last edited by sdetweil Oct 23, 2023, 5:15 PM Oct 21, 2023, 7:54 PM

                  @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 Oct 23, 2023, 4:26 PM

                    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 Oct 23, 2023, 4:57 PM Reply Quote 0
                    • S Offline
                      sdetweil @vandam3b
                      last edited by Oct 23, 2023, 4:57 PM

                      @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 Oct 23, 2023, 5:08 PM

                        I will. Thanks

                        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