Jessica Robertson
Jessica Robertson

Reputation: 437

UNMET PEER DEPENDENCY node.js doesn't work with npm update

C:\Users\Projects\webapp
+-- UNMET PEER DEPENDENCY [email protected]
`-- UNMET PEER DEPENDENCY [email protected]

npm ERR! peer dep missing: react@~0.13.0, required by [email protected]
npm ERR! peer dep missing: react@>=0.12.1 <0.14, required by [email protected]
npm ERR! peer dep missing: webpack@^2.2.0, required by [email protected]
npm ERR! code 1

I have above error and don't know how to fix. Tried npm update webpack react but it didn't resolve the issue. Although my app is running fine but it's better to fix it before we have bigger messes.

Upvotes: 0

Views: 223

Answers (1)

parwatcodes
parwatcodes

Reputation: 6796

Do a fresh install

rm -rf node_modules/
npm cache clean
npm install

Upvotes: 2

Related Questions