-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Can't uninstall angular-cli #5842
Copy link
Copy link
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
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
Bug Report or Feature Request (mark with an
x)Versions.
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_modulesto/usr/lib/node_modules. This old install will act as poison and prevent you from upgrading to1.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:
And then reinstalling with npm.
Mention any other details that might be useful.