Sami Al-Subhi
Sami Al-Subhi

Reputation: 4662

Issue with peer dependencies

I am trying to use @material-ui/pickers in my react project. I got warnings to install peer dependencies and I did. However, there is one dependency warning that is persistent. I install it. But I still get the warning:

npm WARN @material-ui/[email protected] requires a peer of @date-io/core@^1.3.6 but none is installed. You must install peer dependencies yourself.

How can I solve this?

Upvotes: 1

Views: 628

Answers (2)

Mohammed Al-Reai
Mohammed Al-Reai

Reputation: 2786

try to install this package the dependent npm i @date-io/core@^1.3.6

Upvotes: 0

Sami Al-Subhi
Sami Al-Subhi

Reputation: 4662

I solved by specifying the exact version and add --save:

npm i @date-io/core@^1.3.6 --save

Upvotes: 1

Related Questions