Explain/give "why" reasons, for operations done while installing a package #128443
Unanswered
claytoneast
asked this question in
npm
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to apologize in advance if what I'm requesting is already in a CLI flag that I didn't properly read/explore.
I'd like to know why the things that happen when I run
npm install some_package
, are happening.The Problem (with an example)
Current behavior example:
This command output leaves something to be desired. I asked for a single package with no dependencies to be installed. Apparently, 2 packages have been added, 2 have been removed, and 3 others have been changed.
Why were two packages added when I asked for one to be added, which I know for a fact has no dependencies? What other package (that I didn't ask for) was added? What 2 packages were removed, and why did they leave? Why were 3 others changed, and what packages were they? Why are 1297 packages being audited?
Potential solution
Let's use the same example that we did above.
npm install --save uuid
. Here is an example of what I'd like to see when running this command.I've run
npm install somepackage
with the--verbose
flag, and it seems to only give me more information of the "what" variety. In my experience, "what" information is not helpful without the "why" information. I think it would be great ifnpm install a_specific_package
gave concise "why" information.Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions