casesandberg / react-color

:art: Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
http://casesandberg.github.io/react-color/
MIT License
12.04k stars 921 forks source link

Missing react@* in peerDependencies #657

Open skoging opened 4 years ago

skoging commented 4 years ago

Using Yarn 2.0 release candidate I get the following error:

➤ YN0002: │ react-color@npm:2.17.3 doesn't provide react@* requested by @icons/material@npm:0.2.4

image

Seeing as react-color has a dependency on @icons/material, it is also responsible for in some way providing it's peer dependencies, in this case react. This is strictly enforced in Yarn Plug'n'Play which will be default in Yarn 2.0.

skoging commented 4 years ago

Seems like I was a little quick to throw blame, the missing peerDep was only a warning. And the error is unrelated.

This should still probably be addressed before Yarn 2.0 is released.

irudoy commented 4 years ago

any news?