resend / react-email

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

Could not resolve "react/jsx-runtime" #1442

Closed restocked closed 3 weeks ago

restocked commented 3 weeks ago

Describe the Bug

Following the automatic setup this error is being thrown.

Which package is affected (leave empty if unsure)

@react-email/components, create-email, react-email

Link to the code that reproduces this issue

To Reproduce

Just run the automatic process, step by step.

npx create-email@latest

Screenshot 2024-04-30 at 15 52 24

Expected Behavior

To compile and show emails template

What's your node version? (if relevant)

20.12.2 or 18.17.1

Using macOS Ventura 14.4.1

gabrielmfern commented 3 weeks ago

Did you find this was an issue on your side? Or the cause of it exactly?

restocked commented 3 weeks ago

Did you find this was an issue on your side? Or the cause of it exactly?

I fixed by doing this https://github.com/resend/react-email/issues/1422#issuecomment-2072163519