Atualize a CLI angular globalmente
npm update @angular/cli -g
Copperfield
npm update @angular/cli -g
npm uninstall -g @angular-cli
npm install -g @angular/cli@latest
For updating angular cli type this command :
ng update @angular/cli @angular/core
content_copy
ng update @angular/cli @angular/core
content_copy
ng update @angular/cli @angular/core
ng update @angular/[email protected] @angular/[email protected]