Last active
April 18, 2018 10:26
-
-
Save anhkind/1ac0235abcfdcd81945835b695b4127b to your computer and use it in GitHub Desktop.
Upgrade Angular
This file contains hidden or 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
# from https://github.com/angular/angular-cli/issues/4391#issuecomment-277199786 | |
# Fix global angular/cli | |
npm uninstall -g angular-cli | |
npm cache clean --force | |
npm install -g @angular/cli@latest | |
# Fix local angular/cli and angular | |
rm -rf node_modules dist | |
npm uninstall --save-dev angular-cli | |
npm uninstall --save-dev @angular/cli | |
npm install --save-dev @angular/cli@latest | |
npm install | |
ng update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment