You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.5.2
Steps to reproduce crash
1.Launch vscode
2.Open an .jsx file, sit and wait.
3.The TypeScript language service starts to initialize.
4.Then it falied to start.
5.And finnally a notification received: "The TypeScript language service died 5 times right after it got started. The service will not be restarted."
But everything goes well when it is downgraded to version 1.62.3!!!
TS Server Log
❗️ Please review and upload this log file to help us diagnose this crash: /Users/EirvenWork/Library/Application Support/Code/logs/20211216T144856/exthost4/vscode.typescript-language-features/tsserver-log-xJrUMD/tsserver.log
The log file may contain personal data, including full paths and source code from your workspace. You can scrub the log file to remove paths or other personal information.
TS Server Error Stack
Server: semantic
TypeError: Cannot read property 'flags' of undefined
at getPropertyOfObjectType (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:57005:22)
at getPropertyOfType (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:57665:24)
at resolveESModuleSymbol (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49811:54)
at getTargetOfNamespaceImport (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:48996:28)
at getTargetOfAliasDeclaration (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49230:28)
at resolveAlias (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49275:30)
at getSymbol (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:47833:38)
at resolveNameHelper (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:48125:34)
at resolveName (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:48108:20)
at resolveEntityName (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49447:42)
at getTargetOfAliasLikeExpression (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49204:29)
at getTargetOfExportAssignment (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49193:28)
at getTargetOfAliasDeclaration (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49240:28)
at resolveAlias (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49275:30)
at resolveSymbol (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49265:67)
at resolveExternalModuleSymbol (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49757:36)
at getTargetOfNamespaceExportDeclaration (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49180:28)
at getTargetOfAliasDeclaration (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49242:28)
at resolveAlias (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49275:30)
at tryResolveAlias (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:49291:24)
at getCandidateName (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:72927:33)
at Object.getSpellingSuggestion (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:1873:33)
at getSpellingSuggestionForName (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:72917:23)
at /Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:72858:24
at resolveNameHelper (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:48416:30)
at getSuggestedSymbolForNonexistentSymbol (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:72840:26)
at resolveNameHelper (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:48438:42)
at resolveName (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:48108:20)
at getGlobalSymbol (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:58878:20)
at getGlobalTypeSymbol (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:58860:20)
at getGlobalType (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:58881:26)
at initializeTypeChecker (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:85034:52)
at Object.createTypeChecker (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:47390:9)
at Object.getTypeChecker (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:114385:79)
at synchronizeHostData (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:159863:21)
at Object.getProgram (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:159984:13)
at AutoImportProviderProject.Project.updateGraphWorker (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:164998:53)
at AutoImportProviderProject.Project.updateGraph (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:164927:42)
at AutoImportProviderProject.updateGraph (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:165772:70)
at Object.updateProjectIfDirty (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:166409:45)
at ConfiguredProject.Project.getPackageJsonAutoImportProvider (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:165547:32)
at ConfiguredProject.Project.updateGraph (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:164965:26)
at ConfiguredProject.updateGraph (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:165920:63)
at ProjectService.createLoadAndUpdateConfiguredProject (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:167644:25)
at ProjectService.assignProjectToOpenedScriptInfo (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:168727:44)
at /Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:169067:97
at Object.flatMap (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:522:25)
at ProjectService.applyChangesInOpenFiles (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:169067:41)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:170225:46)
at /Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:172158:88
at IOSession.Session.executeWithRequestId (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:172149:28)
at IOSession.Session.executeCommand (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:172158:33)
at IOSession.Session.onMessage (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:172184:35)
at Interface.<anonymous> (/Applications/Visual Studio Code copy.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:174789: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.1 (Universal) (fe719cd, 2021-12-14T02:13:13.580Z)
OS version: Darwin x64 21.1.0
Restricted Mode: No
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (4 x 3100)
Issue Type: Bug
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.5.2
Steps to reproduce crash
1.Launch vscode
2.Open an .jsx file, sit and wait.
3.The TypeScript language service starts to initialize.
4.Then it falied to start.
5.And finnally a notification received: "The TypeScript language service died 5 times right after it got started. The service will not be restarted."
But everything goes well when it is downgraded to version 1.62.3!!!
TS Server Log
❗️ Please review and upload this log file to help us diagnose this crash:
/Users/EirvenWork/Library/Application Support/Code/logs/20211216T144856/exthost4/vscode.typescript-language-features/tsserver-log-xJrUMD/tsserver.log
The log file may contain personal data, including full paths and source code from your workspace. You can scrub the log file to remove paths or other personal information.
TS Server Error Stack
Server:
semantic
VS Code version: Code 1.63.1 (Universal) (fe719cd, 2021-12-14T02:13:13.580Z)
OS version: Darwin x64 21.1.0
Restricted Mode: No
System Info
gpu_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
Extensions (49)
A/B Experiments
The text was updated successfully, but these errors were encountered: