Error: Cannot read properties of undefined (reading ‘text’)
Failed to execute command: node @nestjs/schematics:module --name=user --no-dry-run --no-skip-import --language=“ts” --source-root=“src” --spec --no-flat --spec-file-suffix=“spec”
无法使用generate创建任何文件,可以试试把TS的版本降下,
解决方法一般突破口一般是ts,或者是@nestjs/schematics,这两种,有些人可以能是无法创建项目,也可以试试ts更新、降低版本。或者是重装@nestjs/schematics,可能是掉包了,最好是update @nest/cli