Reputation: 4662
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
Reputation: 2786
try to install this package the dependent npm i @date-io/core@^1.3.6
Upvotes: 0
Reputation: 4662
I solved by specifying the exact version and add --save
:
npm i @date-io/core@^1.3.6 --save
Upvotes: 1