I am attempting to use MUI's Data Grid component in my React project. I have installed the package using $npm i @mui/x-data-grid. When I import DataGrid into my React component and run $npm start, I get the following ENOENT error. Anyone know why?
When the import is commented out, the error disappears:
Steps I've taken to resolve the issue:
I believe this is an issue arising from incompatibility between @material-ui/core and @mui/x-data-grid.
There are a few possible solutions that I have found: