Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

Re: hydrogen export not define error

hydrogen export not define error

skdishansachin
Shopify Partner
3 0 0

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.

 

Replies 4 (4)

DionneChelini
Shopify Partner
3 0 1

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

skdishansachin
Shopify Partner
3 0 0

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.

skdishansachin
Shopify Partner
3 0 0

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

KMalkowski
Visitor
1 0 0

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