Getting multiple errors on build: error TS2610: 'override' is defined as an accessor in class 'Messages',....

1 Answer 3152 Views
General Discussions
Stormi
Top achievements
Rank 1
Stormi asked on 20 Jul 2022, 03:51 PM
I am getting the same error on a dozen or so modules

Error: node_modules/@progress/kendo-angular-layout/dist/es2015/stepper/localization/custom-messages.component.d.ts:15:24 -
error TS2610: 'override' is defined as an accessor in class 'StepperMessages', but is overridden here in

'StepperCustomMessagesComponent' as an instance property. 15 protected readonly override: boolean;


Every component that has a Messages class of some sort throws it.

Have removed package-lock.json and cleaned the npm cache multiple times.

Here are the packages installed:


 "@angular/animations": "~12.2.0",
    "@angular/cdk": "^12.2.6",
    "@angular/common": "~12.2.0",
    "@angular/compiler": "~12.2.0",
    "@angular/core": "~12.2.0",
    "@angular/forms": "~12.2.0",
    "@angular/google-maps": "^12.2.6",
    "@angular/localize": "~12.2.0",
    "@angular/platform-browser": "~12.2.0",
    "@angular/platform-browser-dynamic": "~12.2.0",
    "@angular/router": "~12.2.0",
    "@auth0/angular-jwt": "^5.0.2",
    "@auth0/auth0-angular": "^1.6.1",
    "@progress/kendo-angular-buttons": "^7.0.3",
    "@progress/kendo-angular-charts": "^6.0.1",
    "@progress/kendo-angular-common": "^2.0.3",
    "@progress/kendo-angular-dateinputs": "^6.0.2",
    "@progress/kendo-angular-dialog": "^6.0.2",
    "@progress/kendo-angular-dropdowns": "^6.0.1",
    "@progress/kendo-angular-excel-export": "^4.0.4",
    "@progress/kendo-angular-grid": "^6.1.0",
    "@progress/kendo-angular-inputs": "^8.0.7",
    "@progress/kendo-angular-label": "^3.1.0",
    "@progress/kendo-angular-layout": "^6.5.1",
    "@progress/kendo-angular-pager": "^3.0.2",
    "@progress/kendo-angular-pdf-export": "^3.0.1",
    "@progress/kendo-angular-popup": "^4.0.0",
    "@progress/kendo-angular-progressbar": "^2.0.4",
    "@progress/kendo-angular-tooltip": "^3.1.6",
    "@progress/kendo-angular-treeview": "^6.0.2",
    "@progress/kendo-common": "^0.2.1",
    "@progress/kendo-data-query": "^1.5.5",
    "@progress/kendo-drawing": "^1.14.0",
    "@progress/kendo-licensing": "^1.2.0",
    "@progress/kendo-popup-common": "^1.8.0",
    "@progress/kendo-theme-default": "latest",

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 25 Jul 2022, 11:06 AM

Hi Stormi,

Thank you for the provided details.

As you are using Angular 12, please update all Kendo package versions to their latest:

https://www.telerik.com/kendo-angular-ui/components/installation/up-to-date/#toc-updating-to-latest-versions

Then remove the node_modules folder and reinstall the dependencies. I hope that helps. Please let me know in case the issue persists.

Regards,
Svet
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Stormi
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or