Skip to content

ReadableStream has already been used #35

@bossmodex

Description

@bossmodex

What version of Elysia is running?

1.2.8

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

Update elysia from 1.2.6 to 1.2.8

What is the expected behavior?

No response

What do you see instead?

error: ReadableStream has already been used
at mergeResponseWithSetHeaders (\api\node_modules\elysia\src\adapter\web-standard\handler.ts:238:14)
at mapResponse (\api\node_modules\elysia\src\adapter\web-standard\handler.ts:324:16)
at createNativeStaticHandler (\api\node_modules\elysia\src\adapter\bun\handler.ts:18:19)
at add (\api\node_modules\elysia\src\index.ts:733:15)
at get (\api\node_modules\elysia\src\index.ts:3997:8)
at \api\node_modules@elysiajs\apollo\dist\index.mjs:33:11

Additional information

with update elysia 1.2.8 have this error
webstorm64_7gzli6tF08
webstorm64_1QlS5Xit70

when rolling back to 1.2.6 everything works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions