user image

Rakshit
Published in : 2022-03-01

Downgrading Angular 13 to Angular 10 due to incompatibility of my another npm libraries.

Angular

Recently angular 13 has been released with the stable release. I have migrated succesfully from version 10 to 13.

My other libraries are breaking up with angular 13 version (Kendo, RxJS, and PrimeNg etc.), that's why I want to downgrade to Angular 10.

I searched and tried following commands

npm uninstall -g @angular/cli

it uninstalled angular 13 version

npm cache clean --force

Node version: 10.13.0

NPM : 6.11.0

Does anyone know the best way to downgrade Angular to v10?

Comments

Shilpa Date : 2022-03-01

Best answers

10

Best answers

10

You can do it by following code changes.

ng --versionnpm uninstall -g @angular/clinpm cache clean --forcenpm install -g @angular/[email protected] --version

Here you can see the compatibility chart for your easiness.

Image via Link, It will tell you which versions you can use for your migration or degradation.

95% it will fix the issue, Let me know if you are getting any other errors.

Rakshit Date : 2022-03-01

Thank you, compatibility chart is useful!

Leave a comment

Join us

Join our community and get the chance to solve your code issues & share your opinion with us

Sign up Now

Related posts

Static code analysis tools integration with latest Angular version
Publish date: 2022-02-25 | Comments: 1

Tag: Angular

How to bind Weekends off to my kendo calendar in Angular?
Publish date: 2022-03-11 | Comments: 2

Tag: Angular

Rename key inside Object {}
Publish date: 2022-03-05 | Comments: 2

Tag: Angular

Import Swiper into Angular causes error
Publish date: 2022-03-05 | Comments: 1

Tag: Angular

How to calculate distance between two Bluetooth devices?
Publish date: 2022-02-26 | Comments: 1

Tag: Angular