MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    SOLVED Reinstall a default module

    Troubleshooting
    2
    6
    734
    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.
    • J
      JohnB7777 last edited by

      Hello,

      I have a problem and maybe my question is stupid but I want to reinstall a default module and I don’t know how I can do.
      Since the last update of magic mirror, I had a problem with the calendar module. I haven’t touched it but the magic mirror refuses to start because of it and I don’t know why, so I decided to erase, but now I have to reinstall it and I would like to know how I can do this (git clone https://github.com/MichMich/MagicMirror/tree/master/modules/default/calendar dosen’t work).

      Thanks ! 🙂

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

        @JohnB7777 do this

        cd ~/MagicMirror
        git checkout -- modules/default/calendar/*
        

        Sam

        Create a working config
        How to add modules

        J 1 Reply Last reply Reply Quote 0
        • J
          JohnB7777 @sdetweil last edited by JohnB7777

          @sdetweil said in Reinstall a default module:

          git checkout – modules/defaults/calendar/*

          I try and it didn’t work :

          error: pathspec 'modules/defaults/calendar/*' did not match any file(s) known to git.
          

          EDIT : ok, it works, it was default without the “s” letter
          Thanks a lot ! 😃

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

            @JohnB7777 sorry, typo… default, not defaults

            cd ~/MagicMirror
            git checkout -- modules/default/calendar/*
            

            Sam

            Create a working config
            How to add modules

            J 1 Reply Last reply Reply Quote 0
            • J
              JohnB7777 @sdetweil last edited by

              @sdetweil Yes, I edit my message, thanks 😊

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

                @JohnB7777 I posted the wrong instructions. i fixed it before replying…

                so, try again

                Sam

                Create a working config
                How to add modules

                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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy