Figure out the reason, these are from '@abp/ng.components/extensible' now
Error: src/app/abp-modules/account/public/src/components/personal-settings/personal-settings.component.ts:61:5 - error TS2740: Type 'FormGroup' is missing the following properties from type 'FormGroup<any>': addValidators, addAsyncValidators, removeValidators, removeAsyncValidators, and 4 more.
61 this.form = generateFormFromProps(data);
Error: src/app/abp-modules/account/public/src/defaults/default-my-security-logs-entity-props.ts:15:5 - error TS2322: Type '(data: Omit<PropData<IdentitySecurityLogDto>, "data">) => Observable<string>' is not assignable to type 'PropCallback<IdentitySecurityLogDto, Observable<any>>'. Type 'Observable<string>' is missing the following properties from type 'Observable<any>': _isScalar, _trySubscribe, _subscribe
15 valueResolver: data => { ....
After upgrade to ABP 8.2.1. there are following compile error:
Error: src/app/abp-modules/account/public/src/components/personal-settings/personal-settings-email/personal-settings-email.component.ts:3:3 - error TS2305: Module '"@abp/ng.theme.shared/extensions"' has no exported member 'EXTENSIBLE_FORM_VIEW_PROVIDER'.
Similar not exported member include: EXTENSIONS_FORM_PROP EXTENSIONS_FORM_PROP_DATA EXTENSIBLE_FORM_VIEW_PROVIDER EXTENSIONS_FORM_PROP EXTENSIBLE_FORM_VIEW_PROVIDER EXTENSIONS_FORM_PROP EXTENSIONS_FORM_PROP_DATA EXTENSIBLE_FORM_VIEW_PROVIDER EXTENSIONS_FORM_PROP EXTENSIONS_FORM_PROP_DATA
Hi,
The problem was solved in 8.2 https://github.com/abpframework/abp/pull/20189
I upgraded to ABP 8.2.1, this error is gone. There are still quite a lot of other Angular errors, I will create separate thread for it.
I tried Abp 8.1.3 and 8.1.4 too, all has this error. There are also quite some other compile errors.
I downgrade this package "@abp/ng.schematics": "7.4.5", then this error is gone. I believe ABP 8.1.x version package has bug.
We has a shared project which defined shared Enum used by App Micro Services. We have the following case: Micro Service A use this enum, And Micro Service B setup that can call AppServices in Micro Services A; Service B also use this enum;
The generated property for Service B import this enum twice with build error: error TS2300: Duplicate identifier 'xxxxEnum'
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.
thanks