Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Addition of package lock.json to git

Rupesh Parab edited this page Oct 3, 2019 · 3 revisions

We have recently faced some build issues where the project was building correctly when trie locally but didn't work in the CI. The root cause of this issue was that the package lock file wasn't being committed, which lead to different package versions on basis of when the package was installed by the user. This issue also lead to inconsistent audit warnings.

As package-lock.json has been added, the users who take a pull will need to remove their local package-lock.json file, also it is recommended to remove the node_modules folder and run npm install after taking a pull.