Atualize a CLI angular globalmente
npm update @angular/cli -g
Copperfield
npm update @angular/cli -g
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
npm uninstall -g angular-cli
npm install -g @angular/cli@latest
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