We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Today, if you try to use the CompressionStream or DecompressionStream APIs within edge runtime, you get the following error:
CompressionStream
DecompressionStream
Error: A Node.js API is used (CompressionStream) which is not supported in the Edge Runtime. Learn more: https://nextjs.org/docs/api-reference/edge-runtime
CompressionStream is not listed here in the Edge Runtime API docs.
Is this intentional? Or maybe just accidental gating of something that in practice could actually work if ungated?
Given that Edge Runtime supports the Web Streams API, it seems logical that the Compression Streams API would be supported?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Today, if you try to use the
CompressionStream
orDecompressionStream
APIs within edge runtime, you get the following error:CompressionStream
API as if it is an unsupported Node.js APICompressionStream
is both a web standard API and available in Node.js (as of v17)CompressionStream
is not listed here in the Edge Runtime API docs.Is this intentional? Or maybe just accidental gating of something that in practice could actually work if ungated?
Given that Edge Runtime supports the Web Streams API, it seems logical that the Compression Streams API would be supported?
The text was updated successfully, but these errors were encountered: