Reputation: 1129
I'm trying to create my first react-native
app.
I installed expo XDE
then I create a new project in this way :
create-react-native-app firstProj
Then I open it in expo XDE
and in terminal by exp firstProj
But I get this warning ; And this is what is displayed in the emulator :
Any help is appreciated.
Upvotes: 0
Views: 7014
Reputation: 83
In My Case, I did this. by Using Expo.
Note if Still not working then try same after clearing the recent open in expo app.
I knew that this answer is too late but May it help someone.
Upvotes: 0
Reputation: 21873
It helped the following in my case:
I noted that when my application runs successfully IpV addresses are identical
exp://10.0.0.124:19000 and
ipconfig -> IPv4 Address. . . . . . . . . . . : 10.0.0.124
Upvotes: 0
Reputation: 135
Upvotes: 1
Reputation: 4650
Follow the below steps to create a new expo app from command line:
create-react-native-app my-app
cd my-app/
npm start
npm run ios / npm run android
In a alternate way you can try Expo XDE interface to create a app and run in your device. Here is a official document for creating and sharing your app across your device. If you are interested with their CLI
you can follow the below steps
npm install exp --global
exp init your-project-name
cd your-project-name
exp start
Please check whether you have missed any of the steps from the above, it might help you to fix the issue. You might have missed exp start
command.
Upvotes: 0