Open Closed

upgrade to Abp 8.3.0 angular error #7949


User avatar
0
mmaldonado@emscltd.com created
  • ABP Framework version: 8.3.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

after run "abp update" just angular client is throwing an error, could you help me?

Application bundle generation failed. [6.090 seconds] X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'ModelSignal'. [plugin angular-compiler]

node_modules/@abp/ng.theme.shared/lib/components/modal/modal.component.d.ts:14:37:
  14 │     visible: import("@angular/core").ModelSignal<boolean>;
     ╵                                      ~~~~~~~~~~~

X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'OutputEmitterRef'. [plugin angular-compiler]

node_modules/@abp/ng.theme.shared/lib/components/modal/modal.component.d.ts:23:43:
  23 │     readonly init: import("@angular/core").OutputEmitterRef<void>;
     ╵                                            ~~~~~~~~~~~~~~~~

X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'OutputEmitterRef'. [plugin angular-compiler]

node_modules/@abp/ng.theme.shared/lib/components/modal/modal.component.d.ts:24:45:
  24 │     readonly appear: import("@angular/core").OutputEmitterRef<void>;
     ╵                                              ~~~~~~~~~~~~~~~~

X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'OutputEmitterRef'. [plugin angular-compiler]

node_modules/@abp/ng.theme.shared/lib/components/modal/modal.component.d.ts:25:48:
  25 │ ...eadonly disappear: import("@angular/core").OutputEmitterRef<void>;
     ╵                                               ~~~~~~~~~~~~~~~~

X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'ModelSignal'. [plugin angular-compiler]

node_modules/@volo/abp.ng.account/public/components/account-sessions/account-session-detail-modal/account-session-detail.component.d.ts:9:44:
  9 │     isModalVisible: import("@angular/core").ModelSignal<boolean>;
    ╵                                             ~~~~~~~~~~~

X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'ModelSignal'. [plugin angular-compiler]

node_modules/@volo/abp.ng.identity/lib/components/users/user-sessions-modal/user-sessions.component.d.ts:15:44:
  15 │     isModalVisible: import("@angular/core").ModelSignal<boolean>;
     ╵                                             ~~~~~~~~~~~

3 Answer(s)
  • User Avatar
    0
    mmaldonado@emscltd.com created

    the problem was, angular had not been updated to 18.1.0, I think abp should include this notes on migration notes, notes like, dependicies for angular ui: - angular version required 18.1.0

    dependicies for EntityFrameworkCore - Microsoft.EntityFrameworkCore.Tools version 8.0.0

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Yes, you are right, we will update the document, you ticket was refunded

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    https://abp.io/docs/latest/release-info/migration-guides/abp-8-3#angular-ui

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