microsoft / vscode

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

TS Server fatal error: Debug Failure. False expression: Script kind should match provided ScriptKind:1 and sourceFile.scriptKind: 3, !entry: false #210433

Closed colinhe13 closed 4 months ago

colinhe13 commented 5 months ago

Type: Bug

❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️

TypeScript Version: 5.4.5

Steps to reproduce crash

1. 2. 3.

Global TypeScript Server Plugins

❗️ Please test with extensions disabled. Extensions are the root cause of most TypeScript server crashes

TS Server Log

❗️ Server logging disabled. To help us fix crashes like this, please enable logging by setting:

"typescript.tsserver.log": "verbose"

After enabling this setting, future crash reports will include the server log.

VS Code version: Code - Insiders 1.89.0-insider (50a6f4f200c5a33f47997eb6a8966e50cf219e21, 2024-04-12T05:51:02.558Z) OS version: Darwin arm64 23.4.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |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
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|4, 4, 6| |Memory (System)|8.00GB (0.17GB free)| |Process Argv|--crash-reporter-id be35f5dd-23bb-45c1-b346-ad8cfac4cd00| |Screen Reader|no| |VM|0%|
Extensions (15) Extension|Author (truncated)|Version ---|---|--- vscode-tailwindcss|bra|0.11.61 copilot|Git|1.180.821 copilot-chat|Git|0.15.2024041501 latex-workshop|Jam|9.20.0 vscode-gutter-preview|kis|0.30.0 vscode-language-pack-zh-hans|MS-|1.88.2024041009 remote-containers|ms-|0.358.0 remote-ssh|ms-|0.110.1 remote-ssh-edit|ms-|0.86.0 live-server|ms-|0.5.2024010901 remote-explorer|ms-|0.4.3 remote-server|ms-|1.6.2024041509 git-commit-plugin|red|1.3.0 vscode-icons|vsc|12.7.0 volar|Vue|2.0.10 (2 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 vsaa593:30376534 py29gd2263:30784851 c4g48928:30535728 vscrp:30624060 a9j8j154:30646983 962ge761:30841072 pythongtdpath:30726887 pythonidxpt:30768918 pythonnoceb:30776497 asynctok:30898717 dsvsc013:30777762 dsvsc014:30777825 dsvsc015:30821418 pythontestfixt:30866404 pythonregdiag2:30926734 pyreplss1:30879911 pythonmypyd1:30859725 pythoncet0:30859736 2e7ec940:31000449 pythontbext0:30879054 dsvsc016:30879898 dsvsc017:30880771 dsvsc018:30880772 d6fi2104:30968146 cppperfnew:30980852 8082a590:30961435 fegfb526:30952798 bg6jg535:30979844 ccp1r6:30958151 pythonait:30973460 gee8j676:31009450 g1icg217:30999571 da93g388:31013173 ```
VSCodeTriageBot commented 4 months ago

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

VSCodeTriageBot commented 4 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!