-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Bug: "File './tsconfig-base' not found" or "Cannot read file 'src/src/src/src/tsconfig-base.json'" in alpha (after ProjectService PR?) #7246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The project service change was published as |
Just checked, and 17 works while 18 does not, so that definitely narrows it down. |
Grr, thanks for trying this out so quickly @jakebailey. Probably saved us from an awkward quick revert after the scheduled release today. I'll revert #6754 now and file a ticket to add it back, with tests confirming this doesn't regress again. |
@jakebailey what version of npm are you using? 8.19.4 per the
I can repro your issue with |
Actually, never mind. Confirmed that |
Before You File a Bug Report Please Confirm You Have Done The Following...
Issue Description
I bumped TypeScript up to the latest ts-eslint alpha to try and test out the new project service. However, I went to run a "before" benchmark and noticed that ts-eslint fails to load the configuration / tsconfig we have in the repo already, even before going to change the config.
Running eslint, I get this for each file:
Modifying our tsconfig-eslint base to instead try an explicit
.json
extension nets:I suspect that maybe something regressed in said ProjectService change, but I can't be sure.
Reproduction Repository Link
https://github.com/jakebailey/TypeScript/tree/eslint-v6-alpha
Repro Steps
npm ci
npx eslint .
Versions
@typescript-eslint/eslint-plugin
6.0.1-alpha.28
@typescript-eslint/parser
6.0.1-alpha.28
@typescript-eslint/scope-manager
6.0.1-alpha.28
@typescript-eslint/typescript-estree
6.0.1-alpha.28
@typescript-eslint/type-utils
6.0.1-alpha.28
@typescript-eslint/utils
6.0.1-alpha.28
TypeScript
5.1.6
ESLint
8.45.0
node
20.4.0
The text was updated successfully, but these errors were encountered: