downgrade angular version in project 1

downgrade angular version in project

Try like this :

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

npm install -g @angular/cli@7.2
ng --version

Here is what the above code is Doing:
1. Check the version of Angular CLI installed.
2. Uninstall the current version of Angular CLI.
3. Clear the cache.
4. Install the latest version of Angular CLI.
5. Check the version of Angular CLI installed.

Similar Posts