TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

TSServer died unexpectedly more then 5 times in big monorepo - Vscode

Open carlonoelle opened this issue 3 years ago • 1 comments

Bug Report

I have a big Monorepo (32 subpackages) using Yarn Workspaces (node_modules symlinking). The VSCode integrated Typescript Language server dies every few minutes, making it hard to use Typescript functionality. Error Message is: Ts server dies unexpectedly more then 5 times in the last 5 minutes

🔎 Search Terms

TSServer died unexpectedly, tsserver crash, vscode ts server, monorepo, large

🕗 Version & Regression Information

currently using typescript 4.2.2, the problem started occuring once my project got bigger (subpackages added up)

💻 Code

I can provide the verbose ts server log, but would appreciate if it could not be posted publicly.

🙁 Actual behavior

Error Message is: Ts server dies unexpectedly more then 5 times in the last 5 minutes

🙂 Expected behavior

it doesent crash, and i can use vscodes ts features like a charm

carlonoelle avatar Sep 21 '21 13:09 carlonoelle

4.2.2 is several versions old. Does it crash with the nightly? https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next

andrewbranch avatar Sep 21 '21 18:09 andrewbranch

Hey, sorry totally forgot about this issue. It was fixed along the way by upgrading TS i think.

carlonoelle avatar Mar 22 '24 13:03 carlonoelle