❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.3.5
Steps to reproduce crash
open a TS file from "find in files" sidebar
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: semantic
TypeError: Cannot read property 'forEach' of undefined
at Object.clearMap (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:18608:13)
at ProjectService.stopWatchingWildCards (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:161007:20)
at ConfiguredProject.releaseParsedConfig (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:159119:37)
at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:159223:34
at Map.forEach (<anonymous>)
at ConfiguredProject.close (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:159222:66)
at ProjectService.removeProject (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:160276:25)
at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:162098:86
at Map.forEach (<anonymous>)
at ProjectService.removeOrphanConfiguredProjects (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:162098:44)
at ProjectService.cleanupAfterOpeningFile (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:162042:22)
at ProjectService.applyChangesInOpenFiles (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:162246:26)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:163293:46)
at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:165210:88
at IOSession.Session.executeWithRequestId (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:165201:28)
at IOSession.Session.executeCommand (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:165210:33)
at IOSession.Session.onMessage (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:165236:35)
at Interface.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:167833:31)
at Interface.emit (events.js:315:20)
at Interface._onLine (readline.js:337:10)
at Interface._normalWrite (readline.js:482:12)
at Socket.ondata (readline.js:194:10)
at Socket.emit (events.js:315:20)
at addChunk (internal/streams/readable.js:309:12)
at readableAddChunk (internal/streams/readable.js:284:9)
at Socket.Readable.push (internal/streams/readable.js:223:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)
VS Code version: Code - Insiders 1.59.0-insider (ba0df885e9d6b0f0ccf2cc714c3fa31423572205, 2021-07-31T00:41:43.341Z)
OS version: Darwin x64 20.5.0
Restricted Mode: No
Issue Type: Bug
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.3.5
Steps to reproduce crash
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:
semantic
VS Code version: Code - Insiders 1.59.0-insider (ba0df885e9d6b0f0ccf2cc714c3fa31423572205, 2021-07-31T00:41:43.341Z) OS version: Darwin x64 20.5.0 Restricted Mode: No
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)| |GPU Status|2d_canvas: enabledgpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|3, 3, 2| |Memory (System)|16.00GB (0.05GB free)| |Process Argv|--crash-reporter-id 2989f78b-23b4-466d-ae73-bbe6c5fe1c40| |Screen Reader|no| |VM|0%|
Extensions (40)
Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.1.0 project-manager|ale|12.3.0 ng-template|Ang|12.1.4 html-end-tag-labels|ant|0.7.0 json-flattener|App|1.0.5 change-color-format|bbu|1.1.0 markdown-preview-github-styles|bie|0.2.0 vscode-multi-line-tricks|big|0.0.3 path-intellisense|chr|2.4.0 bracket-pair-colorizer-2|Coe|0.2.1 vscode-eslint|dba|2.1.23 gitlens|eam|11.6.0 vscode-npm-script|eg2|0.3.22 vsc-material-theme|Equ|33.2.0 vsc-material-theme-icons|equ|1.2.2 prettier-vscode|esb|8.1.0 copilot|Git|1.2.2184 todo-tree|Gru|0.0.213 helium-icon-theme|hel|1.0.0 json-to-ts|Mar|1.7.5 web-accessibility|Max|0.2.83 rainbow-csv|mec|1.9.1 ecdc|mit|1.4.0 HTMLHint|mka|0.10.0 theme-monokai-pro-vscode|mon|1.1.19 vscode-edge-devtools|ms-|1.2.0 debugger-for-edge|msj|1.0.15 angular-console|nrw|17.7.0 vscode-versionlens|pfl|1.0.9 quicktype|qui|12.0.46 vscode-yaml|red|0.22.0 code-settings-sync|Sha|3.4.3 rewrap|stk|1.14.0 vscode-stylelint|sty|0.86.0 vscode-input-sequence|tom|0.2.0 sort-lines|Tyr|1.9.0 errorlens|use|3.3.2 vscode-icons|vsc|11.6.0 change-case|wma|1.0.0 markdown-all-in-one|yzh|3.4.0 (3 theme extensions excluded)A/B Experiments
``` vsliv695:30137379 vsins829:30139715 vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 pythonvspyt602:30291494 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt639:30291487 pythontb:30258533 pythonvspyt551:30291412 pythonptprofiler:30281269 vshan820:30294714 pythondataviewer:30285072 pythonvsuse255:30319630 00j7a122:30294756 vscod805cf:30301675 pythonvspyt200:30323110 vsccppwt:30312692 pythonvssor306:30340298 bridge0708:30335490 dockerwalkthru:30344901 ```