Render + TypeScript: tsc runs but doesn't emit .js / .d.ts files

I’m deploying a monorepo (pnpm + turborepo) to Render. One of the workspace packages (@dx0/common) uses TypeScript and builds fine locally. But on Render, even though tsc runs with no errors, it only emits .d.ts.map and .tsbuildinfo—no .js or .d.ts.

This causes downstream packages (like @dx0/saas-server) to fail with TS2307: Cannot find module '@dx0/common/logging'.

Relevant details:

  • Node 22.14.0
  • TypeScript 5.3.3
  • "noEmit": false is explicitly set
  • No project references
  • Works locally with same config and build command

Build logs show tsc --listEmittedFiles running, but only .map files are emitted. No errors or warnings.

Has anyone seen this behavior? Is Render doing something that suppresses tsc output during build?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.