-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
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?