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

Magic Mirror Update process

Scheduled Pinned Locked Moved Unsolved Feature Requests
11 Posts 4 Posters 4.3k 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.
  • B Online
    BKeyport Module Developer
    last edited by Jul 1, 2019, 9:49 PM

    Can you please take “package.json” & “package-lock.json” out of the update for future releases so that we don’t have to remove them to update?

    Thanks!

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

    S 1 Reply Last reply Jul 1, 2019, 10:20 PM Reply Quote 0
    • S Offline
      sdetweil @BKeyport
      last edited by Jul 1, 2019, 10:20 PM

      @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
      • B Online
        BKeyport Module Developer
        last edited by Jul 1, 2019, 10:54 PM

        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"

        M 1 Reply Last reply Jul 2, 2019, 3:40 PM Reply Quote 0
        • M Offline
          mumblebaj Module Developer @BKeyport
          last edited by Jul 2, 2019, 3:40 PM

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

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

          1 Reply Last reply Reply Quote 0
          • B Online
            BKeyport Module Developer
            last edited by Jul 3, 2019, 7:46 PM

            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 M 2 Replies Last reply Jul 3, 2019, 7:50 PM Reply Quote 0
            • S Offline
              sdetweil @BKeyport
              last edited by Jul 3, 2019, 7:50 PM

              @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
              • M Offline
                mumblebaj Module Developer @BKeyport
                last edited by Jul 3, 2019, 7:53 PM

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

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

                1 Reply Last reply Reply Quote 0
                • B Online
                  BKeyport Module Developer
                  last edited by Jul 3, 2019, 7:54 PM

                  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"

                  M B 2 Replies Last reply Jul 3, 2019, 7:56 PM Reply Quote 0
                  • M Offline
                    mumblebaj Module Developer @BKeyport
                    last edited by Jul 3, 2019, 7:56 PM

                    @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

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bhepler Module Developer @BKeyport
                      last edited by Jul 4, 2019, 7:31 PM

                      @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 Feb 12, 2020, 8:12 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        4/11
                        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