Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Must use --legacy-peer-deps to install when using MUI v. 6 #46

Open
Ben-CA opened this issue Oct 22, 2024 · 0 comments
Open

Must use --legacy-peer-deps to install when using MUI v. 6 #46

Ben-CA opened this issue Oct 22, 2024 · 0 comments

Comments

@Ben-CA
Copy link

Ben-CA commented Oct 22, 2024

Must use --legacy-peer-deps to install when using MUI v. 6. Otherwise I get:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @mui/[email protected]
npm ERR! node_modules/@mui/material
npm ERR! @mui/material@"^6.1.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @mui/material@"^5.0.1" from [email protected]
npm ERR! node_modules/mui-image
npm ERR! mui-image@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant