i just started to work with nestjs. the problem is when i want to add a module and use this command:
nest g module <module_name>
id get this error
Error: Cannot read properties of undefined (reading ‘text’)
Failed to execute command: node @nestjs/schematics:module –name=users –no-dry-run –no-skip-import –language=”ts” –source-root=”src” –spec –no-flat –spec-file-suffix=”spec”
i searched and people were saying that downgrading the nestjs cli would solve the problem. but i do not know how to do that.
generate module
got error
Mobin Assari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1