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
Next 13.0.1 introduces a breaking change that adds a ResponseCookies class. This new class uses the deprecated method, getAll, which is not implemented in Deno's fetch and thus throws a 500 error.
I imagine the solution will be to polyfill the method in the @netlify/next middleware response object.
I am building using file-based configuration (netlify.toml)
What OS are you using?
Mac OS
Your netlify.toml file
`netlify.toml`
# Paste content of your `netlify.toml` file here
Your public/_redirects file
`_redirects`
# Paste content of your `_redirects` file here
Your next.config.js file
`next.config.js`
# Paste content of your `next.config.js` file here. Check there is no private info in there.
Builds logs (or link to your logs)
Build logs
# Paste logs here
Function logs
Function logs
# Paste logs here
.next JSON files
generated .next JSON files
# Paste file contents here. Please check there isn't any private info in them
# You can either build locally, or download the deploy from Netlify by clicking the arrow next to the deploy time.
The text was updated successfully, but these errors were encountered:
Summary
Next 13.0.1 introduces a breaking change that adds a
ResponseCookies
class. This new class uses the deprecated method,getAll
, which is not implemented in Deno'sfetch
and thus throws a 500 error.I imagine the solution will be to polyfill the method in the @netlify/next middleware response object.
Steps to reproduce
ntl dev
A link to a reproduction repository
https://github.com/orinokai/test-next-adv-middleware
Next Runtime version
4.28.3
More information about your build
netlify.toml
)What OS are you using?
Mac OS
Your netlify.toml file
`netlify.toml`
# Paste content of your `netlify.toml` file here
Your public/_redirects file
`_redirects`
# Paste content of your `_redirects` file here
Your
next.config.js
file`next.config.js`
# Paste content of your `next.config.js` file here. Check there is no private info in there.
Builds logs (or link to your logs)
Build logs
Function logs
Function logs
.next JSON files
generated .next JSON files
The text was updated successfully, but these errors were encountered: