I've been following along a tutorial from Papa react on next13 and I'm getting the strangest error. I get to timestamp 06:02 https://www.youtube.com/watch?v=6aP9nyTcd44 after deleting the stock index.js page and I get the fast refresh loop on in terminal of vsc and another error in chrome console. I cannot understand what is happening.
Github link:https://github.com/ieUlysses/automatic-fiesta
console printouts of chrome and vsc console are below. Thank you in advance

This was a strange error - probably related to the version I was using
FIX:
Fast refresh worked again normally after I disabled the cache in the network inspector and reloaded the page (then immediately re-enabled after it was working again):

You might also need to clear the site data in the application inspector, which I did 1000 times before the step above:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With