Skip to content
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

undici v5.14.0 or higher is failing #265

Closed
Kikobeats opened this issue Feb 8, 2023 · 0 comments · Fixed by #309
Closed

undici v5.14.0 or higher is failing #265

Kikobeats opened this issue Feb 8, 2023 · 0 comments · Fixed by #309
Labels
bug Something isn't working

Comments

@Kikobeats
Copy link
Member

Bug Report

I tried to upgrade undici dependency at packages/primitives, but any version starting from v5.14.0 is failing:

Node.js v18.14.0
node:internal/errors:490
    ErrorCaptureStackTrace(err);
    ^

TypeError: The "transform.readable" property must be an instance of ReadableStream. Received an instance of ReadableStream
    at new NodeError (node:internal/errors:399:5)
    at ReadableStream.pipeThrough (node:internal/webstreams/readablestream:365:13)
    at fetchFinale (/Users/kikobeats/vercel/edge-runtime/packages/primitives/dist/fetch.js:14275:56)
    at mainFetch (/Users/kikobeats/vercel/edge-runtime/packages/primitives/dist/fetch.js:14164:9)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_INVALID_ARG_TYPE'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant