1

I am having problem with material ui library when I try to run react with vite.enter image description hereenter image description hereenter image description here

I tried deleting and reinstalling the node_modules folder several times. But it didn't work. Even when I installed an older version of the Material UI library, I didn't get any results. But the project was working a day ago.

Olivier Tassinari
  • 8,238
  • 4
  • 23
  • 23

2 Answers2

0

Let try: npm run dev --force

That works for me.

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jul 05 '23 at 14:37
-2

It's Vite error. Just delete node_modules folder and install all dependencies again.

(Helped for me)

Marshall
  • 1
  • 1