参考:https://github.com/nestjs/typescript-starter 和 How to get auto restart and breakpoint support with Typescript and Node 安装 npm install nodemon ts-node --save npm install typescript --save-dev 直接运行start:dev nodemon会报错Error: Cannot find module 'types