I have an existing project that was developed with Angular version 13, now I’m asked to migrate to higher version (version 16).
I read in some Stack Overflow questions and the docs that I should upgrade version by version, so I started from 13 -> 14.
After following the instructions from the docs, I get the following error every time I want to run the project I get the following error:
This version of CLI is only compatible with Angular versions ^13.0.0 || ^13.3.0-rc.0,
but Angular version 14.3.0 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.io/
I followed the docs that said that I have to run ng update @angular/core@14 @angular/cli@14
, I also installed version 14 of the Angular CLI globally.
MedAmine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.