mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
964 stars 243 forks source link

DataGrid elements are crashing with error #921

Closed apedroferreira closed 2 years ago

apedroferreira commented 2 years ago

Duplicates

Latest version

Current behavior 😯

DataGrids are showing an error state with the error message _mui_x_data_grid_internals__WEBPACK_IMPORTED_MODULE_0__.useGridColumnGroupingPreProcessors) is not a function.

Screen Shot 2022-09-07 at 17 12 42

Expected behavior 🤔

DataGrids render successfully without error

Steps to reproduce 🕹

Steps:

  1. Drag a DataGrid to the app canvas

Context 🔦

It looks like this might've been caused by the @mui/x-data-grid-pro dependency updates in https://github.com/mui/mui-toolpad/pull/909.

Your environment 🌎

No response

Janpot commented 2 years ago

~This looks like corrupted build after switching branches. Have you tried deleting the .next folder and restart the dev server?~ nvm, seeing it on production