[英]NPM Install is exctracting packages
Usually it would install the files in a folder but now it seems like it's extacting everything in node_modules
? 通常它会将文件安装在一个文件夹中,但是现在好像它在
node_modules
的所有node_modules
? Did I mess something up? 我搞砸了吗?
I looked on the internet but I couldn't find the anwser. 我在互联网上看过,但找不到答案。
That's how npm dependency resolution works since version 3, basically for efficiency purposes. 从版本3开始,npm依赖项解析就是这样工作的,基本上是为了提高效率。 For more information have a look at the docs.
有关更多信息,请参阅文档。 https://docs.npmjs.com/how-npm-works/npm3
https://docs.npmjs.com/how-npm-works/npm3
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.