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 | 1749 | October 7, 2021 | |
| How to always rebuild without NPM cache | 6 | 11997 | March 9, 2017 | |
| Destroy npm cache (./node_modules/) based on a hash of package.json (or, if present: npm-shrinkwrap.json)? | 8 | 7935 | June 13, 2017 | |
| Clearing NPM Cache after upgrade | 2 | 7838 | May 11, 2016 | |
| Frequently getting npm 1.1.70 instead of correct installed version | 7 | 5014 | February 24, 2016 |