npm is installing dependencies in a weird recursive way

前端 未结 2 1239
攒了一身酷
攒了一身酷 2021-01-02 14:35

I used npm install --dev to install the dependencies listed in a package.json file and it seems that rather than installing all the packages in a f

2条回答
  •  情话喂你
    2021-01-02 15:16

    dedupe is helpful, as Jonathan Warden says. However, try npm3. For a simple package such as gulp-jscs the install of npm3 was 20% fewer files, 5% less disk space. And tree depth went from 22 to 5. However npm3 was 2x slower for me.

提交回复
热议问题