Open PTCoyer opened 4 days ago
Hey @PTCoyer, thanks for the report.
I can confirm this issue, as npm
doesn't recognize React's RC versions (for example 19.0.0-rc.1
) as part of the 19.0.0
range.
May I ask you to try using the --force
flag when running npm i
? You can also try yarn
or pnpm
and see if the problem goes away. This is to confirm that the issue is the same.
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/react@11.13.3 npm error node_modules/@emotion/react npm error peer @emotion/react@"^11.11.4" from @mui/material-nextjs@6.1.7 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