I recently had an issue with React-Mail closing without any error when running with bun (installed on WSL), see reproduction here: https://github.com/codeScourge/react-email. I was able to workaround by downgrading to react-mail@1.9.0
The error seemed to be fixed by installing Node in WSL, as proposed by gabrielmfern:
I think I've figured it out. When running on WSL you might have not installed Node at all, in that case, it seems like it fails the same you mentioned. It also fails the same way when running with bun --bun dev while having Node installed. So it seems like bun falls back to running with its runtime if Node isn't installed, so basically it runs bun --bun dev. Haven't checked on their code and I couldn't find anything related to this on their docs.
Describe the Bug
I recently had an issue with React-Mail closing without any error when running with bun (installed on WSL), see reproduction here: https://github.com/codeScourge/react-email. I was able to workaround by downgrading to react-mail@1.9.0
The error seemed to be fixed by installing Node in WSL, as proposed by gabrielmfern:
Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
https://github.com/codeScourge/react-email
To Reproduce
https://github.com/codeScourge/react-email, see ReadME
Expected Behavior
it should start a dev server
What's your node version? (if relevant)
No response