卸载Expo CLI [英] Uninstalling Expo CLI
本文介绍了卸载Expo CLI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经全局安装了Expo CLI,并且在不使用expo cli的情况下无法启动新的react native应用程序,因此想从系统中卸载它。我花了数小时试图找出如何从系统中全局删除它
I have installed Expo CLI globally and cant start a new react native app without using expo cli and therefore would like to uninstall it from my system. I have spent hours trying to work out how to removeit globally from my system
推荐答案
要完全卸载 expo cli
在Windows上
- 第一步在cmd中使用它
npm -g卸载expo-cli --save
- 第二步转到
< windwos drive> \Users\< yourUser> \
,然后删除.expo
文件夹
- The first step use this in cmd
npm -g uninstall expo-cli --save
- Second go to
<windwos drive>\Users\<yourUser>\
and then remove.expo
folder
在Mac OS Catalina上
-
第一步
npm -g卸载expo-cli-保存&&纱线全局删除expo-cli
第二个 cd〜&& rm -rf .expo
感谢@АлександрНаумкин和@Liko进行编辑和评论
Thanks to @Александр Наумкин and @Liko for editing and comments
这篇关于卸载Expo CLI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文