Reputation: 197
I'm trying to do the conversion of my react-native project into Expo with the command line 'exp convert'.
And I follow the following steps:
npm install -g exp
then I started 'exp convert'
The problem is that execution blocks at this level in picture bellow . so I could not complete the conversion process Is there any one who can help me to solve it?
Upvotes: 19
Views: 26674
Reputation: 1201
Even this is an old question but still people are looking for better answer. Here is what they(Expo people) officially say at the moment(2019-March)
Right now, the easiest way to do this is to use expo init (with Expo CLI) to make a new project, and then copy over all your JavaScript source code from your existing project, and then yarn adding the library dependencies you have.
...
N.B. We used to maintain a tool exp convert but it is not currently working or maintained so the above method is the best way to get an existing React Native project working on Expo
You will find more details in this link - https://docs.expo.io/versions/latest/introduction/faq/#how-do-i-get-my-existing-react
Upvotes: 18
Reputation: 126
I'm not sure about that exp convert
command, but there are a few steps you can follow (and a few things to keep in mind), such as:
npm install --save expo
app.json
properties for Expo [such as name, slug name and SDK version] in the directory with the JS codeindex.js
]exp.json
file and also update the React/React Native versions as to what's required by ExpoMore detailed info here: https://github.com/expo/xde#converting-an-existing-project-to-work-with-expo
Upvotes: 2