-
Notifications
You must be signed in to change notification settings - Fork 27k
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
404 page is rendered in development #7286
Comments
Please provide a reproduction. |
Followed Getting Started After creating Still 404 page is appearing . dependencies": { |
This was referenced Jul 28, 2021
This was referenced Aug 31, 2021
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
Hello, I use a custom
_error
page with different markup for404
and500
pages. When I run into a404
next.js is trying to render my page but the layout is broken. It seems that the page wasn't build correctly.After reading the docs
I expect that no
404
page is rendered. As a workaround to NOT see a broken 404 page I have to do:is that the expected behaviour? In production everything works fine
Expected behavior
As documented no
_error
should be rendered in development.System information
The text was updated successfully, but these errors were encountered: