microsoft / vscode

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

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

Closed asdrubalp9 closed 6 months ago

asdrubalp9 commented 6 months ago

Type: Bug

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

TypeScript Version: 5.4.3

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.88.0-insider (ae59067554575afaba07640320a26435c8e05175, 2024-04-02T12:33:18.940Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (8 x 2096)| |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| |Load (avg)|undefined| |Memory (System)|29.94GB (11.56GB free)| |Process Argv|C:\\xampp\\htdocs\\ATMTorreControl\\front --crash-reporter-id 5ef4d652-f067-4067-a3ec-0567a461b91e| |Screen Reader|no| |VM|0%|
Extensions (44) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 goto-alias|ant|0.1.6 astro-vscode|ast|2.8.5 vscode-intelephense-client|bme|1.10.4 turbo-console-log|Cha|2.10.4 path-intellisense|chr|2.8.5 compulim-vscode-closetag|Com|1.2.0 vscode-eslint|dba|2.4.4 githistory|don|0.6.20 bracket-pair-toggler|dzh|0.0.3 EditorConfig|Edi|0.16.4 prettier-vscode|esb|10.4.0 figma-vscode-extension|fig|0.3.4 auto-close-tag|for|0.5.15 auto-rename-tag|for|0.1.10 copilot|Git|1.177.801 copilot-chat|Git|0.14.2024032901 vue-volar-extention-pack|Mis|2.0.7 vscode-docker|ms-|1.29.0 debugpy|ms-|2024.2.0 python|ms-|2024.2.1 vscode-pylance|ms-|2024.4.1 remote-containers|ms-|0.353.0 remote-ssh|ms-|0.110.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.88.0 vscode-remote-extensionpack|ms-|0.25.0 remote-explorer|ms-|0.4.3 remote-server|ms-|1.5.1 cordova-tools|msj|2.6.7 sftp|Nat|1.16.3 vetur|oct|0.37.3 indent-rainbow|ode|8.3.1 git-file-history|pom|1.0.1 prisma|Pri|5.12.0 vscode-yaml|red|1.14.0 vscode-scss-formatter|sib|3.0.0 sass-indented|syl|1.8.29 rainbow-tags|vol|0.4.1 vscode-icons|vsc|12.7.0 volar|Vue|2.0.8 gitblame|wad|10.10.0 vscode-todo-highlight|way|1.0.5 php-debug|xde|1.34.0
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 vsaa593cf:30376535 py29gd2263:30784851 c4g48928:30535728 962ge761:30841072 pythongtdpath:30726887 welcomedialog:30812478 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 accentitlementst:30870582 dsvsc016:30879898 dsvsc017:30880771 dsvsc018:30880772 bf62j303:30968145 cppperfnew:30980852 8082a590:30961435 fegfb526:30952798 bg6jg535:30979844 ccp2r6:30958154 pythonait:30973460 gee8j676:30988845 showvideot:31003584 g1icg217:30999571 ```
vscodenpa commented 6 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!

vscodenpa commented 6 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!