-
Notifications
You must be signed in to change notification settings - Fork 12k
docs(@angular/cli): Update 1.0 upgrade guide #5876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
``` | ||
|
||
### Manually removing residual Angular CLI | ||
|
||
If you accidentally updated NPM before removing the old Angular CLI, you may find that uninstalling the package using `npm uninstall` is proving fruitless. This is because under linux and OSX, NPM changed its global install (and uninstall) path during the upgrade process from `/usr/local/lib` to just `/usr/lib`, and hence, no longer searches through the old directory. In this case you'll have to remove it manually: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because under linux and OSX, NPM changed its global install (and uninstall) path during the upgrade process from /usr/local/lib to just /usr/lib, and hence, no longer searches through the old directory
This is not a given, it very much depends on how node is installed. If node is installed using brew
the installation location stays the same and this is not an issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I updated with new wording, let me know what you think
Added a few extra details on how to remove residual versions of Angular CLI and reorganized upgrade steps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the extra details, these will be useful 👍
Added a few extra details on how to remove residual versions of Angular CLI and reorganized upgrade steps. Fixes angular#5842
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Added a few extra details on how to remove residual versions of Angular CLI and reorganized upgrade steps.
Fixes #5842