You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defaulted back to send the email by plain text for now so my build succeeds.
If the issue keeps being unresolved, I'll probably have no option than to look into an alternative on how to handle the HTML templating and with which service. Which is a shame cause the development experience was great until it came to now having it work on production.
Can you make an actual reproduction of this? Something I can clone and get up and running quickly because the original issue there was fixed, and it isn't present anymore. Your issue seems to be something else.
@gabrielmfern thanks for getting back to me. I'll see if I can find time to create smth to reproduce the issue. Although I think it might also be something from the resend package and I could be in the wrong place here.
Cause I currently managed to get around it by sending the HTML email from an edge API route instead of sending the email directly from my server action on the edge runtime, so in the server action I only send a POST request to the API route to trigger the email send and this worked.
Describe the Bug
I'm having a blocking issue for all my builds with Next.js 14.2.3:
It seems that this is already a long-standing issue that has been closed without proper resolution: #1015
The mentioned workarounds do also not work for me:
render
function to first render the react component to HTML and send the emailNot using the Edge runtime on my page
Used packages:
"@react-email/components": "^0.0.19",
"react-email": "^2.1.4",
Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
private
To Reproduce
Create a next 14 project and use the following packages:
Expected Behavior
Build succeeds
What's your node version? (if relevant)
v20.13.1
The text was updated successfully, but these errors were encountered: