'Popper styled_default is not a function Mui 5.6.0 [material-ui]

After upgrading from @mui/material 5.5.0 to 5.6.4 my vite react-ts app doesn't run, throwing an error: styled_default is not a function by Popper.js, the popper component is being used by an autocomplete component

The theme provider is wrapping entire app

Autocomplete is hitting an api to populate options, but a fresh vite project with mui doesn't seem to have this issue?

Any help / pointers in the right direction would be appreciated

running react 17.0.2 vite 2.8.0 mui/material 5.6.4



Solution 1:[1]

Try reinstalling your node_modules. Worked for me.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Arthur Fiorette