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.

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 20, 2025, 18:00