downgrade angular version in project

JavaScript
Try like this :

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

npm install -g @angular/[email protected]
ng --version
Source

Also in JavaScript: