Vite renderToReadableStream error after upgrading cli-hydrogen from 7 to 8.0.4
What is the location of your example repository?
No response
Which package or tool is having this issue?
CLI
What version of that package or tool are you using?
8.0.4
What version of Remix are you using?
2
Steps to Reproduce
just launch shopify hydrogen dev and navigate to localhost.
Expected Behavior
it should just work.
Actual Behavior
Did you use h2 setup vite to migrate?
Make sure your vite.config.js is something like this and that you have "type": "module" in your package.json
Also, as per the release notes, make sure you have installed @shopify/mini-oxygen in your project.
h2 setup vite says command not found.
all the rest I did and when booting server it throws this exports error now:
Try with what's explained here: https://github.com/Shopify/hydrogen/issues/2129#issuecomment-2119588510
If I add remix-run/dev to ssr.optimizeDeps.include which is where the exports is not defined, it causes a trillion other issues for vite
This issue has been marked as stale due to inactivity for 60 days. Please comment or update if this is still relevant, otherwise it will be closed in 7 days.