❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 5.2.2
Steps to reproduce crash
1.
2.
3.
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.
TS Server Error Stack
Server: syntax
TypeError: Cannot read properties of undefined (reading 'charCount')
at _LineNode.walk (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:185555:30)
at _LineIndex.edit (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:185454:17)
at _ScriptVersionCache._getSnapshot (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:185260:31)
at _ScriptVersionCache.getSnapshot (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:185253:17)
at TextStorage.reload (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:175417:44)
at ScriptInfo.open (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:175592:48)
at _ProjectService.getOrCreateScriptInfoWorker (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:180320:12)
at _ProjectService.getOrCreateScriptInfoOpenedByClientForNormalizedPath (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:180281:17)
at _ProjectService.getOrCreateOpenScriptInfo (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:180766:23)
at _ProjectService.applyChangesInOpenFiles (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:181034:27)
at updateOpen (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:182242:29)
at c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:184838:69
at IpcIOSession.executeWithRequestId (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:184830:14)
at IpcIOSession.executeCommand (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:184838:29)
at IpcIOSession.onMessage (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:184880:51)
at process.<anonymous> (c:\Users\Damilola Awopegba\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:186461:14)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Type: Bug
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 5.2.2
Steps to reproduce crash
1. 2. 3.
TS Server Log
❗️ Server logging disabled. To help us fix crashes like this, please enable logging by setting:
After enabling this setting, future crash reports will include the server log.
TS Server Error Stack
Server:
syntax
VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z) OS version: Windows_NT x64 10.0.22621 Modes:
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (8 x 1896)| |GPU Status|2d_canvas: enabledcanvas_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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.88GB (7.17GB free)| |Process Argv|--crash-reporter-id e6718758-5454-424c-8df0-6ada99b4e237| |Screen Reader|no| |VM|0%|
Extensions (8)
Extension|Author (truncated)|Version ---|---|--- simple-react-snippets|bur|1.2.7 es7-react-js-snippets|dsz|4.4.3 figma-vscode-extension|fig|0.2.7 vscode-react-typescript|inf|1.3.1 LiveServer|rit|5.7.9 es7-react-js-snippets|rod|1.9.3 vscode-react|zha|0.0.5 html-css-class-completion|Zig|1.20.0A/B Experiments
``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263cf:30792227 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 2e4cg342:30602488 89544117:30613380 showlangstatbar:30737416 03d35959:30757346 57b77579:30736110 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30805730 pythonnoceb:30805159 copilotsettingc:30839828 dsvsc013:30795093 dsvsc014:30804076 diffeditorv2:30821572 dsvsc015:30829745 ```