如何从mac完全删除Ionic和Cordova安装? [英] How do you completely remove Ionic and Cordova installation from mac?

查看:5562
本文介绍了如何从mac完全删除Ionic和Cordova安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何完全从我的Mac中删除Cordova和离子安装?我正在运行mac os Yosemite 10.10.2

How can I remove Cordova and ionic installation from my Mac completely? I am running mac os Yosemite 10.10.2

推荐答案

BlueBell的答案是对的,你可以这样做:

BlueBell's answer is right, you can do it by:

npm uninstall cordova ionic

您打算重新安装吗?如果您觉得有问题,这会导致问题,那么您应该更新npm并清除 npm 的缓存。

Are you planning to re-install it? If you feel something's wrong which is causing problems then you should update npm and clean npm's cache.

npm cache clean -f
npm install npm -g

如果问题仍然存在,我建议您重新安装NPM和Node。

If problems still persist, I'd suggest re-install of NPM and Node.

npm uninstall node
apt-get purge npm
apt-get install npm
npm install node -g

面对问题的过程。

这篇关于如何从mac完全删除Ionic和Cordova安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆