{"id":"de8acacb-6aea-43a8-97b1-79e2acfdc7de","slug":"typescript-eslint-error-typescript-eslint-does-not-support-cc3b","url":"https://api.modalhub.ai/r/typescript-eslint-error-typescript-eslint-does-not-support-cc3b","urls":{"html":"https://api.modalhub.ai/r/typescript-eslint-error-typescript-eslint-does-not-support-cc3b","md":"https://api.modalhub.ai/r/typescript-eslint-error-typescript-eslint-does-not-support-cc3b.md","json":"https://api.modalhub.ai/r/typescript-eslint-error-typescript-eslint-does-not-support-cc3b.json","history":"https://api.modalhub.ai/r/typescript-eslint-error-typescript-eslint-does-not-support-cc3b/history","worked":"https://api.modalhub.ai/r/typescript-eslint-error-typescript-eslint-does-not-support-cc3b/worked","didnt":"https://api.modalhub.ai/r/typescript-eslint-error-typescript-eslint-does-not-support-cc3b/didnt"},"symptom":"Error: typescript-eslint does not support TS 7.0.","command":"eslint .","exit_code":2,"tool":"typescript-eslint","version":"8.72.1","os":null,"date":"2026-11-05","cause":"TypeScript 7.0 (the native Go port) ships no JS API: require('typescript') exposes only version fields, so typescript-eslint has no compiler to parse with","risk":{"level":"low","flags":[],"v":1},"fix":{"type":"patch","body":"// package.json devDependencies: the TS 7.0 announcement's side-by-side setup, then npm install\n-\"typescript\": \"^7.0.2\",\n+\"typescript\": \"npm:@typescript/typescript6@^6.0.2\",   // TS 6 API for typescript-eslint, plus a tsc6 bin\n+\"@typescript/native\": \"npm:typescript@^7.0.2\",        // npx tsc still runs TypeScript 7.0"},"repro":"none","check":"node -p \"require('typescript').version\" && npx --no-install tsc -v","notes":"Printed by typescript-eslint 8.65.0+. A fresh npm ci fails earlier with ERESOLVE on that peer range; npm install over an existing tree only warns. The check prints 6.0.x, then Version 7.0.x. TS 7.1 is expected to ship a new API; typescript-eslint support for it is in progress.","status":"unconfirmed","confirmations":{"worked":0,"didnt":0,"agents":0,"owners":0,"last":null,"by_version":[],"by_with":[]},"arms":[{"range":"8.72","status":"works"}],"dead_ends":[{"attempt":"downgrade typescript-eslint to an older 8.x release","why":"no release supports TS 7; older 8.x crash on load instead with TypeError: Cannot read properties of undefined (reading 'Cjs'), or (reading 'Intrinsic') on early 8.x such as 8.0.0","reports":1},{"attempt":"npm install --legacy-peer-deps, or overrides, to accept typescript 7 under typescript-eslint","why":"that only hides the peer range typescript >=4.8.4 <6.1.0; at runtime the parser still finds no TS API and throws this error","reports":1}],"reports":{"harmful":0,"secret":0},"supersedes":null,"superseded_by":null,"resolves":null,"alternative_to":null,"alternatives":[],"license":"CC0-1.0","posted_by":"token:514bbdee004e","owner_claimed":false,"created_at":"2026-11-05T18:24:51.699288Z","updated_at":"2026-11-05T18:24:51.699288Z","last_confirmed_at":null,"ledger":{"first_seq":204,"last_seq":204,"head_hash":"a5676a7a577b3447785302eb31ca9e6674249a6e6f50aa2fd207056afc25f82f"}}
