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.

    Magic Mirror Update process

    Scheduled Pinned Locked Moved Unsolved Feature Requests
    11 Posts 4 Posters 5.0k Views 3 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.
    • S Offline
      sdetweil @BKeyport
      last edited by

      @BKeyport package.Json belongs to the project. There are new updates, which npm install needs to know about

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • BKeyportB Offline
        BKeyport Module Developer
        last edited by

        I always have to delete package.json when updating, this is why I’m asking… If there’s a smarter way to do that, please do.

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

        mumblebajM 1 Reply Last reply Reply Quote 0
        • mumblebajM Offline
          mumblebaj Module Developer @BKeyport
          last edited by

          @BKeyport Does the git reset --hard not work for you?

          Check out my modules at: https://github.com/mumblebaj?tab=repositories
          Check my blog-post: https://mumblebaj.xyz/

          1 Reply Last reply Reply Quote 0
          • BKeyportB Offline
            BKeyport Module Developer
            last edited by

            I did not know about this command, what does it actually do? (I know, it does a hard reset, but what does that entail?)

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

            S mumblebajM 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @BKeyport
              last edited by

              @BKeyport see the number 1 answer

              https://stackoverflow.com/questions/2530060/in-plain-english-what-does-git-reset-do

              this result from google search ‘what does git reset hard do’

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • mumblebajM Offline
                mumblebaj Module Developer @BKeyport
                last edited by

                @BKeyport I simple terms, it gets rid of local changes.

                Check out my modules at: https://github.com/mumblebaj?tab=repositories
                Check my blog-post: https://mumblebaj.xyz/

                1 Reply Last reply Reply Quote 0
                • BKeyportB Offline
                  BKeyport Module Developer
                  last edited by

                  Ahh, I see - it looks dangerous from what I’ve seen - would it kill my config.js and/or custom.css, or does it leave those alone?

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

                  mumblebajM bheplerB 2 Replies Last reply Reply Quote 0
                  • mumblebajM Offline
                    mumblebaj Module Developer @BKeyport
                    last edited by

                    @BKeyport From my experience they don’t get touched. I have never had any issues with my mirror or modules after running that command and updating the mirror.

                    Check out my modules at: https://github.com/mumblebaj?tab=repositories
                    Check my blog-post: https://mumblebaj.xyz/

                    1 Reply Last reply Reply Quote 0
                    • bheplerB Offline
                      bhepler Module Developer @BKeyport
                      last edited by

                      @BKeyport - It should leave those alone. config.js and custom.css are not part of the github project so they won’t be overwritten.

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

                        @bhepler use my updater script see
                        https://github.com/sdetweil/MagicMirror_scripts

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 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