Unable to uninstall angular/cli

こ雲淡風輕ζ 提交于 2020-06-29 04:31:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!