You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the error "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" even tough i have both files in my pages/ folder.
Describe the bug
When running it locally with "yarn dev" i get that error even tough both files exists.
To Reproduce
# src/pages/404.jsimportSEOfrom'../components/app/SEO'functionNotFound(props){return(<><SEOpage='not-found'/><h1>Page Not Found</h1></>);}exportdefaultNotFound;
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.
vercel
locked as resolved and limited conversation to collaborators
Jan 30, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
I'm getting the error "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" even tough i have both files in my pages/ folder.
Describe the bug
When running it locally with "yarn dev" i get that error even tough both files exists.
To Reproduce
Expected behavior
Not get the error
System information
The text was updated successfully, but these errors were encountered: