Hacker News new | ask | show | jobs
by kemitchell 3803 days ago
> You can reliably get the same dependency tree by removing your node_modules directory and running npm install whenever you make a change to your package.json.

https://docs.npmjs.com/how-npm-works/npm3-nondet

1 comments

That explains why I haven't experienced it -- our projects' npm scripts to build packages wipe out that folder before building.