SSG dev server 404 after refresh
See original GitHub issueBug report
Describe the bug
when dev, always response 404-page aftr refresh page.
9.2.3 canary is ok
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
https://github.com/WeFoxTech/wefox-site
- clone
y booty dev- open a page, not root index, eg
/en/about
Expected behavior

Screenshots
If applicable, add screenshots to help explain your problem.

System information
- OS: [macOS 10.14.6]
- Browser (if applies) [chrome, safari,ff]
- Version of Next.js: [ 9.3.0,9.3.1]
Additional context
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
SSG dev server 404 after refresh · Issue #11253 · vercel/next.js
When I click a link to go to, say, /products/, and then I refresh the browser, I get a 404. This is a...
Read more >Next.js Error Getting 404 When Fetching JS Resources After ...
My answer for all other frustrated dev out there, check your 'Link' and your 'router.push()' especially if you are using a custom router....
Read more >7.1 Fix Cannot Get/URL on Refresh | React Reach Router
Handing 404 Pages | Fix Cannot Get/URL on Page Refresh | Error | React Router | Reach Router | Handing 404 Pages |...
Read more >How to fix #Angular 6 #refresh page #404 error ... - YouTube
How to fix #Angular 6 # refresh page # 404 error. Angular stops working when refreshing ? ; How to fix #Angular ;...
Read more >Advanced Features: Debugging - Next.js
Debugging. This documentation explains how you can debug your Next.js frontend and backend code with full source maps support using either the VS...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m seeing this same error with 9.3.4.
When I click a link to go to, say, /products/, and then I refresh the browser, I get a 404. This is a very annoying problem during development.
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.