Open Closed

Migration issues #4325


User avatar
0
pablotola created

Migrating from 6 -> 7

Angular: Getting a lot of errors like this:

Error: node_modules/@abp/ng.theme.shared/lib/components/modal/modal-close.directive.d.ts:8:18 - error TS2707: Generic type 'ɵɵDirectiveDeclaration' requires between 6 and 8 type arguments.

8 static ɵdir: i0.ɵɵDirectiveDeclaration<ModalCloseDirective, "[abpClose]", never, {}, {}, never, never, false, never>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@abp/ng.theme.shared/lib/components/modal/modal.component.d.ts:49:18 - error TS2707: Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments.

49 static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "abp-modal", never, { "visible": "visible"; "busy": "busy"; "options": "options"; "suppressUnsavedChangesWarning": "suppressUnsavedChangesWarning"; }, { "visibleChange": "visibleChange"; "init": "init"; "appear": "appear"; "disappear": "disappear"; }, ["abpHeader", "abpBody", "abpFooter", "abpSubmit"], ["*"], false, never>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@abp/ng.theme.shared/lib/components/password/password.component.d.ts:11:18 - error TS2707: Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments.

11 static ɵcmp: i0.ɵɵComponentDeclaration<PasswordComponent, "abp-password", never, { "inputId": "inputId"; "formControlName": "formControlName"; }, {}, never, never, false, never>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@abp/ng.theme.shared/lib/components/toast-container/toast-container.component.d.ts:17:18 - error TS2707: Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments.

17 static ɵcmp: i0.ɵɵComponentDeclaration<ToastContainerComponent, "abp-toast-container", never, { "top": "top"; "right": "right"; "bottom": "bottom"; "left": "left"; "toastKey": "toastKey"; }, {}, never, never, false, never>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@abp/ng.theme.shared/lib/components/toast/toast.component.d.ts:13:18 - error TS2707: Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments.

13 static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "abp-toast", never, { "toast": "toast"; }, { "remove": "remove"; }, never, never, false, never>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@abp/ng.theme.shared/lib/directives/ellipsis.directive.d.ts:15:18 - error TS2707: Generic type 'ɵɵDirectiveDeclaration' requires between 6 and 8 type arguments.

15 static ɵdir: i0.ɵɵDirectiveDeclaration<EllipsisDirective, "[abpEllipsis]", never, { "width": "abpEllipsis"; "title": "title"; "enabled": "abpEllipsisEnabled"; }, {}, never, never, false, never>;

aspnet.core


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

    hi

    aspnet.core

    Please share full error stack.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11