Hydrogen export not define error

I created a brand new hydrogen application and started the development server. Next, I got this error

export not define error

I used the npm create @Shopify_77 [email removed] to create the project I also used typescript.

Thank you.

Hey dude, I am getting this same problem. Did you manage to solve?

I didn’t find the solution but found that this is something to do with Hydrogen. Installation not working on Node 20.12.2 · Issue #2040 · Shopify/hydrogen · GitHub . According to the conversation this get fixed by this coming Monday.

If you don’t mind which package manger your using?
(pnpm, npm, yarn)

I’ve encountered the same issue (was using pnpm), turns out it works fine with npm. Hopefully it will be fixed soon