3 people reported
All time, since Apr 5, 2024.
Type errors after upgrade
“After upgrading from Shopify API 8.1.1 to 9.7.1, the following errors occur while building the application.”
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/7233/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
TypeScript build fails with missing types after shopify-api upgrade. Upgrading @shopify/shopify-api to v9 or later produces TS2304 and TS2688 errors in node_modules declaration files on tsc build.
Is this your bug?
File my report- Where
- @shopify/shopify-api types
- Error text
error TS2688: Cannot find type definition file for '@cloudflare/workers-types'.node_modules/@shopify/graphql-client/dist/graphql-client.d.ts:4:15 - error TS2304: Cannot find name 'HeadersInit'.Pasted in 2 reportsnode_modules/@shopify/shopify-api/runtime/http/types.d.ts:1:23 - error TS2688: Cannot find type definition file for '@cloudflare/workers-types'.Pasted in 2 reports- Versions
- 8.1.1 to 10.0.0
- Platforms
- macOS, Windows
- How bad
- Breaks a normal workflow. Most reports say it used to work. Some reports say it blocks them completely.
Original reports3, newest first
- Type error when upgrading to @shopify/shopify-api v9 or v10On GitHubshopify-app-js #865
- Build Failure when upgrading to Latest Shopify APIOn GitHubshopify-app-js #793
- Type issues on upgradeOn GitHubshopify-app-js #780