Upgrading @mui/material to v6 produces yarn dependency warning on @types/react #45490
Labels
dependencies
Update of dependencies
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
v6.x migration
Steps to reproduce
Steps:
yarn install
Current behavior
When upgrading
@mui/material
dependency from5.16.14
to6.4.6
and using Yarn PnP mode, runningyarn install
produces a dependency warning.Expected behavior
Using
yarn install
should not produce any warning, as it was the case in MUI 5.x.Context
I'm trying to upgrade my project from MUI 5.x to 6.x and I don't understand why this warning appears. I checked the package.json of @mui/material but I don't see any changes that could cause this issue.
I don't want to include the dependency on
@types/react
in my project because I don't use Typescript and including this dependency causes a strange bug when the application is built.Your environment
npx @mui/envinfo
Search keywords: yarn pnp react types dependency v6
The text was updated successfully, but these errors were encountered: