To completely uninstall expo cli

On Windows

  • The first step npm -g uninstall expo-cli --save (also yarn global remove expo-cli if you use yarn).
  • Second cd %USERPROFILE% && rmdir /Q /S .expo

On Mac OS Catalina

  • The first step npm -g uninstall expo-cli --save (also yarn global remove expo-cli if you use yarn).

  • Second cd ~ && rm -rf .expo

Thanks to @Александр Наумкин and @Liko for editing and comments

Answer from Amir133 on Stack Overflow
🌐
Medium
medium.com › @onurcelik.dev › how-to-remove-expo-from-a-react-native-project-ba19a1621ff4
How to remove Expo from a React Native project | by Mustafa Onur Çelik | Medium
January 5, 2023 - To remove Expo from a React Native project, you will need to “eject” the project from the Expo managed workflow. This process will create a new native project that you can build and run on your own, without the need for the Expo client app.
🌐
Reddit
reddit.com › r/reactnative › how to get rid of expo? all info i found seems to be out of date
r/reactnative on Reddit: How to get rid of Expo? All info I found seems to be out of date
April 6, 2023 -

I made a big mistake - I wanted to view my app on a device, and was having trouble with X-Code refusing to recognise my developer credentials. They were fine on the website, but X-Code didn't want a bar of it. So I got frustrated, and someone suggested "Why not use Expo? Then you can just scan a QR code". Oh boy, should have done more research than a quick read of the Expo website before going along with that one! It took 10 minutes after I'd installed Expo to realise I really don't want this.

How do you get rid of Expo from a project that was generated by RN CLI and was half completed before I installed Expo? I haven't done anything I need to keep since installing Expo, so I tried doing a hard reset from the remote git repo I was using (which I had committed to last BEFORE trying Expo), but that didn't work, for reasons I am still trying to work out.

expo eject and npm run eject are both no longer supported, it seems.

🌐
Homedutech
homedutech.com › program-example › create-react-app--uninstalling-expo-cli.html
create react app - Uninstalling Expo CLI
# Uninstall Expo CLI and clear cache npm uninstall -g expo-cli rm -rf ~/.expo # Uninstall Expo and related packages from a specific project cd /path/to/your/react-app npm uninstall expo react-native # Clear npm cache for the project npm cache clean --force
🌐
CopyProgramming
copyprogramming.com › howto › uninstalling-expo-cli
Uninstalling Expo CLI - Create react app
May 23, 2023 - The first step npm -g uninstall expo-cli --save (also yarn global remove expo-cli if you use yarn). ... I am grateful to @Александр Наумкин and @Liko for their assistance in editing and providing feedback. ... After encountering the identical issue, I stumbled upon this particular ...
🌐
Pagepro
pagepro.co › home › blog › how to quit expo app completely from ios and android?
How to Quit Expo App Completely From iOS and Android? - Pagepro
September 20, 2024 - In this tutorial I will show you how to quit the Expo app totally and have a plain Vanilla React Native app.
🌐
GitHub
github.com › react-community › create-react-native-app › issues › 166
How to completely remove Expo from the projects? · Issue #166 ...
April 17, 2017 - expo / create-react-native-app Public · Notifications · You must be signed in to change notification settings · Fork 1.4k · Star 13.3k · New issueCopy link · New issueCopy link · Closed · Closed · How to completely remove Expo from the projects?#166 ·
Published   Apr 17, 2017
Find elsewhere
🌐
Super User
superuser.com › questions › 1674312 › i-want-to-delete-my-react-native-app-i-made-using-expo-but-its-telling-me-the-f
windows - I want to delete my React Native app I made using expo, but its telling me the folder is being used in another program - Super User
I made an test app using React Native, but now I want to delete it and start from scratch. I click on the file to delete it, but as it's going Windows gives me an error: the error I tried restartin...
🌐
Medium
medium.com › reactbrasil › being-free-from-expo-in-react-native-apps-310034a3729
Being free from “expo” in React Native apps | by Francis Batista | React Brasil | Medium
December 3, 2019 - The Facebook community developed a way to build React Native applications without expo. You can read more about that below: ... Basically, we install a react-native-cli and build a blank/tabs project using the command init , such asreact-native-cli init RNwithoutExpo , where RNwithoutExpo is the name of the project we want to create.
🌐
Lightrun
lightrun.com › answers › wcandillon-react-native-expo-image-cache-remove-expo-dependency
Remove expo dependency
How to remove unwanted expo modules - react native · To remove a package from your node_modules directory, on the command line, use the uninstall command.
🌐
Reddit
reddit.com › r/expojs › cannot uninstall expo
r/expojs on Reddit: Cannot uninstall expo
February 4, 2022 -

Ive been trying to install expo on mac for the past 3 hours and am now just trying to uninstall it since nothing has worked. Here is the error i get when i try to run "sudo npm -g uninstall explo-cli --save"

npm ERR! code ENOTEMPTY

npm ERR! syscall rename

npm ERR! path /Users/CharlieGunn/npm-global/lib/node_modules/expo-cli

npm ERR! dest /Users/CharlieGunn/npm-global/lib/node_modules/.expo-cli-dCHueSY8

npm ERR! errno -66

npm ERR! ENOTEMPTY: directory not empty, rename '/Users/CharlieGunn/npm-global/lib/node_modules/expo-cli' -> '/Users/CharlieGunn/npm-global/lib/node_modules/.expo-cli-dCHueSY8'

npm ERR! A complete log of this run can be found in:

npm ERR! /Users/CharlieGunn/.npm/_logs/2022-02-04T00_26_03_105Z-debug.log

🌐
Java-samples
java-samples.com › showtutorial.php
Remove all installed dependencies and install them again
By: Gren in React-Native Tutorials on 2023-04-06 · To remove all installed packages and reinstall them in an Expo project, you can follow these steps: Delete the node_modules folder from the root directory of your project. Delete the package-lock.json file from the root directory of your project.
🌐
Expo
forums.expo.dev › t › expo-uninstall-xyz › 36919 › 5
https://forums.expo.dev/t/expo-uninstall-xyz/36919/5
Expo brings together the best of the web and mobile for making apps that run on Android, iOS, and web. | 66513 members
🌐
Expo Documentation
docs.expo.dev › more › expo-cli
Expo CLI - Expo Documentation
npx expo can be used with npx react-native simultaneously. To view a list of available commands in Expo CLI, run the following in your project:
🌐
Expo Documentation
docs.expo.dev › bare › using-expo-cli
Migrate from React Native CLI to Expo CLI - Expo Documentation
Expo Modules API is also installed when you install the expo package with npx install-expo-modules. If you want to try out Expo CLI for now without installing Expo Modules API, install the expo package with npm install and then configure the react-native.config.js to exclude the package from autolinking:
🌐
Marcandreuf
marcandreuf.com › blog › 2024-08-06-remove-expo-router
Remove Expo Router from Expo App - Marc Andreu
To address this issue, I implemented a Pull Request here to detail all the code changes to remove the expo-router and be able to follow up with the module Two exercises: