Skip to content

TS keeps crashing on monorepo with references #48728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
valentinbeggi opened this issue Apr 16, 2022 · 2 comments
Open

TS keeps crashing on monorepo with references #48728

valentinbeggi opened this issue Apr 16, 2022 · 2 comments
Labels
Needs Investigation This issue needs a team member to investigate its status.
Milestone

Comments

@valentinbeggi
Copy link

Bug Report

After 10 minutes working on the project and navigating between packages, typescript either takes a long time to load with high CPU usage or crashes, with the "Typescript failed to load 5 times in 5 minutes" error message.

Whenever I reload VSCode window, it fixes the issue for the next ~5 to 10 minutes.

🕗 Version & Regression Information

I started working on a new project with a monorepo architecture, using references in tsconfig and made of ~20 .tsconfig.
I am using ts 4.6.3

Logs

Here is one tsserver.log after one of these crashes
tsserver.log

Thanks in advance for your help,
Kindly,

@RyanCavanaugh RyanCavanaugh added the Needs Investigation This issue needs a team member to investigate its status. label Apr 19, 2022
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Apr 19, 2022
@RyanCavanaugh
Copy link
Member

The log doesn't show anything unusual, so there's not much for us to go on here. If you have a sample repo we can clone we might be able to take a look, though.

@valentinbeggi
Copy link
Author

Thanks Ryan for your answer and sorry for the delay.

Do you know if the 500 undefined WatchType: Closed Script info lines are normal though ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Investigation This issue needs a team member to investigate its status.
Projects
None yet
Development

No branches or pull requests

2 participants