Practice this fail.
Why is this package here?
npm · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
In a trusted installed npm project, explain which dependency chain brought in lodash. Do not install or remove anything.
Why is this package here?
$ npm ls lodash
lodash appears deep in the tree.
How do you ask npm why lodash is installed?
Fixed. By hand.
npm explain lodashnpm explain prints the dependency chain responsible for an installed package. This helps distinguish a direct dependency from a transitive one.
Practice does not affect your daily score or streak.