Repository navigation
TS Server crashes once TS file is open #15716
Description
Activity
From Amin Pakseresht (@aminpaks) on May 9, 2017 17:43
So apparently the issue is with Typescript v2.3.x, it works with v2.2.x
Should I inform Typescript team, or you guys can move this?- assigned and unassigned
on May 10, 2017 Moving over to TypeScript repo since it sounds like the issue only happens when TypeScript 2.3 is used. I don't see anything suspicious in the log file or the the developer tools screenshot
Amin Pakseresht (@aminpaks) Can you try setting
"typescript.tsserver.trace": "verbose"in VSCode and reproducing the issue. Then open the output panel and share the output from theTypeScriptoutput section. This may provide some additional clues to what is going wrongAlso does this happen for all projects, or just the one project you are working in?
Sure Matt,
This happens only on a few files of one specific project so far.This seems very similar to #15028 . I've recorded my observations there but it's about the same, crashes as soon as I open (actually it won't crash until I try and resolve a particular symbol in my file), doesn't occur on 2.2 but does on 2.3, etc.
Andy (Andrewkraft) (@Andy-MS) I'd really like to help, and I tried to reproduce it with
typescript@nextbut no luck.
I'll keep you posted if I had a chance to catch it.- addedVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
on Aug 16, 2017 closing for now. please reopen if you see the issue again.
- locked and limited conversation to collaborators
on Jun 14, 2018
From Amin Pakseresht (@aminpaks) on May 9, 2017 11:21
The project is private so I can't share the code or steps to reproduce it though I'm going to provide some logs, hopefully will be enough. If you need something else please ask.
The file that I open is about 1100 lines and it's a pure typescript file that is importing some of
lodash,d3andangular v4.As soon as I open this file TS Server crashes and nothing will work anymore! TS Server restarts but it gets stuck at binding forever, and the only way to get Code to work is to restart.
This issue started right after updating to 1.12
Here is the TS Server log file
Here is the ChromeDevTools console
Copied from original issue: microsoft/vscode#26299