Closed omarkhatibco closed 2 months ago
@lithdew could you share any of your insights into using Start with Bun?
Edit: Can confirm that bumping react to the canary channel.
bun add react@canary react-dom@canary
This may be a React (react and react-dom) issue with how it interfaces with Bun.
Describe the bug
When setting the preset to
bun
in deployment.the generated bundle is not working, it complains about missing
react-dom/server
I checked the
node_module
inside.output
folder, react-dom does not include any exports related to serverYour Example Website or App
https://github.com/omarkhatibco/start-test
Steps to Reproduce the Bug or Issue
run
cd apps/web2
thenbun run build
andbun start
Expected behavior
it should work
Screenshots or Videos
No response
Platform
Additional context
I was able to replace
react-dom
manually and get it to work