-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[material-ui] Next.js npm i
throws peer dependency error
#44406
Comments
Hey @PTCoyer, thanks for the report. I can confirm this issue, as May I ask you to try using the |
npm i
throws dependency error
npm i
throws dependency errornpm i
throws peer dependency error
Hey @PTCoyer, and anyone who finds this issue. The root cause is
This issue should stop happening once React 19 is stable. I wouldn't consider this an issue on Material UI's side, and there are two possible workarounds, so I'm closing it. |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @PTCoyer How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Related page
https://mui.com/material-ui/integrations/nextjs/
Kind of issue
Broken demo
Issue description
dependancy error when attempting install of mui in nextjs using command:
npm install @mui/material-nextjs @emotion/cache
npm error peer react@">=16.8.0" from @emotion/[email protected]
npm error node_modules/@emotion/react
npm error peer @emotion/react@"^11.11.4" from @mui/[email protected]
npm error node_modules/@mui/material-nextjs
npm error @mui/material-nextjs@"*" from the root project
Context
attempting to install mui in a nextjs project
Search keywords: react 19 nextjs mui react 16 react
The text was updated successfully, but these errors were encountered: