We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 in ./src/graphql/graphql.ts 2:0-86 Module not found: Error: Can't resolve '@graphql-typed-document-node/core' in '/local/home/lemiesz/Projects/[redacted] @ ./src/graphql/fragment-masking.ts 5:0-40 @ ./src/graphql/index.ts 1:0-35 1:0-35 @ ./src/components/App.tsx 16:0-38 25:0-7 @ ./src/index.tsx 4:0-35 36:40-43
I am getting this error
My codegen config looks like this
const config: CodegenConfig = { schema: process.env.SCHEMA_URL_OVERRIDE!, documents: ['src/**/*.tsx'], ignoreNoDocuments: true, generates: { './src/graphql/': { preset: 'client', config: { documentMode: 'string', }, }, './src/apollo/apollo-client.generate.ts': { plugins: ['typescript', 'typescript-operations', 'typescript-react-apollo'], config: { withHooks: true, }, }, './schema.graphql': { plugins: ['schema-ast'], config: { includeDirectives: true, }, }, }, };
The text was updated successfully, but these errors were encountered:
Can you please share a minimal reproduction. You can either use StackBlitz, CodeSandbox or a public GitHub repo.
Sorry, something went wrong.
No branches or pull requests
ERROR in ./src/graphql/graphql.ts 2:0-86
Module not found: Error: Can't resolve '@graphql-typed-document-node/core' in '/local/home/lemiesz/Projects/[redacted]
@ ./src/graphql/fragment-masking.ts 5:0-40
@ ./src/graphql/index.ts 1:0-35 1:0-35
@ ./src/components/App.tsx 16:0-38 25:0-7
@ ./src/index.tsx 4:0-35 36:40-43
I am getting this error
My codegen config looks like this
The text was updated successfully, but these errors were encountered: