ts-node command not found code example Example 1: ts-node command not found npm install -g ts-node Example 2: npx run ts file npx ts-node src/foo.ts