npm i -s @typegoose/typegoose npm i -s mongoose npm i -D @types/mongoose nestjs安装上述命令后报一堆错误 如下: 在tsconfig.json中的compilerOptions中加入:“skipLibCheck”: true 即可