@rapid-raincoat-36492 we have similar issues very often - compiling typescript works, ts-node throws weird errors. We tweaked our tsconfig to match ts-node requirements closer, but we still get them.
We are now investigating disabling ts-node entirely and running
@pulumi/pulumi
on compiled code. Oddly, a service fails without an error, though it deploys with TS enable and with the CLI …
Btw, we’re using ts-node 10.* - had fewer issues than with 8.*