Answer the question
In order to leave comments, you need to log in
How to install a package using npm?
Good day!
I can’t understand what I’m doing wrong:
I write npm install gulp-stylus in the console and instead of the 1st gulp-stylus folder, another 70 folders are put ...
what am I doing wrong?
Thanks
Answer the question
In order to leave comments, you need to log in
It's OK
You need gulp-stylus
And gulp-stylus needs other modules to work, and those other modules also need modules
npm pulls all dependencies on installation
Starting from a certain version, npm does not nest node_modules folders inside each other, but stores dependent packages in the node_modules root. Nests only if multiple packages require the same package but different versions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question