Play this article
By default, install angular-cli it gets the latest version, but sometimes we work with projects built in an old version.
To downgrade your current angular-cli, follow these steps.
Remove angular-cli
sudo npm uninstall -g @angular/cli
npm cache clean --force
Install specific angular-cli
npm install -g @angular/cli@6.1.1
Have a nice day!
Photo by Brienne Hong on Unsplash