remove angular cli 9 and reinstall 8 code example Example: uninstall angular cli npm uninstall -g @angular/cli npm cache clean --force