You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Bun doesn't contain all the dependencies required to run next. For example: bun -b email dev
and bun -b email build relies on TextDecoderStream which isn't supported in bun yet
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 [email protected]
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
The text was updated successfully, but these errors were encountered: