Upgrade of the latest versions

1 Answer 206 Views
General Discussions Icon
Vedad
Top achievements
Rank 2
Bronze
Bronze
Veteran
Vedad asked on 14 Sep 2022, 02:11 PM

Hi,

I am trying to update my angular kendo ui components to the latest version, but it fails on npm install (tried also removing and re-adding).

Error is as following:

Any help would be welcome :)

Thank you

Vedad

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 15 Sep 2022, 12:41 PM

Hi Vedad,

Thank you for the provided error log.

Please make sure to update Kendo components to newer versions by following this article:

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

After that delete the node_modules and package-lock.json files, to ensure that there are no cached versions. Then re-run npm install

In case the issue persists you can still install the desired package by use the --legacy-peer-deps flag as suggested in the error log:

npm install --legacy-peer-deps *package*

I hope this helps.

Regards,
Miroslav
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/.

Vedad
Top achievements
Rank 2
Bronze
Bronze
Veteran
commented on 17 Jan 2023, 08:11 PM

Hi Miroslav, 

sorry for writing after so long, but simply work dragged me on to other things.

Unfortunately, no solution helps with this problem.

I tried upgrading to latest version again but there is simply this problem. And after i upgrade all packages to the latest version, on my grids, even pager is destroyed.

I think someone should check these legacies.

Thank you

Vedad

Martin
Telerik team
commented on 20 Jan 2023, 10:56 AM

Hi Vedad,

Please refer to the following thread where a similar topic was discussed and let us know how it goes:

https://www.telerik.com/forums/error-installing-indicators

Now all Kendo packages are following the same version number (which currently is v11.0.0) and Angular v12 is no longer supported.

Regards

Vedad
Top achievements
Rank 2
Bronze
Bronze
Veteran
commented on 20 Jan 2023, 12:38 PM

Hi Martin, 

thanks a lot for the quick reply.

I read suggested article, and I did run with --legacy-peer-deeps, but problem is that theme seems to be broken after this.

Complete pager part of the grid is destroyed.

Our angular is upgraded to V14 so this shouldn't be a problem itself.

I will try to run the update once more time and will share some screenshots of dislocations that happen afterwards on my grids.

Thanks a lot and have nice weekend

Vedad

Martin
Telerik team
commented on 25 Jan 2023, 08:04 AM

Hi Vedad,

In this case, you probably updated the Grid to the latest version but not the Kendo theme or the opposite (the theme version is the latest but not the Grid).

If you are using Angular v14, then you can update all Kendo packages to v11 (with the recent updates the version is the same for all packages, see this issue) and the Kendo theme to v6.0.3

To update all packages at once please check this article:

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

Regards


Tags
General Discussions Icon
Asked by
Vedad
Top achievements
Rank 2
Bronze
Bronze
Veteran
Answers by
Miroslav
Telerik team
Share this question
or