• 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.

Reinstall a default module

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 2 Posters 1.4k 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.
  • J Offline
    JohnB7777
    last edited by Oct 8, 2019, 12:10 PM

    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 Oct 8, 2019, 12:19 PM Reply Quote 0
    • S Away
      sdetweil @JohnB7777
      last edited by sdetweil Oct 8, 2019, 12:43 PM Oct 8, 2019, 12:19 PM

      @JohnB7777 do this

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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Oct 8, 2019, 12:42 PM Reply Quote 0
      • J Offline
        JohnB7777 @sdetweil
        last edited by JohnB7777 Oct 8, 2019, 12:44 PM Oct 8, 2019, 12:42 PM

        @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 ! :D

        S 1 Reply Last reply Oct 8, 2019, 12:43 PM Reply Quote 0
        • S Away
          sdetweil @JohnB7777
          last edited by Oct 8, 2019, 12:43 PM

          @JohnB7777 sorry, typo… default, not defaults

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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Oct 8, 2019, 12:44 PM Reply Quote 0
          • J Offline
            JohnB7777 @sdetweil
            last edited by Oct 8, 2019, 12:44 PM

            @sdetweil Yes, I edit my message, thanks :smiling_face_with_smiling_eyes:

            S 1 Reply Last reply Oct 8, 2019, 12:45 PM Reply Quote 0
            • S Away
              sdetweil @JohnB7777
              last edited by Oct 8, 2019, 12:45 PM

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

              so, try again

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                5/6
                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