-
Notifications
You must be signed in to change notification settings - Fork 666
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
Build error due to dependency installation #1432
Comments
It seems like we are having this same issue when building our demo application. Thank you for opening this issue! |
Same error with our project |
Same here. react@18.3.0 might fix? Can't build our app anymore either. |
likewise! |
Same for me. |
A temporary solution is patching the dependency to the exact react version (18.2.0). You can use pnpm patch or patch-package to accomplish this |
It's actually |
@aaronmw It worked for me, https://github.com/resend/react-email/blob/main/packages/components/package.json#L66 The patch will allow you to install. I've used |
Hmm. Maybe we have different issues. My project is using |
Oops, I see what you did. Patching |
@aaronmw but that's the issue, having |
We will be fixing this in a new version for Update: we will try releasing on Monday |
@gabrielmfern Thank you 🙏 Seems my project doesn't build on |
Currently, its works for me without pnpm patch. |
Same issue here, a bunch of my vitest tests won't work because of this dependency issue with react and react-email |
Looks like new version is not released yet. @gabrielmfern any ETA on this? |
@praveentcom We weren't able to do it yesterday, will try Monday. |
Any updates on when this will be released? |
We just released a new version for all the packages that has a proper version for You should upgrade See https://github.com/resend/react-email/releases/tag/react-email%402.1.2 |
Thanks @gabrielmfern! |
Describe the Bug
When executing the command
email build
, I encountered the following error:Upon investigating further by running
npm install
in the.react-email
directory, I found a more detailed error message:This issue appears to stem from a conflict with the recently published version of
react
: https://www.npmjs.com/package/reactWhich package is affected (leave empty if unsure)
react-email
Link to the code that reproduces this issue
https://www.npmjs.com/package/react
To Reproduce
email build
with the most recent version ofreact-email
.Expected Behavior
it builds the email templates without build errors.
What's your node version? (if relevant)
No response
The text was updated successfully, but these errors were encountered: