-
Notifications
You must be signed in to change notification settings - Fork 12.8k
VS Code - TypeScript Server Error - Type check, auto complete, etc. stops working preiodically #32086
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
@AnyhowStep Can you please turn on the tsserver log and when the issue reproduces share the complete log. That would make investigating this easier since from your description it happens only certain times, it feels like the action sequence might help what went wrong. If you want to share tsserver log more privately here are the steps.
|
I ran However, when I run The timestamps seem different.
Do I just use |
|
…olvedPath since thats how the source files are queried and thats the real path Fixes #32086
Hi, I am getting the typescript server error when I format the code in vs code. Version: 1.39.1 (system setup) Error: Can anyone please help me? Thanks, |
@nikunjdnp I am also seeing this issue, can anyone help? Thanks |
+1, also seeing this error from latest version:
|
still there when formatting tsx |
Could you pass along some sample code which causes the crash? There are no repros in this issue - extra points if you can make it crash the playground too |
I'm also seeing this, any fix? |
@turbozv @cahtyw
|
same problem +1 |
OS: Ubuntu 19.10 The only enabled (and relevant) Extension is:
|
TypeScript Version: 3.5.1
Search Terms:
typescript server error, debug failure
Code
I seem to get two kinds of error messages in the VS Code developer tools,
And,
The log just gets spammed continuously.
Expected behavior:
Type check, auto complete, etc. should consistently work
Actual behavior:
When I restart VS code, everything works fine.
Then, a while later (seconds/minutes; usually minutes), it just stops working and I get errors in the VS code developer tools console tab. If I restart VS code ("Reload window"), everything works fine again for a while, until those errors come back.
tsc
works fine.tsc -b -w
works fine.The project I'm working on is a composite project with 30+ sub-projects.
Not sure what other information I should provide.
It's kind of hard for me to reproduce the issue at will. I'm just writing a bunch of tests and every now and then, things just stop working.
Playground Link: None
Related Issues:
No idea, maybe #30546 ?
But the logs seem very different.
The text was updated successfully, but these errors were encountered: