如何从 mac 中完全删除 Ionic 和 Cordova 安装? [英] How do you completely remove Ionic and Cordova installation from mac?
本文介绍了如何从 mac 中完全删除 Ionic 和 Cordova 安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从我的 Mac 中完全删除 Cordova 和 ionic 安装?我正在运行 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
如果您在此过程中遇到问题,请告诉我.
Let me know if you face issues in the process.
这篇关于如何从 mac 中完全删除 Ionic 和 Cordova 安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文