Ref not found. Ensure you have the correct ref and try again

Hi Danny,

This sounds like the Next.js cache issue that we're dealing with in this latest version on Next.js, we're discussing this with their team:

I think the reason it works after you clone it again is because the .next is in your git ignore list and not uploaded to Github, so when you clone it and rerun it, the Next cache is newly generated again.

You can track the progress of this issue and other workarounds in the thread above.

Thanks.

1 Like