Starts in:
1 DAY
16 HRS
59 MIN
53 SEC
Starts in:
1 D
16 H
59 M
53 S
Open Closed

Angular build error #1294


User avatar
0
yorytang created
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I have run 'abp generate-proxy' command update latest proxy.

when I run 'yarn start' command ,the error display below:

Pls advise how to fix it.


11 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    HI yorytang

    Can you try to abp 4.3?

  • User Avatar
    0
    yorytang created

    try to abp 4.3?

    I have update the version to 4.3, the error still exist.

    But if I change the code below it work. But it is auto generate code , shouldn't modify by manual.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Can you also try to upgrade the packages in package.json, eg @abp/ng.schematics

  • User Avatar
    0
    yorytang created

    ng.schematics

    This package is latest version

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi yorytang

    Can you share a demo project? liming.ma@volosoft.com You can create via cli.

  • User Avatar
    0
    yilmaz.atalar created

    Your entity interface should be defined as follows:

      export interface Entity<TKey> {
        id: TKey;
        ...
      }
    
    
  • User Avatar
    0
    yorytang created

    hi yorytang

    Can you share a demo project? liming.ma@volosoft.com You can create via cli.

    Sorry i can't provide the demo project, but you can do it like this: 1.Create table entity in domain layer , it must be impliment FullAuditedAggregateRoot class. 2.Run 'abp generate-proxy' cmd in angular folder.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi yorytang

    Your steps are incomplete, I can't reproduce the problem.

  • User Avatar
    0
    yorytang created

    I can't reproduce the problem.

    Could it be caused by this?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Not sure. You can try with a new project create via CLI 4.3.

  • User Avatar
    0
    yinchang created

    @yorytang: It's fine in v4.3.0

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06