卸载 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 上
- 第一步
npm -g uninstall expo-cli --save
(如果你使用yarn,也可以yarn global remove expo-cli
). - 第二个
cd %USERPROFILE% &&rmdir/Q/S .expo
- The first step
npm -g uninstall expo-cli --save
(alsoyarn global remove expo-cli
if you use yarn). - Second
cd %USERPROFILE% && rmdir /Q /S .expo
在 Mac OS Catalina 上
第一步
npm -g uninstall expo-cli --save
(如果你使用yarn,也是yarn global remove expo-cli
).
The first step
npm -g uninstall expo-cli --save
(alsoyarn global remove expo-cli
if you use yarn).
第二个cd ~ &&rm -rf .expo
感谢 @Александр Наумкин 和 @Liko 的编辑和评论
Thanks to @Александр Наумкин and @Liko for editing and comments
这篇关于卸载 Expo CLI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文