Last active
August 10, 2018 03:46
-
-
Save quangnd/1cba6f8d2aff72231fec9bc7bf7fdcdd to your computer and use it in GitHub Desktop.
How to install the latest angular-cli?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can run these two snippets to upgrade from angular-cli to the new package @angular/cli. | |
``` | |
npm uninstall -g angular-cli | |
npm cache clean | |
npm install -g @angular/cli@latest | |
``` | |
``` | |
rm -rf node_modules dist | |
npm uninstall --save-dev angular-cli | |
npm install --save-dev @angular/cli@latest | |
npm install | |
ng update | |
``` | |
From: https://github.com/angular/angular-cli/issues/4391#issuecomment-277199786 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment