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

Data Grid requires Material UI Core which is mui/material in v5 #2601

Closed
2 tasks done
naved97 opened this issue Sep 13, 2021 · 3 comments
Closed
2 tasks done

Data Grid requires Material UI Core which is mui/material in v5 #2601

naved97 opened this issue Sep 13, 2021 · 3 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@naved97
Copy link

naved97 commented Sep 13, 2021

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

Could not find dependency: '@material-ui/core' relative to '/node_modules/@mui/x-data-grid-pro/dist/index-esm.js'

The same dependency issue is flashing on next.material.ui data-grid sandbox examples also.

Expected behavior 🤔

To understand that @material-ui/core is @mui/material

Steps to reproduce 🕹

Steps:

  1. Open https://next.material-ui.com/components/data-grid/
  2. Run any Sandbox code

Context 🔦

No response

Your environment 🌎

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Order ID 💳 (optional)

No response

@naved97 naved97 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 13, 2021
@Yrlish
Copy link

Yrlish commented Sep 13, 2021

I just stumbled upon the same problem. I'm using @mui/material 5.0.0-rc.1, installed @mui/x-data-grid 4.0.0 and tried to run it.

Failed to compile.

./node_modules/@mui/x-data-grid/dist/index-esm.js
Module not found: Can't resolve '@material-ui/core/Badge' in '<proj path>\node_modules\@mui\x-data-grid\dist'

@Yrlish
Copy link

Yrlish commented Sep 13, 2021

I've noticed the next branch here on GitHub has solved this already, but there aren't any next release of @mui/x-data-grid unfortunately.

@m4theushw
Copy link
Member

Duplicate of #2527

For now, you can use #2527 (comment).

@github-actions github-actions bot added duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Sep 13, 2021
@oliviertassinari oliviertassinari added the component: data grid This is the name of the generic UI component, not the React module! label Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants