-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[system] Missing dependency on @babel/runtime in Next.js App Router integration #41071
Comments
@siriwatknp The dependency list of https://www.npmjs.com/package/@mui/material-nextjs is broken. We do https://unpkg.com/browse/@mui/material-nextjs@5.15.9/v13-appRouter/appRouterV13.js but we don't have |
PR open. |
@oliviertassinari Why would you change the title to |
@siriwatknp Because to me today, this package is about MUI System, I see nothing in Otherwise, [material-ui] would be the second closest primary tag IMHO. |
Related page
https://mui.com/material-ui/integrations/nextjs/#app-router
Kind of issue
Missing information
Issue description
Error message:
Context
First I've created a simple Next.js app:
yarn create next-app@latest
.Then I've installed Material UI like described here: https://mui.com/material-ui/getting-started/installation/#default-installation
And then I've followed the steps here: https://mui.com/material-ui/integrations/nextjs/#app-router (only installing and configuration).
Once I've added
<AppRouterCacheProvider>
it fails to build with the given error message.I'm not sure why it's missing
@babel/runtime
because I would expect to install dependencies automatically if they're required.Do we have to add it manually? There's no information about babel on both of the pages.
yarn add @babel/runtime
resolved the issue but I'm not sure if this is a valid solution.Search keywords: babel
The text was updated successfully, but these errors were encountered: