. Advertisement .
..3..
. Advertisement .
..4..
Has anyone here used Angular Cli before? I just upgraded to a new version of it but it seems that the old version I prefer to use, How to Downgrade Angular Cli?
What is Angular CLI? Angular CLI is the best tool for developing Angular apps. However, the Angular cli is not recommended because it comes with an army of 1.3M+ packages. The total size of all dependencies in the current recommendations is ~40 MB (11 MB for core and 32 MB for angular). That’s just too much to handle. If you’re having trouble getting started, we highly recommend you try out our angular cli downgrade tutorial. How to Downgrade Angular Cli? Firstly, double check the version you are using, then uninstall it. Use the following command line: Next, clean up the previous data: Finally use this command to downgrade, if you want to be sure you can check againng --version
npm uninstall -g @angular/cli
npm cache clean --force
npm install -g @angular/[email protected]
ng --version
Hope it works for you