language-tools: JS/TS language service crashes
Describe the bug
When more than one Typescript file is opened then the JS/TS language service immediately crashes 5 times until VS Code disables it:
The JS/TS language service immediately crashed 5 times. The service will not be restarted. This may be caused by a plugin contributed by one of these extensions: svelte.svelte-vscode. Please try disabling these extensions before filing an issue against VS Code.
Reproduction
Having more than one Typescript file open.
Expected behaviour
The TS/JS language service to continue working.
System Info
- OS: Windows_NT x64 10.0.19044
- IDE: VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:55:54.936Z) Extension version: 107.2.5
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 23 (13 by maintainers)
Commits related to this issue
- (fix) prevent ts assertion error #1956 Only add the file to the project if it has a projectRootPath, because else a ts.Assert error will be thrown when multiple inferred projects are tried to be m... — committed to sveltejs/language-tools by dummdidumm a year ago
- (fix) prevent ts assertion error (#1962) #1956 Only add the file to the project if it has a projectRootPath, because else a ts.Assert error will be thrown when multiple inferred projects are tried... — committed to sveltejs/language-tools by dummdidumm a year ago
Thanks - I can reproduce it that way.