Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm install having warn issues

Trying to install dependencies below

npm install axios moment react-file-base64 redux redux-thunk

Having these warn issues

npm WARN @apideck/[email protected] requires a peer of ajv@>=8 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of typescript@>= 2.7 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^15.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.

How can I fix it?

like image 736
feiyechen Avatar asked Jul 22 '26 00:07

feiyechen


1 Answers

Those are peer dependencies, not actual dependencies. Here is a good article explaining the difference. Peer dependencies are just to let users know what versions of various packages your installed package is compatible with. You don't need to fix these issues, as they are just letting you know which versions of various packages are compatible IF you want to use those packages sometime in the future.

In short, you can just start you project as-is, there is nothing that needs fixing.

like image 175
Gbox4 Avatar answered Jul 24 '26 14:07

Gbox4



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!