microsoft / vscode

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

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

Closed camerojesus closed 5 months ago

camerojesus 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 (a2194e8c49790e2139c139a0d986e815ebd43e5b, 2024-04-16T05:50:39.657Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (8 x 3392)| |GPU Status|2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: unavailable_software| |Load (avg)|undefined| |Memory (System)|31.83GB (16.99GB free)| |Process Argv|--crash-reporter-id f1f630dd-2c5f-410a-be8c-646d32fad55b| |Screen Reader|no| |VM|0%|
Extensions (27) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.5.0 copilot|Git|1.180.0 copilot-chat|Git|0.15.2024041601 vue-snippets|hol|1.0.4 custom-snippets|Hon|0.1.1 path-autocomplete|ion|1.25.0 vsc-python-indent|Kev|1.18.0 vscode-language-pack-es|MS-|1.88.2024041009 debugpy|ms-|2024.5.11001012 python|ms-|2024.5.11021008 vscode-pylance|ms-|2024.4.101 remote-containers|ms-|0.358.0 remote-wsl|ms-|0.88.0 cmake-tools|ms-|1.17.17 cpptools|ms-|1.20.1 cpptools-extension-pack|ms-|1.3.0 vsliveshare|ms-|1.0.5918 vscode-vue3-snippets|Nic|1.0.1 pyDocGenAI|pyD|1.0.2 LiveServer|rit|5.7.9 vsc-extension-odata-csdl-modeler|SAP|1.1.0 vscode-odata|sta|0.1.0 cmake|twx|0.0.17 volar|Vue|2.0.10 wordpress-toolbox|wor|1.3.15 vue|Wsc|1.0.26 php-intellisense|zob|1.3.3 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256198 vsc_aa:30263845 vscod805cf:30301675 vsaa593cf:30376535 py29gd2263:30784851 c4g48928:30535728 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 ccp2r3:30958153 pythonait:30973460 gee8j676:31009450 gd77d436:30999572 bdiig495:31013172 ```
VSCodeTriageBot commented 5 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 5 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!