react-email
                                
                                 react-email copied to clipboard
                                
                                    react-email copied to clipboard
                            
                            
                            
                        Error: A Node.js API is used (MessageChannel) which is not supported in the Edge Runtime.
Describe the Bug
Using React 19 + Next.js 15
I want to use @react-email/render on edge runtime. However, I got this error:
unhandledRejection: Error: A Node.js API is used (MessageChannel) which is not supported in the Edge Runtime.
Which package is affected (leave empty if unsure)
@react-email/render
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/react-email-render-on-edge-runtime-5dlkxp
To Reproduce
- Go to /api/email
- See the error
Expected Behavior
No errors. And render the component successfully in email.
What's your node version? (if relevant)
No response