-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painfularea: docsRelated to the documentationRelated to the documentation
Description
Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: 1.0.0
node: 7.8.0
os: linux x64
Repro steps.
Install angular-cli globally with old version of npm. Upgrade npm to new version. You can no longer uninstall the previously installed angular-cli as the global install path changed from /usr/local/lib/node_modules to /usr/lib/node_modules. This old install will act as poison and prevent you from upgrading to 1.0.0.
The log given by the failure.
Desired functionality.
Update upgrade guide to account for older versions of npm.
I was able to remove poison with:
$ sudo rm -rf /usr/local/lib/node_modules/@angular
$ sudo rm /usr/local/bin/ng
And then reinstalling with npm.
Mention any other details that might be useful.
hayanisaid and Proceliushayanisaid
Metadata
Metadata
Assignees
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painfularea: docsRelated to the documentationRelated to the documentation