MagicMirror Forum

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

    SOLVED How to Remove old Module

    Troubleshooting
    2
    5
    16114
    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.
    • N
      nobita last edited by

      Because when I use command git pull for update module,something wrong for my config
      and can not update. so I have to remove old module and use git clone for new version
      Thanks for all your help

      1 Reply Last reply Reply Quote 0
      • morozgrafix
        morozgrafix Moderator @nobita last edited by

        @nobita not the entire directory, but rather directory that contains your module inside of MagicMirror/modules

        For example if you have MagicMirror/modules/module_to_delete

        You would do:

        cd ~/MagicMirror
        rm -rf modules/module_to_delete
        
        N 1 Reply Last reply Reply Quote 1
        • morozgrafix
          morozgrafix Moderator last edited by

          General suggestion on that would be:

          1. backup your config.js file
          2. Remove that module entry from config.js
          3. Remove directory for that module under MagicMirror/modules
          N 1 Reply Last reply Reply Quote 0
          • N
            nobita @morozgrafix last edited by

            @morozgrafix you mean delete MagicMirror/modules Folder?

            morozgrafix 1 Reply Last reply Reply Quote 0
            • morozgrafix
              morozgrafix Moderator @nobita last edited by

              @nobita not the entire directory, but rather directory that contains your module inside of MagicMirror/modules

              For example if you have MagicMirror/modules/module_to_delete

              You would do:

              cd ~/MagicMirror
              rm -rf modules/module_to_delete
              
              N 1 Reply Last reply Reply Quote 1
              • N
                nobita @morozgrafix last edited by

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