next/link false 404
See original GitHub issueWhat version of Next.js are you using?
10.2.0
What version of Node.js are you using?
12.X.X
What browser are you using?
Safari, Chrome, Firefox
What operating system are you using?
macOS
How are you deploying your application?
Vercel
Describe the Bug
Since Nextjs upgrade, clicking on a <Link />
component targeting a getStaticPaths...fallback: 'blocking'
page generates a 404.
Direct access to the page or refreshing the page seems to be working (not consistent behavior though).
Expected Behavior
User should access the page if found.
To Reproduce
Clone the following repo: https://github.com/dimroth/next-broken-link-repro and push to Vercel.
Try clicking on a link from /articles
page. It should display a 404 (perhaps not systematically).
If you try to directly access the /articles/one
, /articles/two
or /articles/three
pages, it should work after a few refreshes if not on the first.
Note, switching back to next@10.0.7
solves the issue.
Note: you won’t reproduce in vercel dev
mode, needs to be pushed on a production environment.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Hi, we’ve landed a fix for this which should be available soon, will update here when it is
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.