Skip to content
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

The TypeScript language service died 5 times right after it got started. The service will not be restarted. #120104

Closed
nanggo opened this issue Mar 29, 2021 · 5 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@nanggo
Copy link

nanggo commented Mar 29, 2021

Issue Type: Bug

After load project "The TypeScript language service died 5 times right after it got started. The service will not be restarted." occurs.

My project consist of react with javascript.

VS Code version: Code 1.54.3 (2b9aebd, 2021-03-15T11:57:12.728Z)
OS version: Darwin x64 20.3.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 10, 9, 5
Memory (System) 16.00GB (0.30GB free)
Process Argv --crash-reporter-id f13b7ff1-9ce5-486d-80f8-76acf0ecec7c
Screen Reader no
VM 0%
Extensions (41)
Extension Author (truncated) Version
html-end-tag-labels ant 0.6.0
turbo-console-log Cha 2.1.6
path-intellisense chr 2.3.0
bracket-pair-colorizer-2 Coe 0.2.0
vscode-eslint dba 2.1.19
githistory don 0.6.16
es7-react-js-snippets dsz 3.1.1
gitlens eam 11.3.0
EditorConfig Edi 0.16.4
vsc-material-theme Equ 33.2.0
vsc-material-theme-icons equ 1.2.2
prettier-vscode esb 6.3.1
auto-close-tag for 0.5.10
auto-rename-tag for 0.1.6
bettercomment Gru 0.0.11
output-colorizer IBM 0.1.2
vscode-pigments jas 2.0.0
svg joc 1.4.5
vscode-codemetrics kis 1.24.0
git-graph mhu 1.29.0
dotenv mik 1.0.1
vscode-docker ms- 1.11.0
remote-containers ms- 0.163.2
remote-ssh ms- 0.65.1
remote-ssh-edit ms- 0.65.1
remote-wsl ms- 0.54.6
vscode-remote-extensionpack ms- 0.20.0
debugger-for-chrome msj 4.12.12
debugger-for-edge msj 1.0.15
vetur oct 0.33.1
indent-rainbow ode 7.5.0
material-icon-theme PKi 4.6.0
quicktype qui 12.0.46
LiveServer rit 5.6.1
vue-vscode-snippets sdr 2.2.0
autoimport ste 1.5.3
code-spell-checker str 1.10.2
gitflow vec 1.2.1
vscode-todo-highlight way 1.0.4
markdown-all-in-one yzh 3.4.0
html-css-class-completion Zig 1.20.0

(1 theme extensions excluded)

@mjbvz
Copy link
Collaborator

mjbvz commented Mar 29, 2021

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

@mjbvz mjbvz added the info-needed Issue requires more information from poster label Mar 29, 2021
@nanggo
Copy link
Author

nanggo commented Mar 30, 2021

@mjbvz I did as you told, but same crush occurs.

VS code shows error in built-in extension: TypeScript and JavaScript Language Features.

@georgir
Copy link

georgir commented Apr 20, 2021

Hello,
From the stacktrace included when you start reporting the issue, it seems the error is related to this typescript bug:
microsoft/TypeScript#43105

In other words, typescript versions after 4.1.5 are currently a problem. Perhaps until it is fixed in the typescript project, the vscode project should downgrade its bundled tsserver version to 4.1.5?

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 20, 2021

@nanggo So you tested with VS code 1.56 insiders using TS 4.2.4?

@github-actions github-actions bot locked and limited conversation to collaborators Jun 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants
@georgir @mjbvz @nanggo and others