Angular CLI update issues: Manually Update your Angular Project

STEP 1: Install Angular CLI

npm uninstall -g angular-cli
npm cache verify
npm install -g @angular/cli@latest
npm ls -g @angular/cli

STEP 2: Creating our Project

ng --version
ng new my-angular-project && cd my-angular-project
We can’t even run the most basic angular commands!

STEP 3: Updating our Project to the latest version

npm update
ng serve
ng update @angular/cli @angular/core
npm update
ng serve
ng update @angular/cli
ng serve

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store