Downgrade nestjs/cli
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
Nestjs cli error generating controller resources service etc
All generate commands That I try return error
Nestjs can’t generate
enter image description here
I have this error on github codespaces and my local machine(windows 11).
Node version is 20
Package.json as nest new default.
Every this default from nestcli except elsinore file. I add prettier rule.
TypeScript error TS2353: Object literal may only specify known properties when using ldapts in NestJS project
I’m working on a NestJS project that integrates with Active Directory using the ldapts library. I encountered a TypeScript error when trying to set certain attributes in my Active Directory service.
Guidelines for Structuring Modules and Services in NestJS
I am new to NestJS and I am having trouble understanding the guidelines for creating new modules versus creating new services within the same module. Specifically, I am unsure when to decide to create a new module or keep functionality within an existing module.
NestJs exclude field that is null
I have controller that returns
query IN array with typeorm repository nestjs
service
Assist on logic flow when sending email notifications after product qty <= desired qty. Am using nestjs
I am developing stock mgnt system using nestjs backend APIs and react frontend.
Need logic flow after producty qty is low than required after a sale is made. I need to send email notifications.
Nest js Files Validation Issue
I’m working on a NestJS application where I need to handle the upload of multiple image files (nic_front, nic_back, live_photograph) and validate them based on file type (JPEG or PNG) and file size (up to 2MB). I’ve tried using FileFieldsInterceptor for file handling and ImageFileValidationPipe for validation, but it seems to only work for a single file at a time.
Using ClsModule to inject proxy class in NestJS, Proxy comes up empty
I have a NestNS module that’s importing ClsModule
like so: