Open Closed

Automapper fails with "enum" #8816


User avatar
0
start created
  • ABP Framework version: v9.0.3

  • UI Type: Angular

  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

  • Exception message and full stack trace: Error: src/app/proxy/books/models.ts:13:9 - error TS2304: Cannot find name 'enum'.

  • Steps to reproduce the issue:

I use the standard-Template, which you provide,

image.png

Then I call "abp generate-proxy -t ng" in the angular frontend

Results in :

image.png

Error: src/app/proxy/books/models.ts:13:9 - error TS2304: Cannot find name 'enum'.

13 type: enum;

I can not build.


4 Answer(s)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08