Since NPM modules are version 3 node and dependencies are installed at the same root level. But what if I install two modules that depend on two different versions of the same module? For example, if I install async npm i async@2.1.4
, which requires lodash version 4.14.0 , then I install yoman npm i yo@1.8.5
, which requires lodash version 3.2.0 , how does npm resolve this conflict?
source share