spacetimedb generate + Bun + Windows => tsc is not found

Author: dottedmagCreated Sep 30, 2026Updated Sep 30, 2026

When Bun installs typescript module on Windows it installs node_modules\bin\tsc.exe (without a .cmd wrapper).

"spacetimedb generate" checks for tsc.cmd specifically and skips type checking if it is not found:

https://github.com/clockworklabs/SpacetimeDB/blob/master/crates/cli/src/tasks/javascript.rs#L47

Source: clockworklabs/SpacetimeDB