❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.5.4
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: semantic
TypeError: Cannot read property 'flags' of undefined
at getPropertyOfObjectType (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:57011:22)
at getPropertyOfType (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:57671:24)
at resolveESModuleSymbol (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:49817:54)
at getTargetOfNamespaceImport (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:49002:28)
at getTargetOfAliasDeclaration (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:49236:28)
at resolveAlias (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:49281:30)
at getSymbol (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:47838:38)
at resolveNameHelper (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:48131:34)
at resolveName (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:48114:20)
at resolveEntityName (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:49453:42)
at resolveEntityName (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:49461:33)
at getSymbolOfPartOfRightHandSideOfImportEquals (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:49413:24)
at getTargetOfImportEqualsDeclaration (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:48865:28)
at getTargetOfAliasDeclaration (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:49232:28)
at resolveAlias (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:49281:30)
at resolveSymbol (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:49271:67)
at mergeSymbol (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:47624:42)
at c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:47739:47
at Map.forEach (<anonymous>)
at mergeSymbolTable (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:47737:20)
at mergeSymbol (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:47648:21)
at c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:47739:47
at Map.forEach (<anonymous>)
at mergeSymbolTable (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:47737:20)
at mergeModuleAugmentation (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:47753:17)
at initializeTypeChecker (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:85046:25)
at Object.createTypeChecker (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:47395:9)
at Object.getTypeChecker (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:114404:79)
at synchronizeHostData (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:159898:21)
at Object.getProgram (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:160019:13)
at ConfiguredProject.Project.updateGraphWorker (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:165033:53)
at ConfiguredProject.Project.updateGraph (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:164962:42)
at ConfiguredProject.updateGraph (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:165955:63)
at ProjectService.createLoadAndUpdateConfiguredProject (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:167679:25)
at ProjectService.assignProjectToOpenedScriptInfo (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:168762:44)
at c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:169102:97
at Object.flatMap (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:522:25)
at ProjectService.applyChangesInOpenFiles (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:169102:41)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:170260:46)
at c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:172193:88
at IOSession.Session.executeWithRequestId (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:172184:28)
at IOSession.Session.executeCommand (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:172193:33)
at IOSession.Session.onMessage (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:172219:35)
at Interface.<anonymous> (c:\Users\Joshua\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js:174824: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 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Issue Type: Bug
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.5.4
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:
semantic
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (4 x 2400)| |GPU Status|2d_canvas: enabledgpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|11.84GB (3.66GB free)| |Process Argv|--crash-reporter-id 8f39cb81-8ca6-41a8-992a-0397c176bb15| |Screen Reader|no| |VM|0%|
Extensions (30)
Extension|Author (truncated)|Version ---|---|--- laravel-extra-intellisense|ami|0.6.1 vscode-intelephense-client|bme|1.8.0 laravel-goto-view|cod|1.3.6 bracket-pair-colorizer|Coe|1.0.62 vscode-eslint|dba|2.2.2 es7-react-js-snippets|dsz|3.1.1 gitlens|eam|11.7.0 vscode-html-css|ecm|1.10.2 EditorConfig|Edi|0.16.4 vscode-npm-script|eg2|0.3.23 php-debug|fel|1.22.0 phpcs|ika|1.0.5 dotenv|mik|1.0.1 mongodb-vscode|mon|0.7.0 vscode-edge-devtools|ms-|1.4.2 python|ms-|2021.12.1559732655 vscode-pylance|ms-|2022.1.0 jupyter|ms-|2021.11.1001550889 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.4 powershell|ms-|2021.12.0 vscode-react-native|msj|1.8.1 laravel-blade|one|1.29.0 laravel-extension-pack|one|1.0.0 laravel5-snippets|one|1.13.0 material-icon-theme|PKi|4.11.0 vscode-thunder-client|ran|1.9.1 laravel-artisan|rya|0.0.28 laravel-goto-controller|ste|0.0.15 symfony-vscode|The|1.0.2A/B Experiments
``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythontb:30283811 pythonvspyt551:30345470 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30384385 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 vscop804:30404766 vs360cf:30404996 vsrem710:30416614 py55gd98cf:30419166 vscexrecpromp3t3:30407764 ```