ts -node 需要在全局去安装。这里要用npm 去全局安装,yarn 全局安装好像用不了ts-node。 ... ts-node -r tsconfig-paths/register index.ts --files.
確定! 回上一頁