Since NPM version 3 node modules and dependencies are all installed at the same root level. But what if I install two modules that depend on two different versions of the same module? For instance, if I install async npm i [email protected], which requires lodash version 4.14.0, then I install yeoman npm i [email protected], which requires lodash version version 3.2.0, how does npm resolve this conflict?
npm i [email protected]
Npm has a great blog post documentation page about it
https://docs.npmjs.com/how-npm-works/npm3 http://npm.github.io/how-npm-works-docs/npm3/how-npm3-works.html
1.4m articles
1.4m replys
5 comments
57.0k users