-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Initializing js/ts features Causes Application to hang #37967
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
What exactly doesn't work while you see the progress indicator? It only indicates that the typescript server that powers both JavaScript and TypeScript language features is initializing (it is run its own process so it doesn't block VS Code) |
Well I can tell you that it is blocking VS Code from running. I can't do anything while that is running. Oftentimes it takes about 3-5 minutes to complete. Sometimes less, sometimes more. |
But what does "can't do anything mean"? Does it not respond to any input? Can you share a video of this? |
Also does this reproduce with all extensions disabled? |
Ahh. Seems I may have spoken prematurely. Seems to not block actual functionality (browsing to various site files, etc). But won’t allow you to install any node packages until VS Code has completed the task in question. Is that expected? Haven’t had a chance to disable all extensions. |
No, it should not block that. How are you installing the node packages? |
I use NPM so... |
Do you see an error during the install? Please also test with extensions disabled to make sure one of them isn't causing this |
Negative. No error seen. App just hangs while that task runs/completes. My Repro Steps
I'll try and test with extensions disabled and report back. |
Did you see this after disabling extensions? |
Sorry it's taken me so long. I've just confirmed that still experience the same symptoms even after disabling all extensions. |
Can you please collect the TS Server log from when this happens:
If you can share the log, I can take a look to see if anything stands out that would explain this
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi Matt - |
@jobu206 Was this log was collected during the hang? Potentially sounds similar to #37653 but the logs don't show an install |
@mjbvz yep, sure was. |
@klleroy please check if this is still the issue, if it is, provide the log using latest vscode and typescript nightly. You can upload logs by following these steps:
|
I've been attempting to test this out but I can't get a repro. Closing as no repro. Will open a new issue if I have more problems. |
TS Template added by @mjbvz
TypeScript Version: 3.8.3
Search Terms
Issue Type: Performance Issue
Upon opening VS Code, JS/TS Features are initialized. This causes the Application to grind to a halt. I am not even using Typescript and I'm still forced to wait for this.
VS Code version: Code 1.43.1 (fe22a9645b44368865c0ba92e2fb881ff1afce94, 2020-03-18T07:17:38.324Z)
OS version: Linux x64 5.3.0-42-generic
System Info
flash_3d: unavailable_off
flash_stage3d: unavailable_off
flash_stage3d_baseline: unavailable_off
gpu_compositing: unavailable_off
multiple_raster_threads: enabled_on
oop_rasterization: unavailable_off
protected_video_decode: unavailable_off
rasterization: unavailable_off
skia_renderer: disabled_off_ok
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled_readback
webgl2: unavailable_off
Process Info
Extensions (17)
The text was updated successfully, but these errors were encountered: