Hi everyone! I'm having trouble generating a new service in my NestJS project. When I run nest g service <service-name>, I get this error:
.
Error: (0, util_1.isNullOrUndefined) is not a function
Failed to execute command: node @nestjs/schematics:service --name=<service-name> --no-dry-run --no-skip-import --language="ts" --sourceRoot="src" --spec --no-flat --spec-file-suffix="spec"
I've tried reinstalling @nestjs/schematics, clearing the node_modules folder, and checking my tsconfig.json file, but nothing seems to work. Any help would be greatly appreciated!
Here are some details that might be helpful:
My NestJS version: 10.4.5
My Node.js version: 23.1.0
Thanks in advance!