Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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/hydrogen@latest 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