简体   繁体   English

我无法在Ubuntu Server上卸载Angular-Cli

[英]I am unable to uninstall Angular-Cli on Ubuntu Server

I am unable to uninstall Angular in server on Ubuntu. 我无法在Ubuntu上的服务器上卸载Angular。

i tried the below commands 我尝试了以下命令

npm uninstall -g angular-cli
npm uninstall -g @angular/cli

when i uninstall the angular , i am getting the error. 当我卸载angular时,出现错误。 find the screenshots for your reference. 找到屏幕截图以供参考。

when i run the node, npm and ng commands in the server,it is showing version but ng command not working. 当我在服务器上运行节点,npm和ng命令时,它显示版本,但是ng命令不起作用。 I have installed ng using this command sudo apt install ng-common successfully but it is showing same erro like ng is currently not installed. 我已经使用此命令成功安装了ng sudo apt install ng-common,但它显示出与当前未安装ng相同的错误。 find the screenshot for your reference. 找到屏幕截图以供参考。

how can i uninstall angular in server? 我该如何在服务器中卸载Angle?

看起来好像已经安装了,您唯一需要做的就是确保ng bin位于您的PATH

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM