mlaursen / react-md

React material design - An accessible React component library built from the Material Design guidelines in Sass
https://react-md.dev
MIT License
2.34k stars 298 forks source link

Some peer dependencies are incorrectly met, using yarn 2 (berry) #1224

Open fjavierv opened 3 years ago

fjavierv commented 3 years ago

Hi, first thank a lot for this library.

After install react-md (3.0.0) with yarn 2, i get the following warnings:

➤ YN0000: ┌ Resolution step ➤ YN0002: │ @react-md/alert@npm:3.0.0 [617d6] doesn't provide react-dom (p204d4), requested by @react-md/portal ➤ YN0002: │ @react-md/alert@npm:3.0.0 [617d6] doesn't provide react-dom (p79270), requested by react-transition-group ➤ YN0002: │ @react-md/autocomplete@npm:3.0.0 [617d6] doesn't provide react-dom (p90033), requested by @react-md/portal ➤ YN0002: │ @react-md/dialog@npm:3.0.0 [617d6] doesn't provide react-dom (p3ae3a), requested by @react-md/portal ➤ YN0002: │ @react-md/dialog@npm:3.0.0 [617d6] doesn't provide react-dom (p6d8d3), requested by react-transition-group ➤ YN0002: │ @react-md/elevation@npm:3.0.0 doesn't provide react (p6a343), requested by @react-md/theme ➤ YN0002: │ @react-md/elevation@npm:3.0.0 doesn't provide react (pa69c2), requested by @react-md/transition ➤ YN0002: │ @react-md/form@npm:3.0.0 [617d6] doesn't provide react-dom (pe6cc8), requested by @react-md/portal ➤ YN0002: │ @react-md/overlay@npm:3.0.0 [617d6] doesn't provide react-dom (pab406), requested by @react-md/portal ➤ YN0002: │ @react-md/overlay@npm:3.0.0 [617d6] doesn't provide react-dom (p5bb07), requested by react-transition-group ➤ YN0002: │ @react-md/states@npm:3.0.0 [617d6] doesn't provide react-dom (p1bc7d), requested by react-transition-group ➤ YN0002: │ @react-md/tabs@npm:3.0.0 [617d6] doesn't provide react-dom (pf9914), requested by react-transition-group ➤ YN0002: │ @react-md/tooltip@npm:3.0.0 [617d6] doesn't provide react-dom (pba031), requested by @react-md/portal ➤ YN0002: │ @react-md/tooltip@npm:3.0.0 [617d6] doesn't provide react-dom (p97cb0), requested by react-transition-group ➤ YN0002: │ @react-md/transition@npm:3.0.0 [617d6] doesn't provide react-dom (p20856), requested by @react-md/portal ➤ YN0002: │ @react-md/transition@npm:3.0.0 [617d6] doesn't provide react-dom (p50d76), requested by react-transition-group ➤ YN0002: │ @react-md/transition@npm:3.0.0 [8f73d] doesn't provide react-dom (pf49ee), requested by @react-md/portal ➤ YN0002: │ @react-md/transition@npm:3.0.0 [8f73d] doesn't provide react-dom (p34380), requested by react-transition-group ➤ YN0002: │ react-md@npm:3.0.0 [d9ec4] doesn't provide react-dom (pc3ab9), requested by @react-md/portal ➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details

Yarn 2 is more more strict yarn yarn 1, It look like there are some peer dependencies not declared.

Thank in advance.

mlaursen commented 3 years ago

I am going to reopen this issue since I fixed the peerDependencies issue, but there are still some remaining Yarn Berry bugs that need to be resolved.