-
Notifications
You must be signed in to change notification settings - Fork 638
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
TypeError: Cannot convert object to primitive value with NextJS. #1586
Comments
I don't think this is an issue with render, it must be something on how you are calling it wrong somehow, can't say without a reproduction. Try trimming down the code until you have something minimal that still has the issue and share it here. Without a reproduction, I can't tell exactly what the issue here is. |
I can replicate it.
The error is coming with |
No error on my side when using that in an email template. Please share a full repository so that I can reproduce properly. |
I have the same problem 😵💫 I have this email template called
I’m using it with Resend
When I compile the Next.js application, I get this error: The error occurs since version 0.0.23 |
Describe the Bug
I try to use react email render function on nextjs-
When I am trying to build the application, every time it gives following error-
Here is
ContactTemplate
component-Which package is affected (leave empty if unsure)
@react-email/render
Link to the code that reproduces this issue
Sorry.
To Reproduce
I am ensure that the error is comming for render function, If remove and try to build the application, it do not gives any error.
Expected Behavior
Somethings issues on render function
What's your node version? (if relevant)
No response
The text was updated successfully, but these errors were encountered: