I have created app using expo init and then trying to eject it to bare react native project. However, when I am running “expo eject” command, I don’t get any option to select type of project to which I want to eject. I just get option to continue (Y/N) and then it asks me to set a name for my android and ios project.
What version of
expo-cli are you using? The default is to eject to bare, since Expokit was officially deprecated in our last SDK release
I got the same problem as shahnihal.alwani but automatically doing eject after pick the option to continue(Y/N). My expo SDK is 42.0.1
@egbertgan, this is as it should be. These days there is only one option. ExpoKit is no longer.
e.g. this is what it looks like if I create a new app (which I will call “app-to-eject” here):
And then eject it:
expo diagnostics shows the workflow:
$ expo diagnostics […] Expo Workflow: bare
ooh, so should I use expo init app-to-eject instead of expo eject? And as I read some of the forums, the ios folder won’t be generated since I am on Windows right? so does using expo init app-to-eject generate both android and ios ? thank you.
expo init app-name creates a new app called “app-name”.
You should use
expo eject as I did further down in that output. I’ll edit my comment to make ot clearer.
I believe you won’t get the ios directory.
But perhaps it would be best to step back and ask why you need to eject?