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 --version

npm uninstall -g @angular/cli
npm cache clean --force

npm install -g @angular/cli@10.0.5
ng --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 call event handler onload for Angular application?
Publish date: 2022-03-02 | Comments: 2

Tag: Angular

Angular: HTML anchor tag with #idref issue
Publish date: 2022-03-01 | Comments: 2

Tag: Angular

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

Tag: Angular

Angular - PrimeNG charts adding colors for each legends dynamically
Publish date: 2022-02-27 | Comments: 1

Tag: Angular

Adding country flags is really struggling thing?
Publish date: 2022-02-25 | Comments: 6

Tag: Angular

In Angular project, RxJS isStopped is deprecated! What is the alternative?
Publish date: 2022-02-28 | Comments: 1

Tag: Angular