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

How to properly update modules?

Scheduled Pinned Locked Moved Unsolved Troubleshooting
12 Posts 4 Posters 4.3k 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.
  • Q Offline
    qu1que Project Sponsor @Cliff365
    last edited by Aug 21, 2022, 9:44 PM

    @Cliff365

    Hi, today I have an update on MMM-Wallpaper module too. I updated it using git pull && npm install. A few hours later, I had another update, so I repeated the process. I think it’s not an error. I think it’s the module developer that is making some changes to the code.

    Try to check if the response on the terminal is always the same when updating or if they are different. In the case I just told you about, the updates were different.

    C 1 Reply Last reply Aug 22, 2022, 5:38 PM Reply Quote 0
    • C Offline
      Cliff365 @qu1que
      last edited by Aug 22, 2022, 5:38 PM

      @qu1que You may be right. I’m getting this for MMM-Wallpaper.

      wallpaper.jpg

      This one for MMM-Multimonth
      multi.jpg

      S 1 Reply Last reply Aug 22, 2022, 5:59 PM Reply Quote 0
      • S Offline
        sdetweil @Cliff365
        last edited by Aug 22, 2022, 5:59 PM

        @Cliff365 those are from the npm install

        you can turn off with --no-audit

        so, the git pull worked ok…

        if you do it again it should say up to date

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Aug 22, 2022, 9:07 PM Reply Quote 0
        • B Offline
          BKeyport Module Developer @sdetweil
          last edited by Aug 22, 2022, 9:07 PM

          To be fair, for MMM-Multimonth I did a pair of updates nearly back to back. Screwed up the first one. Update was very minor, you shouldn’t have to re-run NPM Install with it.

          As for the security vulnerability - I’m aware… Been trying to re-code around it (It’s moment.js - getting rid of it)

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

          S 1 Reply Last reply Aug 22, 2022, 9:09 PM Reply Quote 0
          • S Offline
            sdetweil @BKeyport
            last edited by Aug 22, 2022, 9:09 PM

            @BKeyport u can just turn off the warning, save grief… this is not a general web page that 1000’s will visit…

            npm install --no-audit --omit=dev

            (updated install and upgrade to do this, stop users from doing dumb audit which screws things up)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Aug 22, 2022, 9:10 PM Reply Quote 0
            • B Offline
              BKeyport Module Developer @sdetweil
              last edited by Aug 22, 2022, 9:10 PM

              @sdetweil yeah, well… Like I said, I’m re-writing code anyway. Moment is dead. Might as well bury it.

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

              S 1 Reply Last reply Aug 22, 2022, 9:10 PM Reply Quote 0
              • S Offline
                sdetweil @BKeyport
                last edited by sdetweil Aug 22, 2022, 9:11 PM Aug 22, 2022, 9:10 PM

                @BKeyport in a few decades maybe…
                i’m not rewriting any of mine…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 1 Reply Last reply Aug 22, 2022, 9:11 PM Reply Quote 0
                • B Offline
                  BKeyport Module Developer @sdetweil
                  last edited by Aug 22, 2022, 9:11 PM

                  @sdetweil hey, I’m trying to be as good as @mmrize let me be. 🤣🤣

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

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