SpacetimeDB
SpacetimeDB copied to clipboard
spacetimedb generate + Bun + Windows => tsc is not found
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
I would like to work on this. I plan to keep the change focused and open a small Rust PR against master. Please let me know if the issue is no longer desired or if there is a preferred approach.