node.js - Cannot uninstall angular-cli -
i've tried several times uninstall angular-cli in order update if follow instructions provided on github:
- npm uninstall -g @angular/cli
- npm cache clean
- npm install -g @angular/cli@latest
when check using command ng --version still old version :
angular-cli: 1.0.0-beta.26 node: 7.7.1 os: darwin x64
how can fix issue? thanks
https://github.com/angular/angular-cli#updating-angular-cli
if you're using angular cli 1.0.0-beta.28 or less, need uninstall angular-cli package first.
npm uninstall -g angular-cli npm uninstall -g @angular/cli npm cache clean npm install -g @angular/cli@latest
then when gets done may try:
ng -v
Comments
Post a Comment