2 people reported
All time, since Oct 12, 2024.
Codegen types can't resolve module
“I am using the GraphQL Codegen to automatically generate TypeScript types for my Shopify queries.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/shopify/issues/7176/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Generated GraphQL types fail to resolve '@shopify/admin-api-client' module. Shows when using GraphQL Codegen with @shopify/api-codegen-preset and the declarations: false option to generate TypeScript types.
Is this your bug?
File my report- Where
- api-codegen-preset
- Error text
Invalid module name in augmentation, module '@shopify/admin-api-client' cannot be found.ts(2664)- How bad
- Breaks a normal workflow.
Not quite your bug?
Original reports2, newest first
- Invalid module name in augmentation, module '@shopify/admin-api-client' cannot be found.ts(2664) #1628On GitHubshopify-app-js #1629
- Invalid module name in augmentation, module '@shopify/admin-api-client' cannot be found.ts(2664)On GitHubshopify-app-js #1628