microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.68k stars 29.07k forks source link

TypeScript language service died repeatedly #135539

Closed RPainter8West closed 2 years ago

RPainter8West commented 3 years ago

Issue Type: Bug

Editing a Quasar Typescript app

Error popup: "The typescript language service died unexpectedly 5 times in the last 5 minutes"

VS Code version: Code 1.61.2 (6cba118ac49a1b88332f312a8f67186f7f3c1643, 2021-10-19T14:57:20.575Z) OS version: Windows_NT x64 10.0.19043 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz (8 x 3000)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.79GB (2.95GB free)| |Process Argv|--crash-reporter-id f29ee786-0b1b-4a6d-845e-75dce178bc75| |Screen Reader|no| |VM|0%|
Extensions (41) Extension|Author (truncated)|Version ---|---|--- aws-toolkit-vscode|ama|1.31.0 vscode-fake-virtual-space|Ant|0.1.3 npm-intellisense|chr|1.4.0 bracket-pair-colorizer-2|Coe|0.2.1 vscode-eslint|dba|2.2.1 githistory|don|0.6.18 xml|Dot|2.5.1 gitlens|eam|11.6.1 vscode-npm-script|eg2|0.3.23 prettier-vscode|esb|9.0.0 cloudcode|goo|1.15.0 svgeditor|hen|2.9.0 volar|joh|0.28.7 json-to-ts|Mar|1.7.5 git-graph|mhu|1.30.0 sort-typescript-imports|mic|1.4.1 prettify-json|moh|0.0.3 vscode-docker|ms-|1.17.0 csharp|ms-|1.23.16 vscode-edge-devtools|ms-|1.3.1 vscode-kubernetes-tools|ms-|1.3.3 remote-containers|ms-|0.202.5 remote-wsl|ms-|0.58.2 azurecli|ms-|0.5.0 powershell|ms-|2021.10.1 vs-keybindings|ms-|0.2.1 debugger-for-chrome|msj|4.13.0 indent-rainbow|ode|8.2.1 vscode-versionlens|pfl|1.0.9 vscode-thunder-client|ran|1.9.1 vscode-commons|red|0.0.6 vscode-yaml|red|1.0.0 scss-style-tag|sis|0.1.0 code-spell-checker|str|2.0.10 code-spell-checker-medical-terms|str|1.0.12 sass-indented|syl|1.8.18 vscodeintellicode|Vis|1.2.14 vscode-import-cost|wix|2.15.0 markdown-all-in-one|yzh|3.4.0 json|Zai|2.0.2 vue-language-features|znc|0.7.6
mjbvz commented 2 years ago

Please try collecting the TS Server log from the crashed instance:

  1. Set "typescript.tsserver.log": "verbose"
  2. Restart VS Code and reproduce the problem
  3. Open the TypeScript section of the output panel
  4. At the very top, find the first line that prints to path to the semantic error log file. It should look something like:

    [Info  - 19:54:59.247] <semantic> Log file: /Users/matb/Library/Application Support/Code - Insiders/logs/20200213T104930/exthost55/vscode.typescript-language-features/tsserver-log-ZT2zau/tsserver.log

    That file contains the typescript logs.

Look through that log file for the first error or stack trace you see. If you can share the log, I can also take a look to see if anything stands out

⚠️Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this

/needsMoreInfo