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

Error: Could not generate GraphQL type definitions (web) on Redwood 7.4 #138

Open
senpo opened this issue Apr 26, 2024 · 1 comment
Open

Comments

@senpo
Copy link

senpo commented Apr 26, 2024

I used the quick start command to bootstrap.
$ npx @redwoodjs-stripe/cli@latest setup

$ yarn rw generate types and $ yarn rw dev will yield the same error:

... done with errors.

Error: Could not generate GraphQL type definitions (web)

Error: GraphQL Document Validation failed with 2 errors;
  Error 0: Unknown type "StripeItemsParamsInput".
    at web/src/components/StripeItemsCell/StripeItemsCell.tsx:1:28

Error 1: Cannot query field "stripeItems" on type "Query".
    at web/src/components/StripeItemsCell/StripeItemsCell.tsx:2:3
    at codegen (node_modules/@graphql-codegen/core/cjs/codegen.js:83:19)
    ..........
@chrisvdm
Copy link
Owner

chrisvdm commented May 1, 2024

@senpo Thank you for bringing it up. I know about this. It just shows up when starting up but it shouldn't affect the app. Regardless, I'll look into a way to fix this, I understand it definitely does look something broke.

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

No branches or pull requests

2 participants