vscode: TS Language server dies when using TS 3.7.2 on unsaved file in Code 1.40.0
- VSCode Version: 1.40.0
- OS Version: Linux Centos 8
Steps to Reproduce:
- npm init
- npm install typescript (3.7.2)
- code . --disable-extensions
- ctrl-n
- select language mode typescript
- select use workspace version 3.7.2 node_modules/typescript/lib
- start typing
result many error reports of The TypeScript language service died 5 times right after it got started. The service will not be restarted.
Does this issue occur when all extensions are disabled?: Yes
NOTE: This error reporoduced perfectly first time I tried it, and then it stopped giving errors when I restarted VS Code? I am having problems reproducing it now, interested to see what others find.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 10
- Comments: 17 (5 by maintainers)
After update, I get this error all the time, I don’t think it’s related only to this case. I did enable/disable it but after a while it crashes again.
Later edit: Did revert back to 1.39, don’t have this problem.
This is the error I see in DevTools:
I have tried use Typescript version 3.5.3 from project folder with vscode 1.40 but it didn’t help. Had to downgrade
Just got this in the main VS Code notification window after creating a new file, getting the original
The TypeScript language service died 5 times
and then going back to try and edit my original file.Myself and @OogieBoogieInJSON seem to be getting the same
Error: No Project
, @mjbvz Any idea what is going on here?