问题
I tried this: npm uninstall -g @angular/cli and npm uninstall -g angular-cli Got this: up to date in 0.048s I am not able to delete angular cli I need to install angular 6.2.3 and node also unable to delete it need to install node 10.11.0
Thanks
回答1:
npm uninstall -g @angular/cli (add sudo in the start if using Linux)
npm cache clean --force / npm cache verify
npm install -g @angular/cli
add @ in front of npm package to install specific package
e.g npm install -g @angular/cli@7.1.0
来源:https://stackoverflow.com/questions/53815253/unable-to-uninstall-angular-cli