-
Notifications
You must be signed in to change notification settings - Fork 12.8k
ProjectService.updateNonInferredProjectFiles - Cannot read property 'path' of undefined #35001
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
@RyanCavanaugh Candidate for 3.7.3. Not a regression since this also repos for me under 3.6.4 but VS Code now treats errors that happen during |
@mjbvz I don't seem to be able to repro (tsserver.log) with insiders and 3.7.2 or with 3.8 and vscode (tsserver.log) |
This is triggered by the tslint extension. A pr came in that changes the working directory using When the new file is created, TS Server then ends calling This likely has been happening silently for a while but the new strictness I added means that we now restart the server in this case. I'll look into a fix on the TSlint side. @sheetalkamat I don't understand why |
@mjbvz We need to get the config file for the file being opened, so its walking up the directories to find it... |
But why do we check the relative path |
TypeScript Version: 3.8.0-dev-2019-11-05 and 3.7.2
Search Terms:
Repo
(Tested on windows)
refactor.ts
open: https://github.com/microsoft/vscode/blob/master/extensions/typescript-language-features/src/features/refactor.tsrefactor.ts
Typescript
(without saving it)Bug
This seems to be caused by the line
TypeScript/src/server/editorServices.ts
Line 1854 in 35a6426
related issues
/cc @sheetalkamat
The text was updated successfully, but these errors were encountered: