Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Cant install Material UI to new react app

Im new to the dev world and I’m trying to start a new react app using material UI as the component library but I keep getting the following error:

Error image

And my files look like this:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Folder screenshot

Can anyone help in layman’s terms?

TIA

>Solution :

npm install –save –legacy-peer-deps @material-ui/core

this Material UI version does not support React v18 yet I suggest going for a lower version

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading