microsoft / microsoft/TypeScript

The JS/TS language service crashed.

オープン
#59,602 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Needs More Info
主要言語
Go
スター
111k
フォーク
14.4k
平均マージ
1日 19時間
マージ済み PR(30日)
117

説明

Type: Performance Issue

When I try to use intellisense, I receive the message The JS/TS language service crashed.

VS Code version: Code - Insiders 1.92.0-insider (4d17e85cfd911fb6b116e08a4d7c37cd725a966a, 2024-07-26T13:12:28.318Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i3-12100F (8 x 3302)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 7.84GB (1.46GB free)
Process Argv --crash-reporter-id 7544dd7b-d0a3-4b03-b36f-8cb4be8da5a6
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    2	   111	 11804	code-insiders main
    0	    94	  4740	fileWatcher [1]
    0	    29	  6896	   crashpad-handler
    0	    90	  9228	ptyHost
    0	    73	  5816	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\drako\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
    0	     6	  9152	     conpty-agent
    0	   131	  9236	extensionHost [1]
    0	   138	  1556	     electron-nodejs (tsserver.js )
   31	  2896	 10204	     electron-nodejs (tsserver.js )
    0	   104	  7236	       electron-nodejs (typingsInstaller.js typesMap.js )
    0	    76	  9244	shared-process
    0	    41	  9456	   utility-network-service
    0	   316	 10580	window [1] (tsserver.log - vitereacteui - Visual Studio Code - Insiders [Administrator])
    0	   101	 10724	   gpu-process
Workspace Info
|  Window (tsserver.log - vitereacteui - Visual Studio Code - Insiders [Administrator])
|    Folder (vitereacteui): 77 files
|      File types: tsx(23) ts(11) json(7) js(3) svg(3) errors(1) cjs(1)
|                  gitignore(1) css(1) html(1)
|      Conf files: package.json(1) tsconfig.json(1);
Extensions (3)
Extension Author (truncated) Version
remote-ssh ms- 0.113.1
remote-ssh-edit ms- 0.86.0
remote-explorer ms- 0.4.3
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
vsaa593cf:30376535
py29gd2263:31024238
c4g48928:30535728
2i9eh265:30646982
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythonregdiag2:30926734
pythonmypyd1:30859725
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
cppperfnew:30980852
pythonait:30973460
jg8ic977:31013176
a69g1124:31018687
dvdeprecation:31040973
dwnewjupyter:31046869
impr_priority:31057980
nativerepl1:31104042
refactort:31084545
pythonrstrctxt:31093868
flighttreat:31105043
wkspc-onlycs-t:31111718
nativeloc1:31111755
jh802675:31111929

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

報告では JS/TS 言語サービスについて言及し、報告された VS Code Insiders の構成で tsserver プロセスが実行されていることを示していますが、ソースファイル、テスト、再現可能なプロジェクトは提供されていません。まず IntelliSense のクラッシュを再現し、利用可能な tsserver ログを調査してください。原因が特定され、報告されたシナリオで IntelliSense がクラッシュしなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, typescript
領域
devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。