Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled runtime error - invalid currency code #28

Open
jimm23 opened this issue Oct 14, 2021 · 1 comment
Open

Unhandled runtime error - invalid currency code #28

jimm23 opened this issue Oct 14, 2021 · 1 comment

Comments

@jimm23
Copy link

jimm23 commented Oct 14, 2021

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

@talmax1124
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants