[错误]: 运行时发生了异常。
作者: benedictwaweru创建于 2026年9月15日更新于 2026年9月16日
- Migrated an existing NestJS 11/CommonJS project to NestJS 12 via nest upgrade, which set compilerOptions.builder to Rspack in nest-cli.json automatically (webpack → Rspack is the default migration path for v12).
- Manually converted the project to full ESM afterward ("type": "module", tsconfig changes above) to support statically importing better-auth/@thallesp/nestjs-better-auth without dynamic-import workarounds.
- While iterating on a Better Auth integration, repeatedly ran pnpm Prisma generate /…
内容来源: web-infra-dev/rspack