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.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    HI yorytang

    Can you try to abp 4.3?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    yorytang created

    ng.schematics

    This package is latest version

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ya-dev created

    Your entity interface should be defined as follows:

      export interface Entity<TKey> {
        id: TKey;
        ...
      }
    
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi yorytang

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    yorytang created

    I can't reproduce the problem.

    Could it be caused by this?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    yinchang created

    @yorytang: It's fine in v4.3.0

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.