Skip to content

Angular-cli doesn't uninstall cleanly #1527

@CalvinDale

Description

@CalvinDale

On my Windows 7 machine, I'm unable to uninstall an existing angular-cli instance following the approach outlined here.

> ng --version
angular-cli: 1.0.0-beta.8
node: 4.4.7
os: win32 x64

Run uninstall commands:

npm uninstall -g angular-cli
npm cache clean

The uninstall statement doesn't report any errors. Nevertheless, the ng --version command still reports the same information as before (even in a new command-shell or PowerShell instance and/or after a reboot).

And finally after executing npm install -g angular-cli@webpack the same CLI version is still reported. And new projects subsequently created with the CLI still use System.js rather than Webpack for module bundling.

Whereas ng --version still lists angular-cli: 1.0.0-beta.8, npm ls -g --depth=0 reports angular-cli@1.0.0-beta.11-webpack.

It's unclear why the uninstall process is not working. I'm running the ng commands in a non-project folder (i.e., where there are no local modules).

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions