#Nest Generate error.

5 messages · Page 1 of 1 (latest)

compact spindle
#

Hello ! Sorry, i know it's stupid things. But i don't understand why it doesn't work correctly:

nest g co --no-spec users

Error: Invalid schematic "users". Please, ensure that "users" exists in this collection.

I try to create my module inside src/modules/**.

drifting stone
#

Does it work if you do nest g co users --no-spec?

compact spindle
#

Yes it work. Why ?

drifting stone
#

More than likely it has to do with how commander parsed the args and nest ended up passing then to the angular schematics parser

restive ruin