Rakshit
Published in : 2022-03-01
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?
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.
Join our community and get the chance to solve your code issues & share your opinion with us
Sign up Now