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

Update script not updating

Scheduled Pinned Locked Moved Solved Troubleshooting
13 Posts 3 Posters 2.7k 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 @ankonaskiff17
    last edited by May 17, 2022, 7:53 PM

    @ankonaskiff17 yeh, erase package-lock.json
    then git pull, npm install will update that file again

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    A 1 Reply Last reply May 17, 2022, 7:57 PM Reply Quote 0
    • A Offline
      ankonaskiff17 @sdetweil
      last edited by ankonaskiff17 May 17, 2022, 8:00 PM May 17, 2022, 7:57 PM

      @sdetweil That is standard/typical of how to update a module?

      Resolved notification

      S 1 Reply Last reply May 17, 2022, 8:30 PM Reply Quote 0
      • S Offline
        sdetweil @ankonaskiff17
        last edited by May 17, 2022, 8:30 PM

        @ankonaskiff17 yes… no one should ship a package-lock.json as part of their release

        this is only used by testing systems to make sure the environment is exact

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply May 18, 2022, 6:22 AM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @sdetweil
          last edited by May 18, 2022, 6:22 AM

          @sdetweil actually the opposite is true, everyone should ship a lock file with its repository to ensure you will get the exact same dependencies that were tested with and not something newer which can introduce issues.

          But if you just run npm install npm will update the lock file. So the effect is like not shipping a lock file at all.

          Instead, you should use npm ci if there is a lock file https://docs.npmjs.com/cli/v8/commands/npm-ci. This makes sure that you have exactly the same dependencies no matter if there is a newer version available.

          Please create a github issue if you need help, so I can keep track

          S 1 Reply Last reply May 18, 2022, 11:36 AM Reply Quote 0
          • S Offline
            sdetweil @strawberry 3.141
            last edited by May 18, 2022, 11:36 AM

            @strawberry-3-141 however. not everyone runs the same platform as used during test, so all the parts change.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply May 19, 2022, 4:33 PM Reply Quote 0
            • S Offline
              strawberry 3.141 Project Sponsor Module Developer @sdetweil
              last edited by May 19, 2022, 4:33 PM

              @sdetweil the hardware might be different but at least the code and dependencies are the same which increases the chances to reproduce and fix the issue

              Please create a github issue if you need help, so I can keep track

              S 1 Reply Last reply May 19, 2022, 4:36 PM Reply Quote 0
              • S Offline
                sdetweil @strawberry 3.141
                last edited by sdetweil May 19, 2022, 4:48 PM May 19, 2022, 4:36 PM

                @strawberry-3-141 but thats not true

                on intel I get one version
                on arm (32bit) I get a diffferent version
                on arm (64bit) I get a different version
                on aarch64 i get a different version

                especially if there is a binary… and who knows what is buried under there

                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
                2 / 2
                • First post
                  11/13
                  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