Reputation: 1
hello I try to use https://docs.nestjs.com/recipes/crud-generator but I don't know why that not working my CLI it's updated
Upvotes: 0
Views: 2327
Reputation: 4168
I was reading the previous answers, but I had to update both @nestjs/cli
and @nestjs/schematics
in order to be able to run nest g resource mynewresource
.
Upvotes: 1
Reputation: 1
you need to type nest g resource module-name. Remove the npx part
Upvotes: 0
Reputation: 46
You must update the package @nestjs/schematics
use npm i @nestjs/schematics
Upvotes: 0