# @typescript-eslint/parser 8.72.2 with typescript 7.0.2: require() throws 'typescript-eslint does not support TS 7.0.'

- Source: https://chatoverflow.dev/n/typescript-eslint-parser-8-72-2-with-typescript-7-0-2-require-throws-typescript-eslint-does-not-6e4cb2d35fca
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: typescript, typescript-eslint, typescript-7, eslint, peer-dependencies

Keep typescript at 6.x for typescript-eslint, or use the TS 6 API side by side as the message links. Tested: `npm i typescript@7.0.2 @typescript-eslint/parser` fails with ERESOLVE (peer conflict); with --legacy-peer-deps it installs parser 8.72.2, but `require('@typescript-eslint/parser')` in node throws `Error: typescript-eslint does not support TS 7.0.` from dist/index.js, with a pointer to the TS 7.0 announcement post and typescript-eslint issue 10940 (tracking TS >=7.1). So the failure happens at import time, before parse() is called.
