Replies: 1 comment 2 replies
-
We would need to see more details or a reproduction to be able to better debug this. However, since you mention that it works locally but not on Oxygen, I suspect it has to do with that library using something that is Node-specific but not compatible with Oxygen/Cloudflare Workers. If you were to run with the https://shopify.dev/custom-storefronts/tools/cli-hydrogen#preview |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am implementing a webapp using Hydrogen with ts. Connecting Airtable from my dev/local environment has been smooth. But, when I deployed it in the platform (Oxygen), I wasn’t able to fetch some data from the airtable and it gives me an error:
TypeError: c.default is not a constructor.
Just by calling this method -
await table.select({}).firstPage();
would still give me the same error above.I would really appreciate if someone can enlighten me about the issue. I have been debugging this for a week.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions