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

Missing 404 page #107

Closed
ethyaan opened this issue Jun 9, 2020 · 3 comments · Fixed by #118
Closed

Missing 404 page #107

ethyaan opened this issue Jun 9, 2020 · 3 comments · Fixed by #118
Labels
bug Something isn't working

Comments

@ethyaan
Copy link

ethyaan commented Jun 9, 2020

with a fresh install we get he below warning.

Warning: You have added a custom /_error page without a custom /404 page. This prevents the 404 page from being auto statically optimized. see here for info: https://err.sh/next.js/custom-error-no-custom-404

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Jun 9, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.68. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@aliemir
Copy link
Contributor

aliemir commented Jun 9, 2020

I think this error is related to a bug in Next.js. Bumping Next version to 9.3.6 or above may solve your issue.

vercel/next.js#12061

@ethyaan
Copy link
Author

ethyaan commented Jun 9, 2020

No, Didn't solve yet,
I use the latest version but still get the warning.

"next": "^9.4.4",

AbdelazizMalfy added a commit to AbdelazizMalfy/next-boilerplate that referenced this issue Aug 9, 2020
-Add 404 page
-Add 404 page styling
-Add translations needed for 404 page

fix pankod#107
omeraplak pushed a commit that referenced this issue Aug 24, 2020
* Add 404 page

-Add 404 page
-Add 404 page styling
-Add translations needed for 404 page

fix #107

* Remove duplicate styles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants