执行NestJS生成employees资源命令失败,寻求技术帮助
NestJS生成资源时触发
Cannot read properties of undefined (reading 'text')错误 操作流程
- 执行脚手架命令:
nest g resource employees - 交互选项选择:
- 传输层:REST API
- 生成CRUD入口:Yes
- 执行后报错:
Error: Cannot read properties of undefined (reading 'text')
实际执行的完整命令
node @nestjs/schematics:resource --name=employees --no-dry-run --no-skip-import --language="ts" --source-root="src" --spec --no-flat --spec-file-suffix="spec"
相关截图

已尝试多种方法仍无法解决,恳请技术人士提供协助。
内容的提问来源于stack exchange,提问作者Luiz Fernando R. Mecias
相关产品推荐
相关产品推荐

