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
After upgrading to next.js 10.0.8 I can't build my application. I get the following error:
Error occurred prerendering page "/404". Read more: https://err.sh/next.js/prerender-error
TypeError: res.writeHead is not a function
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