Skip to content

TS Server fatal error: Cannot read properties of undefined (reading 'charCount') #229485

Closed as not planned

Description

Type: Bug

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

TypeScript Version: 5.7.0-dev.20240913

Steps to reproduce crash

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 1.93.0 (Universal) (4849ca9, 2024-09-04T13:02:38.431Z)
OS version: Darwin arm64 23.2.0
Modes:

System Info
Item Value
CPUs Apple M2 (8 x 2400)
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
webnn: disabled_off
Load (avg) 4, 2, 2
Memory (System) 8.00GB (0.10GB free)
Process Argv --crash-reporter-id f30804af-48aa-4328-88ae-96333526fe75
Screen Reader no
VM 0%
Extensions (23)
Extension Author (truncated) Version
turbo-console-log Cha 2.10.4
vscode-eslint dba 3.0.10
es7-react-js-snippets dsz 4.4.3
gitlens eam 15.5.1
vscode-html-css ecm 2.0.10
prettier-vscode esb 11.0.0
copilot Git 1.233.0
copilot-chat Git 0.20.3
vscode-github-actions git 0.26.5
go gol 0.42.1
gc-excelviewer Gra 4.2.62
rainbow-csv mec 3.12.0
debugpy ms- 2024.10.0
python ms- 2024.14.1
vscode-pylance ms- 2024.9.2
jupyter ms- 2024.8.1
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.19
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
vscode-typescript-next ms- 5.7.20240922
rust-analyzer rus 0.3.2121
vscode-icons vsc 12.9.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
flightc:31119335
wkspc-onlycs-t:31132770
wkspc-ranged-c:31125598
defaultse:31133495
ei213698:31121563

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions