"/>
  简体   繁体   中英

`npm install` how to track the packages which issue warnings?

Is any easy way in npm to track from which packages these kind of dependency warnings came from? Packages in the warnings is for sure not the top level ones.

I'm currently on npm v3.6.0 (node 5.6.0).

<code> npm install </ code>时的警告

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.

As a workaround to deprecation issues, you could use npm-shrinkwrap ( example usage ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM