Resolve dependency problem when installing @mui

Viewed 25

pic of errors I am trying to install the new version of @mui, but am getting ERESOLVE dependency errors. I have tried to 'npm uninstall' @mui, @mui/styles, @mui/base, @types, etc., and when installing 'react-scripts @types/react @types/react-dom' first as suggested in the @mui documentation, I had no errors (after I uninstalled all @mui). I am new, so maybe this is something really obvious idk. How can I fully clean out these conflicting dependencies to have a working install of the new @mui? I think what happened is I did a tutorial that instructed to install legacy @mui dependencies, and now after that legacy not working with my React, I am trying to implement the new @mui and it's not working. Any help appreciated!

0 Answers
Related