[英]`npm install` how to track the packages which issue warnings?
Running npm list
in your project directory will give you a dependency tree, and a simple text search for the deprecated packages will indicate where they came from. 在项目目录中运行
npm list
将为您提供一个依赖关系树,对已弃用的包进行简单的文本搜索将指示它们的来源。
As a workaround to deprecation issues, you could use npm-shrinkwrap ( example usage ). 作为弃用问题的解决方法,您可以使用npm-shrinkwrap( 示例用法 )。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.