It looks like every time we update our package-lock file for a Node.js project with NPM5 installed the build fails unless we rebuild without cache. It would be nice to detect if there are changes in the lock file and then invalidate the cache if that happens. Are other people experiencing this issue too?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Running npm install is adding a "name" key to the package-lock | 0 | 1643 | October 7, 2021 | |
How to always rebuild without NPM cache | 7 | 11487 | June 18, 2018 | |
Destroy npm cache (./node_modules/) based on a hash of package.json (or, if present: npm-shrinkwrap.json)? | 9 | 7733 | June 18, 2018 | |
Tests failing due to node_modules missing something, but it works once I change anything in package.json | 0 | 3055 | July 13, 2021 | |
Missing npm module after install job | 4 | 1785 | July 24, 2021 |