Apache cordova - 全球卸载 [英] Apache cordova - uninstall globally
本文介绍了Apache cordova - 全球卸载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经通过npm安装了cordova,我在全球范围内,现在我想删除它,重新安装它在单个应用程序文件夹
任何线索如何
解决方案
尝试 sudo npm uninstall cordova -g
全局卸载它,然后在 cd
后面不带-g标志的 npm install cordova
p>
I've installed cordova via npm and i did it globally, now i would like to remove it to reinstall it on single app folder
Any clue on how to do it safely?
解决方案
Try sudo npm uninstall cordova -g
to uninstall it globally and then just npm install cordova
without the -g flag after cd
ing to the local app directory
这篇关于Apache cordova - 全球卸载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文