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.

    Updating MM on a PC?

    Scheduled Pinned Locked Moved Troubleshooting
    14 Posts 3 Posters 5.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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @Damian
      last edited by

      @Damian said in Updating MM on a PC?:

      cd MagicMirror -then git pull -then npm install

      That should work. git commands and npm commands should work.

      sudo will not.

      Create a working config
      How to add modules

      D 1 Reply Last reply Reply Quote 1
      • D Offline
        Damian @Mykle1
        last edited by

        @Mykle1

        ‘’’
        Damian@KitchenComputer ~/MagicMirror
        $ git pull

        Fatal: not a git repository (or any of the parent firectories): .git
        ‘’’

        1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer
          last edited by cowboysdude

          try:

          git pull origin master

          If you’re still having problems do this:

          sudo apt-get install git-all

          Then retry ‘git pull’…

          D 1 Reply Last reply Reply Quote 1
          • D Offline
            Damian @cowboysdude
            last edited by

            @cowboysdude said in Updating MM on a PC?:

            try:

            git pull origin master

            If you’re still having problems do this:

            sudo apt-get install git-all

            Then retry ‘git pull’…

            From ~MagicMirror

            $ git pull origin master
            fatal: Not a git repository (or any of the parent directories): .git

            $ sudo apt-get install git-all
            bash: sudo: command not found

            1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              @Damian said in Updating MM on a PC?:

              fatal: Not a git repository (or any of the parent directories): .git

              Type ‘git init’ then retry ‘git pull’

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                Damian @cowboysdude
                last edited by

                @cowboysdude

                $ git init

                Initialized empty git repository in C:/users/Damian/MagicMirror/.git/

                $ git pull
                fatal: no remote repository specified. Please, specify either a url or a remote name from which new revisions should be fetched.

                cowboysdudeC 1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer @Damian
                  last edited by cowboysdude

                  @Damian said in Updating MM on a PC?:

                  fatal: no remote repository specified. Please, specify either a url or a remote name from which new revisions should be fetched.

                  git remote add origin https://github.com/MichMich/MagicMirror.git

                  D 1 Reply Last reply Reply Quote 1
                  • D Offline
                    Damian @cowboysdude
                    last edited by

                    @cowboysdude

                    Thanks will try that out when keyboard recharges, I have run battery flat with all the things I have tried 😮

                    cowboysdudeC 1 Reply Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @Damian
                      last edited by

                      @Damian said in Updating MM on a PC?:

                      @cowboysdude

                      Thanks will try that out when keyboard recharges, I have run battery flat with all the things I have tried 😮

                      Nice Job LOL I have to go to work :) Good luck!

                      D 1 Reply Last reply Reply Quote 1
                      • D Offline
                        Damian @cowboysdude
                        last edited by Damian

                        @cowboysdude

                        😣😟
                        Think I may just delete MM, and start afresh with virgin modules, then try and update again, and start adding my changes… see if it’s maybe me messing around has done something eh?

                        cowboysdudeC 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