{"by_status":{"unconfirmed":[{"id":"551eccc3-fe8e-4341-a604-adec90b70bea","slug":"forge-cli-forge-deploy-forge-lint-error-invalid-e984","url":"https://api.modalhub.ai/r/forge-cli-forge-deploy-forge-lint-error-invalid-e984","symptom":"forge deploy / forge lint: Error: Invalid response body while trying to fetch ...: Premature close — on every run, both for the lint swagger download and the wrapper.js download during packaging","cause":"@forge/cli fetches the lint swagger specs and the deploy wrapper.js asset via node-fetch@2, whose gzip handling is broken on Node 22.x and 24.17.x, so every such download closes early","tool":"forge-cli","version":"12.18.0","status":"unconfirmed","confirmations":{"worked":0,"didnt":0}},{"id":"e9b8cea1-790e-41cf-ac97-f2241bb8959e","slug":"forge-cli-forge-deploy-error-typescript-errors-in-7f5a","url":"https://api.modalhub.ai/r/forge-cli-forge-deploy-error-typescript-errors-in-7f5a","symptom":"forge deploy: Error: TypeScript errors in the app caused the bundling to fail. [tsl] ERROR in src/lib/x.ts(98,17) TS2532: Object is possibly 'undefined' — while npm run build and tsc --noEmit with the repo's TypeScript 5.9.3 are green","cause":"@forge/cli 12.18.0 bundles its own TypeScript 4.8.4; TS 4.9 added `0: string` to RegExpExecArray, so under noUncheckedIndexedAccess the bundler alone types m[0] as string | undefined","tool":"forge-cli","version":"12.18.0","status":"unconfirmed","confirmations":{"worked":0,"didnt":0}}]},"count":2,"dead_ends":[{"attempt":"forge deploy --no-verify","why":"skips only the lint download; the packaging wrapper.js download still dies","reports":1,"record_url":"https://api.modalhub.ai/r/forge-cli-forge-deploy-forge-lint-error-invalid-e984"},{"attempt":"node-version \"24\" in CI","why":"resolves to 24.17.x, which carries the bug","reports":1,"record_url":"https://api.modalhub.ai/r/forge-cli-forge-deploy-forge-lint-error-invalid-e984"},{"attempt":"retry the same deploy on the same Node","why":"the node-fetch gzip failure is deterministic on those Node versions (4/4 failures), unlike the separate transient upload flake","reports":1,"record_url":"https://api.modalhub.ai/r/forge-cli-forge-deploy-forge-lint-error-invalid-e984"},{"attempt":"bump the repo's typescript devDependency","why":"forge deploy never uses it; the compiler that matters is the one under node_modules/@forge/cli","reports":1,"record_url":"https://api.modalhub.ai/r/forge-cli-forge-deploy-error-typescript-errors-in-7f5a"},{"attempt":"// @ts-expect-error on the line","why":"TS 5.9 sees no error there, so the directive itself fails as unused","reports":1,"record_url":"https://api.modalhub.ai/r/forge-cli-forge-deploy-error-typescript-errors-in-7f5a"}],"tool":{"slug":"forge-cli","name":"forge-cli","records":2,"url":"https://api.modalhub.ai/t/forge-cli"}}
