2

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

screenshots of error message

ire.Ulysses
  • 107
  • 1
  • 4

2 Answers2

0

I just had the same error with one of my apps. It took me a while to figure out but it worked by stopping and restarting it in the terminal. I hope you had figured it out by now. If not, try restarting your app.

jtseng
  • 1
  • 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 May 15 '23 at 10:10
  • This does not provide an answer to the question. Once you have sufficient [reputation](https://stackoverflow.com/help/whats-reputation) you will be able to [comment on any post](https://stackoverflow.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). - [From Review](/review/late-answers/34388008) – user16217248 May 18 '23 at 01:27
0

My gawd, this one drove me insane. No idea why this started happening and spent way to much time determining it was a chrome cache issue. Restarting the server didn't work, and the issue was even happening on a fresh create-next-app app.

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):

enter image description here

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

enter image description here

uɥƃnɐʌuop
  • 14,022
  • 5
  • 58
  • 61