Skip to content

WritableStream errors when running with React 19.2.0 #2521

@l0gicgate

Description

@l0gicgate

Describe the Bug

The render() method breaks with the following error:

TypeError:
The "transform.writable" property must be an instance of WritableStream. Received an instance of Writable
code: 'ERR_INVALID_ARG_TYPE'

Which package is affected (leave empty if unsure)

@react-email/render

Link to the code that reproduces this issue

https://github.com/resend/react-email

To Reproduce

  1. Install React 19.2.0
  2. Try to use render()

Expected Behavior

Not to break.

What's your node version? (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions