Answer the question
In order to leave comments, you need to log in
Why does Yarn list the entire list in the node_modules directory?
I decided to try Yarn for comparison, I got to the command yarn list --depth=0 , I thought it was an analogy npm list --depth=0
But npm gives me a list of dependencies that I installed, i.e. in the package.json file, and yarn showed me a long "spindle" of dependencies. I looked, and this is everything in the node_modules directory.
Tell me, is this how it's supposed to be? Those. Do these commands give different results?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question