npm dependancies installation, confused

后端 未结 1 1222
情话喂你
情话喂你 2021-01-23 02:57

I\'ve two installations of node.js/npm , one is 1.4.28 and one is 3.1.0

by deploying the same app with the package.json file containing:

    {
  \"name\"         


        
1条回答
  •  伪装坚强ぢ
    2021-01-23 03:06

    It's new npm 3.* feature. From npm blog:

    With npm@3, your node_modules directory will be a lot flatter. All of your dependencies and most of your subdependencies (and (sub)+dependencies) will be sitting next to each other at the top level. Only when there are conflicts will modules be installed at deeper levels. This should make things a lot easier for Windows users.

    0 讨论(0)
提交回复
热议问题