Prefetching root "/" returns 404 error when running on Vercel (Nextjs 13.4.8) #52339
Unanswered
fabianszabo
asked this question in
App Router
Replies: 1 comment
-
Same here with Next 14.2.29. Trying to debug. Did you manage to fix it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody! 👋🏼
I get a 404 error when Nextjs tries to prefetch "/". All other paths are prefetching just fine.

Opening that page works just fine and there's nothing on that page that's not also on at least one other page.
Prefetching is triggered by next/link (i'm using it like this:
<Link href="/">Home</Link>
)Adding
prefetch={false}
prevents that error.I don't get the error when I run it locally, neither when using

next build
+next start
nornext dev
.Using Nextjs 13.4.8, running on Vercel
Please let me know if you need more details 🙏🏼
Thank you in advance!
Fabian
Beta Was this translation helpful? Give feedback.
All reactions