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
Can't resolve '@material-ui/icons/Clear in mui-datatables/dist #1791
Comments
you need to wait for this PR #1772 |
C'mon! |
Release 4.0.0 |
Just upgraded to 4.0 but still getting this
|
@the-noob run yarn add @mui/icons-material |
why should I add dependencies that I don't use ? |
Thank you :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
This happens when running
yarn start
Current Behavior
My project attempts to run but crashes at some point during startup with above-mentioned error
I can see that MUI-Datatables expects to fetch icons from
@material-ui/icons/
however the version of Material UI that I've added has them in@mui/icons-material/
, as a test I went through/node_modules/mui-datatables/dist/index.js
and replaced all paths for mui icons with the actual path, and now it runs as expected, my guess would be that MUI icons at some point changed their install path and that then breaks mui-datatables.Steps to Reproduce (for bugs)
Your Environment
The text was updated successfully, but these errors were encountered: