node.js - why npm checked for so many dependencies for single package -


i running npm install install 1 package called generator-angular

npm install --global generator-angular 

you have no idea how many dependencies npm have checked, still rolling pick few

npm http https://registry.npmjs.org/generator-angular npm http 304 https://registry.npmjs.org/generator-angular .... npm http 304 https://registry.npmjs.org/diff npm http 304 https://registry.npmjs.org/strip-ansi 

are these dependencies ? diff ansi? or making mistakes ?

yes, real dependencies. generator-angular particularly heavy module.

one thing note many of them "peer dependencies". means installed next to, rather inside, generator-angular. allows them shared application other modules peer dependencies. in addition generator-angular, getting access generator-karma, grunt-cli, bower, , yo.

if depending on of these already, make sure installing of modules in same place don't installed multiple times.


Comments

Popular posts from this blog

android - Automated my builds -

how to proxy from https to http with lighttpd -

python - Flask migration error -