downgrade angular version in project
snippet in javascript

downgrade angular version in project

user8964

Try like this :

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

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