hygraph-commerce-starter
hygraph-commerce-starter copied to clipboard
Unhandled runtime error - invalid currency code
I am having trouble getting the starter to run, even without any customisation. I haven't changed locales, currencies or any files other than adding the .env. As I'm new to this, I'm a bit lost at where I am going wrong.
Steps to reproduce:
- Clone repo
> npx degit GraphCMS/graphcms-commerce-starter#main graphcms-commerce-starter
> cd graphcms-commerce-starter
> yarn
- Add .env file with URI/Tokens from graphCMS and Stripe.
- Start dev server
Expected: starter loads on port 3000 Actual: unhandled error:
For US Currency, it is USD. Try changing it to that.