Andre Pena
Andre Pena

Reputation: 59446

NPM is saying UNMET_PEER_DEPENDENCY. Why?

I'm npm install'ing my project now, using npm 3.3.12, and this happens:

image

When I read the UNMET PEER DEPENDENCY warning I though: There are two possibilities, either the project react has an unmet peer dependecy, or someone depends on [email protected] and is not finding it.

It turns out the react project does not have any peer dependency. So someone must be depending on it. But how am I supposed to know who's depending on it? Just so you know, I have react ^0.14.2 on my package.json.

So, how do I find out who's dependency is not met?

BONUS question: Why is react-widgets yellow?.

Upvotes: 1

Views: 335

Answers (1)

victor sosa
victor sosa

Reputation: 899

npm no longer installs peer dependencies so you need to install them manually.

like: npm install react gearz

Check this answer too: How to solve npm UNMET PEER DEPENDENCY

Bonus: Outdated NPM Packages are marked as YELLOW

check: https://realguess.net/2014/12/13/update-outdated-npm-packages/

.

Upvotes: 1

Related Questions