Compile error using the Component Lab > Autocomplete feature for SVG Icons in Material UI

Can you try to update @material-ui/core by running

npm update

As described in the Material-UI project CHANGELOG of the latest version (which is v4.9.9 the time I'm writing this answer), there is a change related to createSvgIcon

enter image description here

The complete conversation of team can be found here.

When I encountered the problem?

When running a React project and I wanted to use the Autocomplete component from @material-ui/lab.

How I solved it?

I upgraded @material-ui/core package to v4.9.9 using this command:

yarn upgrade @material-ui/core --latest