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.

    The correct way to update a module

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 4 Posters 7.1k Views 4 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.
    • BKeyportB Offline
      BKeyport Module Developer @JMac
      last edited by

      @JMac in this case, if you’re that close, it’s a simple git pull in your module directory, then restart.

      as a force of habit, I run git pull then npm install on every update, just to make sure everything loads, then restart.

      Likely, the reason it didn’t work before was a slight change to the code introduced in 1.2.0 - MMRize took duplicate code out of all his CX3 modules, and made a single file for them all - you had to install that code via the documentation here: https://github.com/MMRIZE/MMM-CalendarExt3Agenda#update-to-120

      I missed it too…

      The "E" in "Javascript" stands for "Easy"

      1 Reply Last reply Reply Quote 0
      • M Offline
        MMRIZE @JMac
        last edited by

        @JMac

        cd <YOUR_MM_DIRECTORY>/modules/MMM-CalendarExt3
        git pull
        npm install
        

        When you meet some error message about CX3_Shared, try this also there.

        git submodule update --init --recursive
        
        S J 2 Replies Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @MMRIZE
          last edited by

          @MMRIZE you should add a postinstall npm task and check that and do the git commands

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MMRIZE @sdetweil
            last edited by

            @sdetweil
            I did already, so most cases it will work unless missing ‘npm install’

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @MMRIZE
              last edited by

              @MMRIZE ah…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • J Offline
                JMac @MMRIZE
                last edited by

                @MMRIZE When I cd MagicMirror I get into that directory
                but the /modules/MMM-CalendarExt3 says it isn’t recognised.

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @JMac
                  last edited by

                  @JMac not /modules

                  / at the front means root

                  you want ~/MagicMirror/modules/MMM-CalendarExt3

                  ~ at the front means current users home folder

                  if you are in the MagicMirror folder, then

                  cd modules

                  will move the current folder the the ~/MagicMirror/modules folder

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  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