Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom 404 pages do not work on the dev server #641

Open
eleanorreem opened this issue Oct 16, 2023 · 0 comments
Open

Custom 404 pages do not work on the dev server #641

eleanorreem opened this issue Oct 16, 2023 · 0 comments
Labels
bug fix Fix a bug complexity: advanced Time needed to do this ticket will be large e.g. 2-3+ days help wanted Extra attention is needed

Comments

@eleanorreem
Copy link
Contributor

eleanorreem commented Oct 16, 2023

Describe the bug
Our custom 404 pages are not working on the dev server but they do seem to work if you build the app. This only happened after the upgrade to nextjs 13.5.4

To Reproduce
Steps to reproduce the behavior:

  1. Run the bloom-frontend with yarn dev.
  2. go to localhost:3000/123
  3. See default Next js 404 page.
  4. Exit dev server
  5. Run yarn build
  6. Run yarn start
  7. go to localhost:3000/123
  8. See Custom 404 page which is src/pages/404.tsx

Expected behavior
On the dev server, we should be able to see the custom 404 page.

Screenshots
Nextjs Default
Screenshot 2023-10-16 at 11 17 38
Custom 404
Screenshot 2023-10-16 at 11 21 39

Desktop (please complete the following information):

  • Macbook Pro 2021, Mac Os Monterey 12.2
  • Browser Chrome
  • Version 117.0.5938.132
@eleanorreem eleanorreem added bug fix Fix a bug complexity: advanced Time needed to do this ticket will be large e.g. 2-3+ days labels Oct 16, 2023
@kyleecodes kyleecodes added the hacktoberfest Hacktoberfest issues label Oct 19, 2023
@kyleecodes kyleecodes removed the hacktoberfest Hacktoberfest issues label Nov 3, 2023
@kyleecodes kyleecodes added the help wanted Extra attention is needed label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fix a bug complexity: advanced Time needed to do this ticket will be large e.g. 2-3+ days help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants