Error: Mini Oxygen cannot start because the server bundle has not been generated.

Error: Mini Oxygen cannot start because the server bundle has not been generated.

highflyer
Shopify Partner
1 0 0

When running 'npm run dev' to start the store it brings up this error: 

This is to start a hydrogen storefront.

Screenshot 2023-09-04 221635.png

Reply 1 (1)

jeffatil
Shopify Partner
1 0 0

I was running into this issue locally, but the storefront was working correctly when deployed to Oxygen. I got it working by removing the v2_dev flag in remix.config.js

module.exports = {
// ... other entries
future: {
v2_meta: true,
v2_dev: true, // Removed this entry
v2_errorBoundary: true,
v2_routeConvention: true,
v2_normalizeFormMethod: true,
},