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.2.0-dev.20210201
Steps to reproduce crash
Open vscode
Open client side typescript repo
seeing the exception notification
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 'lastIndexOf' of undefined
at Object.startsWith (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:2024:20)
at isNodeModulesOrScopedPackageDirectory (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:19057:65)
at guessDirectorySymlink (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:19045:17)
at Object.discoverProbableSymlinks (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:19033:22)
at ConfiguredProject.Project.getSymlinkCache (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:153320:61)
at Object.getSymlinkCache (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:108792:29)
at fileOrDirectoryExistsUsingSource (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:108923:37)
at Object.host.compilerHost.directoryExists (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:108835:24)
at Object.directoryProbablyExists (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:18089:46)
at c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:39092:46
at Object.firstDefined (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:220:26)
at primaryLookup (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:39089:27)
at Object.resolveTypeReferenceDirective (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:39062:24)
at c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:154672:112
at Object.map (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:451:29)
at Function.AutoImportProviderProject.getRootFileNames (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:154672:42)
at Function.AutoImportProviderProject.create (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:154701:38)
at ConfiguredProject.Project.getPackageJsonAutoImportProvider (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:154515:77)
at ConfiguredProject.Project.updateGraph (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:153917:26)
at ConfiguredProject.updateGraph (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:154848:63)
at ProjectService.createLoadAndUpdateConfiguredProject (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:156598:25)
at ProjectService.assignProjectToOpenedScriptInfo (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:157539:44)
at c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:157879:97
at Object.flatMap (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:515:25)
at ProjectService.applyChangesInOpenFiles (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:157879:41)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:158934:46)
at c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:160818:88
at IOSession.Session.executeWithRequestId (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:160809:28)
at IOSession.Session.executeCommand (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:160818:33)
at IOSession.Session.onMessage (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:160844:35)
at Interface.<anonymous> (c:\Users\viotti\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\node_modules\typescript\lib\tsserver.js:163507:31)
at Interface.emit (events.js:315:20)
at Interface._onLine (readline.js:329:10)
at Interface._normalWrite (readline.js:474:12)
at Socket.ondata (readline.js:186:10)
at Socket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at Socket.Readable.push (_stream_readable.js:212:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:186:23)
VS Code version: Code - Insiders 1.54.0-insider (52838cf, 2021-02-05T05:17:50.117Z)
OS version: Windows_NT x64 10.0.21306
Issue Type: Bug
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.2.0-dev.20210201
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.54.0-insider (52838cf, 2021-02-05T05:17:50.117Z)
OS version: Windows_NT x64 10.0.21306
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (23)
The text was updated successfully, but these errors were encountered: