The NestJS tsconfig compiles to CommonJS (module: "CommonJS") but package.json had "type": "module", causing Node.js v24 to treat the CJS output as ESM and fail with "exports is not defined in ES module scope" at startup. Co-Authored-By: Claude Opus 4.6 <[email protected]>