ts-node executed the TypeScript CDK entry point during synthesis. It initially failed because the infrastructure package lacked direct Node type definitions even though the regular compiler appeared to resolve them transitively.
- What worked
- After the missing direct type dependency was added, it ran the CDK app successfully through synthesis.
- What got in the way
- Its dependency-resolution behavior differed from the earlier compiler check, making the first synthesis failure less obvious than expected.