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.

    Update got me cannot lock ref

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 1.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.
    • sweupS Offline
      sweup @sdetweil
      last edited by

      @sdetweil said in Update got me cannot lock ref:

      git remote prune origin

      thx, I tried this

      pi@raspberrypi:~/MagicMirror $ git remote prune origin
      pi@raspberrypi:~/MagicMirror $ git pull && npm install
      error: cannot lock ref 'refs/tags/v2.13.0': unable to resolve reference 'refs/tags/v2.13.0': reference broken
      From https://github.com/MichMich/MagicMirror
       ! [new tag]           v2.13.0    -> v2.13.0  (unable to update local ref)
      error: cannot lock ref 'refs/tags/v2.14.0': unable to resolve reference 'refs/tags/v2.14.0': reference broken
       ! [new tag]           v2.14.0    -> v2.14.0  (unable to update local ref)
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @sweup
        last edited by sdetweil

        @sweup ok

        cd ~/MagicMirror
        rm .git/refs/tags/v2.13.0
        rm .git/refs/tags/v2.14.0
        then the purge refs command again
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        sweupS 1 Reply Last reply Reply Quote 0
        • sweupS Offline
          sweup @sdetweil
          last edited by

          @sdetweil

          Thanks! I had to make a git stash but then it worked out.

          Unrelated - is it “safe” to update Node.js and do a sudo apt update and sudo apt upgrade of the Rpi, or could I expect issues? Sorry for noob Qs

          npm WARN npm npm does not support Node.js v10.23.1
          npm WARN npm You should probably upgrade to a newer version of node as we
          npm WARN npm can't make any promises that npm will work with this version.
          npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
          npm WARN npm You can find the latest version at https://nodejs.org/
          
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @sweup
            last edited by

            @sweup ignore the warning, use as is

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            sweupS 1 Reply Last reply Reply Quote 0
            • sweupS Offline
              sweup @sdetweil
              last edited by

              @sdetweil ok, thanks for your help!

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