-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
VS Code extension causing JS/TS language service crashes last couple of days #2489
Comments
I can't reproduce this can you follow this instruction to get the log of TSServer and see if there is any error in it? https://github.com/microsoft/TypeScript/wiki/Getting-logs-from-TS-Server-in-VS-Code |
Hallelujah! I believe I have found the culprit. I took a look at any major changes I may have made in last few days that could have also contributed to it and I remembered I started integrating google cloud apis into our application which I disabled because at build time I was getting the ugly circular reference node error as mentioned and unresolved here googleapis/google-auth-library-nodejs#1539 I reverted my code but left the packages installed so I could get back to this once finding a resolution. These packages (all from google) were
I removed them today completely and restarted vs code and presto problem solved so they were clashing with this extension (not sure which one or all of them) |
I still can't reproduce the problem with all three libraries installed. But seems like you have solved your issue so I'll close this in a few days if there is no further info we can investigate. |
OK, So the issue does still pop-up from time to time but not always like it was before I uninstalled the aforementioned packages.
Sounds like it may be something unique to my installation so probably not worth looking any further until I can reliably find more reproduction steps and I am not going to spam you with the tons of log data that has been generated as most of it is INFO lines and I don't see much in there that stands out. |
I get this problem on a semi-regular basis. Is there somewhere we can look in VSCode to get more information? I tried looking in the "output" panel and I see this:
but that's not very informative. |
That doesn't work, I think it's out of date. There is no such command in my version of VS Code. I also tried looking at the log file on disk, but that shows the same thing I see in my output panel. EDIT: Ah, I see the problem with the logs. If the server doesn't initialize, the "Open TS Server log" obviously won't appear. I'll try enabling the logs and see if it crashes again later. |
Describe the bug
type intellisense is perpetually in "loading state" and the VS code typescript plugin is repeatedly crashing returning ultimately the following notice.
"The JS/TS language service crashed 5 times in the last 5 Minutes. 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
Install vs code in wsl ubuntu and a normal svelte install with default options (svelte 4) using javascript with JSDoc checking.
jsconfig.json
Expected behaviour
Normal behaviour is the language server not crashing in vs code.
System Info
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: