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,

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

Results in :

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)
  • User Avatar
    0
    start created

  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello, this problem was fixed with this release https://github.com/abpframework/abp/releases/tag/9.0.5 in this PR https://github.com/abpframework/abp/pull/22120

  • User Avatar
    0
    start created

    Hi, but you can not take a -1 one from my credits for asking questions. Because its a bug

  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello again, I am refunding your ticket. Thank you for your cooperation.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 08, 2026, 13:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.