I'm working on a react-three project and everything seemed to be working fine. The problem is after a while, when I restart my dev server (yarn start) the react seems to not be loading. When I console.log inside of the index.html file it does show up the console, so javascript seems to work. I have no error inside of my terminal, but I do get this error in the console:
I already tried reinstalling my modules, but it didn't fix anything. This this is the second time it has happend to me, and after a while I get tired of searching for the error and I just pull my project from git and copy paste my code, and everything works again...
Does anyone know what could be causing this issue?