-
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
Build error when opt-out static optimatization and providing custom Error page #22907
Comments
More or less same issue on my side I extracted content of
I do not expect having any URL like |
On my application, this error occurs on build step. This step pass through a The issue documented above concerns the fact that my application is expecting to receive some data in To solve this I have been forced to return an error status at the beginning of I would be happy to understand why I'm forced to do that now and if there is a way to deactivate 500/400 prerendering |
Hi, this looks like a duplicate of #22815 which is fixed in |
Hi @ijjk |
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. |
What version of Next.js are you using?
10.0.8
What version of Node.js are you using?
14.x.x
What browser are you using?
What operating system are you using?
linux
How are you deploying your application?
other
Describe the Bug
After upgrading to next.js 10.0.8 I can't build my application. I get the following error:
I have opt-out static optimatization in
_app.js
and provide custom_error.js
page.The following error throws during build process and affects pages:
/404
,/404.html
,/500
I think it might be connected with #22139
Expected Behavior
To be able to build page
To Reproduce
You can try same configuration as in sandbox
Not sure if it is a bug or it requires docs update.
Best,
Piotr
The text was updated successfully, but these errors were encountered: