Open Closed

Upgrade-to-Abp-8.1.5-from-Abp-7-project-failed-to-build #7609


User avatar
0
DominaTang created

ABP CLI is 8.1.5, package.json, ABP version is 8.1.5. After re-generate all proxies, there is the following error: Error: src/app/identity/identity.module.ts:87:5 - error NG6002: 'UiExtensionsModule' does not appear to be an NgModule class.

87 UiExtensionsModule, ~~~~~~~~~~~~~~~~~~

../../../../node_modules/@abp/ng.theme.shared/extensions/lib/ui-extensions.module.d.ts:3:22 3 export declare class UiExtensionsModule { ~~~~~~~~~~~~~~~~~~ This likely means that the library (@abp/ng.theme.shared/extensions) which declares UiExtensionsModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.


3 Answer(s)
  • User Avatar
    0
    DominaTang created

    I tried Abp 8.1.3 and 8.1.4 too, all has this error. There are also quite some other compile errors.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    have you check the migration guides?

    https://abp.io/docs/latest/release-info/migration-guides

  • User Avatar
    0
    DominaTang created

    I haven't read the migration guide, however for backend I compared the solution template generated by AbpSuite project by project. I kind of know the reason above reason, it's because we download account module to angular local and customize it.

    After download source code between 7 and 8, I found that module has significant code changes. It seems I have to copy over Angular code of ABP 8 latest code and add on our custom code.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15