Possible solution, ts-node ./node_modules/typeorm/cli.js migration:run
ts-node ./node_modules/typeorm/cli.js migration:run