resend / react-email

💌 Build and send emails using React
https://react.email
MIT License
12.57k stars 571 forks source link

Does not work with Next 14.2.2 #1435

Closed rogueturnip closed 2 weeks ago

rogueturnip commented 3 weeks ago

Describe the Bug

The Next 14.2.2 requires React 18.3.0 while react-send is on the 18.2.x version. Unable to update to the newer versions of Next because of this.

As React 19 was released (beta) and Next will likely update to support it's more important for react-email to increase the supported React version.

Which package is affected (leave empty if unsure)

No response

Link to the code that reproduces this issue

no code link

To Reproduce

With existing setup on Next 13 and react-email try to update to Next 14

Expected Behavior

Should update without module conflict.

What's your node version? (if relevant)

No response

jessicarush commented 3 weeks ago

I created a new project project with Next 14.2.3 which installed react@18.3.1. I forced the install of @react-email/component with:

npm install @react-email/components --legacy-peer-deps

I have two email templates in my app and have tested them, so far all appears to be working fine. This is obviously not a solution, just adding my +1 to the issue.

praveentcom commented 3 weeks ago

+1

Catevika commented 3 weeks ago

+1

arashn0uri commented 2 weeks ago

+1

davidaragundy commented 2 weeks ago

+1

gabrielmfern commented 2 weeks ago

This has been fixed on the latest for our packages. To get it, you will need to upgrade all of the packages you have installed from us. See https://github.com/resend/react-email/issues/1432#issuecomment-2083443578 for more info.