In my case I cloned repo and used npm install to install packages and then mui types issue occurred. To resolve this I tried yarn install, this worked for me.