Open
Description
Here are the errors I get when running the code with Wordpress backend
npm modules all installed including graphql-codegen error #1
not sure what this error is about #2
running npm run codegen and get error #3
- Cannot find module '@/graphql/generated/fragmentMatcher' or its corresponding type declarations.
- Cannot find module '@/graphql/generated' or its corresponding type declarations.
- Generate graphql/generated/fragmentMatcher.ts
✔ Load GraphQL schemas
✔ Load GraphQL documents
✖ GraphQL Document Validation failed with 22 errors;
Error 0: GraphQLDocumentError: Unknown type "ContentBlock". Did you mean "ContentNode"…
at /Users/Desktop/vip-go-nextjs-skeleton/graphql/fragments/ContentBlock.graphq…
Error 1: GraphQLDocumentError: Cannot query field "contentBlocks" on type "NodeWithCon…
at /Users/Desktop/vip-go-nextjs-skeleton/graphql/fragments/ContentBlock.graphq…
Error 2: GraphQLDocumentError: Unknown type "ContentBlock". Did you mean "ContentNode"…
at [/Users/Desktop/vip-go-nextjs-skeleton/graphql/fragments/ContentNode.graphql…
Metadata
Metadata
Assignees
Labels
No labels