react-email icon indicating copy to clipboard operation
react-email copied to clipboard

Does not work with Next 14.2.2

Open rogueturnip opened this issue 1 year ago • 5 comments

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

rogueturnip avatar Apr 26 '24 14:04 rogueturnip

I created a new project project with Next 14.2.3 which installed [email protected]. 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.

jessicarush avatar Apr 27 '24 02:04 jessicarush

+1

praveentcom avatar Apr 27 '24 12:04 praveentcom

+1

Catevika avatar Apr 27 '24 12:04 Catevika

+1

arashn0uri avatar Apr 28 '24 16:04 arashn0uri

+1

davidaragundy avatar Apr 28 '24 22:04 davidaragundy

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.

gabrielmfern avatar Apr 29 '24 19:04 gabrielmfern