hygraph-commerce-starter icon indicating copy to clipboard operation
hygraph-commerce-starter copied to clipboard

Unhandled runtime error - invalid currency code

Open jimm23 opened this issue 2 years ago • 1 comments

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:

  1. Clone repo
> npx degit GraphCMS/graphcms-commerce-starter#main graphcms-commerce-starter
> cd graphcms-commerce-starter
> yarn
  1. Add .env file with URI/Tokens from graphCMS and Stripe.
  2. Start dev server

Expected: starter loads on port 3000 Actual: unhandled error:

image

jimm23 avatar Oct 14 '21 11:10 jimm23

For US Currency, it is USD. Try changing it to that.

talmax1124 avatar Jul 16 '22 19:07 talmax1124