Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm WARN [email protected] requires a peer of whatwg-fetch@^1.0.0 but none was installed

When I try to run npm install in ReactNative project, I get this error.To solve this I try to install whatwg-fetch@^1.0.0 also but same error .

UNMET PEER DEPENDENCY [email protected]

npm WARN [email protected] requires a peer of whatwg-fetch@^1.0.0 but none was installed.
npm ERR! code 1
like image 874
Kais Avatar asked Nov 18 '16 07:11

Kais


1 Answers

you need to manually install missing peer dependencies
npm install whatwg-fetch@^1.0.0 --save

like image 79
narvoxx Avatar answered Nov 16 '22 10:11

narvoxx