Skip to content

Instantly share code, notes, and snippets.

@dmaisano
Created June 8, 2021 01:36
Show Gist options
  • Save dmaisano/9b7da0f4dfe867c2779172657564c542 to your computer and use it in GitHub Desktop.
Save dmaisano/9b7da0f4dfe867c2779172657564c542 to your computer and use it in GitHub Desktop.
# https://github.com/correttojs/graphql-codegen-apollo-next-ssr/tree/main/example
# npm run codegen
> example@1.0.0 codegen
> graphql-codegen --config codegen.yml
[21:35:47] Parse configuration [started]
[21:35:47] Parse configuration [completed]
[21:35:47] Generate outputs [started]
[21:35:47] Generate src/generated/graphql.tsx [started]
[21:35:47] Generate to src/generated/page.tsx (using EXPERIMENTAL preset "import-types") [started]
[21:35:47] Load GraphQL schemas [started]
[21:35:47] Load GraphQL schemas [started]
[21:35:47] Load GraphQL schemas [completed]
[21:35:47] Load GraphQL documents [started]
[21:35:47] Load GraphQL schemas [completed]
[21:35:47] Load GraphQL documents [started]
[21:35:47] Load GraphQL documents [completed]
[21:35:47] Generate [started]
[21:35:47] Generate [failed]
[21:35:47] → Unable to find template plugin matching ../build/src/index.js
[21:35:47] Generate to src/generated/page.tsx (using EXPERIMENTAL preset "import-types") [failed]
[21:35:47] → Unable to find template plugin matching ../build/src/index.js
[21:35:47] Load GraphQL documents [completed]
[21:35:47] Generate [started]
[21:35:47] Generate [completed]
[21:35:47] Generate src/generated/graphql.tsx [completed]
[21:35:47] Generate outputs [failed]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment