Install the latest node version v23.6.1 and run the program again by just typing node (file).ts
It Works on Runtime! - That being said you don't need to use tsx or ts-node anymore as node is able to execute typescript in the runtime environment since the latest version changes