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

Cannot find module '@mui/x-internals/forwardRef' #16007

Closed
samausir opened this issue Dec 27, 2024 · 7 comments
Closed

Cannot find module '@mui/x-internals/forwardRef' #16007

samausir opened this issue Dec 27, 2024 · 7 comments
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module!

Comments

@samausir
Copy link

samausir commented Dec 27, 2024

Steps to reproduce

Steps:

  1. Open this link to live example: https://codesandbox.io/p/sandbox/nrphd5?file=%2Fsrc%2FApp.tsx%3A11%2C1
  2. Observe the error on the right-hand side.

Current behavior

An error appears when importing from @mui/x-data-grid:

Cannot find module '@mui/x-internals/forwardRef' from '/node_modules/@mui/x-data-grid/components/GridPagination.js'

Expected behavior

Imports from @mui/x-data-grid should not throw errors.

Context

This has only started to happen with the new 7.23.4 package. Specifically #15984 seems to be the culprit.

Your environment

No response

Search keywords: grid forwardref

@samausir samausir added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Dec 27, 2024
@github-actions github-actions bot added the component: data grid This is the name of the generic UI component, not the React module! label Dec 27, 2024
@mhalikosen
Copy link

Same problem

@LukasTy
Copy link
Member

LukasTy commented Dec 27, 2024

Well, it looks like #15984 has not been picked up for the @mui/x-internals release.
@DanailH did Lerna not suggest bumping it? 🙈 😢

@DanailH
Copy link
Member

DanailH commented Dec 27, 2024

Ok, that was fast. I'm aware of the problem. We will push just that package and it should fix the problem.

@vladyakubets
Copy link

vladyakubets commented Dec 27, 2024

Screenshot 2024-12-27 at 15 55 47
same issue ~40 errors

@DanailH DanailH mentioned this issue Dec 27, 2024
@MBilalShafi MBilalShafi removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 27, 2024
@DanailH DanailH closed this as completed Dec 27, 2024
Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@samausir 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.

@DanailH
Copy link
Member

DanailH commented Dec 27, 2024

The problem should be fixed with the latest release.

@MBilalShafi
Copy link
Member

I confirmed it being fixed in https://codesandbox.io/p/sandbox/tender-lichterman-955p3h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

6 participants