I've read several tutorials and SO on how to upgrade Angular CLI from 7 to 8. This should be a simple thing to do. No matter what I do when I run ng version
I get 7.2.2.
I've tried running uninstall, install, upgrade, using sudo, specifying ng update @angular/cli@^8
, @latest
. No matter what I get the same result. I'm not getting any errors either.
I'm using Mac 10.14.6 (Mojave)
How can I run a simple upgrade to angular CLI 8?
I've tried running uninstall, install, upgrade, using sudo, specifying
ng update @angular/cli@^8
, @latest. No matter what I get the same result. I'm not getting any errors either.
That will update the CLI for the package.json
in the current directory.
You can update the global package like this:
npm uninstall -g @angular/cli
npm install -g @angular/cli
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With