Skip to content

Crash in incremental #2243

@jakebailey

Description

@jakebailey

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 git@github.com: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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions