0

I was about to install pug --> npm install --save pug --> when I got a lot of "npm warn" telling me that a lot of different npm modules requires a lot of peers from other modules or something.

Now, I have no idea on what a peer of something is, moreover, I have no clue whatsoever on how to install the peers. Do I just type npm install --save NAME_OF_REQUIRED_PEER?

enter image description here enter image description here

It seems like there is no end to the warnings but perhaps that is just because I am not installing the peers correctly.

xing Zì
  • 391
  • 2
  • 13
  • This question has already been answered here: https://stackoverflow.com/questions/35207380/how-to-install-npm-peer-dependencies-automatically – Piorrro33 Mar 24 '19 at 16:46
  • I am not trying to install them "automatically" that is also deprecated. I want to install them as they are "meant" to be installed, but I just don't know how to do so. This is my question ^^ – xing Zì Mar 24 '19 at 16:46

1 Answers1

-1

Then just type npm install pug. Simple as that! Since npm 5.0.0, installed modules are added by default as a dependency, so you don't need -save anymore.

Piorrro33
  • 17
  • 8