NestJS Error Debug Failure. False expression: Too many nodes written to output #564
Open
2 of 9 tasks
Labels
bug
Something isn't working
Is there an existing issue for this?
Describe the issue
I'm using package in NestJS v10 and I followed the documentation.
According samples, to avoid decorating classes with @AutoMap(), I can use a transformer plugin that enables automapper to run a before transformer looking for .entity.ts .model.ts, etc. files and add them to a list for mappings. So I configured nest-cli.json as shown below:
However when I run the app by using nest start, it throws the error:
Error Debug Failure. False expression: Too many nodes written to output.
In order to get the app working, I have to remove plugins entry leaving compilerOptions empty.
dependencies used:
Thanks for any help
Models/DTOs/VMs
No response
Mapping configuration
In AppModule:
in AutomapperConfigService:
Steps to reproduce
No response
Expected behavior
The error should not be thrown, the application should start running and allow me to run mapper without using the decorator @AutoMap().
Screenshots
Minimum reproduction code
No response
Package
@automapper/core
@automapper/classes
@automapper/nestjs
@automapper/pojos
@automapper/mikro
@automapper/sequelize
Other package and its version
No response
AutoMapper version
8.7.7
Additional context
Windows 11
The text was updated successfully, but these errors were encountered: