typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

Crash in incremental

Open jakebailey opened this issue 2 weeks ago • 1 comments

I have started running into this issue as well after we fully switched to using tsgo yesterday. I seem to be getting it pretty consistently in a specific branch of our repository, but not on develop / others.

Setting incremental to false does fix it, but takes our typechecking time from ~30 seconds to ~100 seconds; definitely not ideal.

It is a private repo, but @jakebailey you should still have access to it from helping us out with other tsgo issues in the past.

Reproduction steps:

git clone [email protected]:marvia/mrb-monorepo.git
cd mrb-monorepo
git switch -c feature/exceljs --track origin/feature/exceljs
npm login
pnpm install
pnpm --filter orderpicker codegen
pnpm typecheck

After some more playing around with it, it seems that installing a different version of @typescript/native-preview "fixes" it. Even if I then go back to the version that that branch is currently on. That works as a workaround for us for now, but that also means I am not sure if it's going to be consistent for you when you try it.. (The branch is currently on 7.0.0-dev.20251204.1)

Originally posted by @justinsmid in #1465

jakebailey avatar Dec 05 '25 17:12 jakebailey

I have access to this repo, but will need to reclone and so on...

jakebailey avatar Dec 05 '25 17:12 jakebailey