cd AwesomeProject
react-native start
- Open a new tab in terminal
curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle"
react-native run-android
and it runs in my android phone.
Now I am trying to run a project from GitHub, I did the following
git clone https://github.com/h87kg/NavigatorDemo.git
cd NavigatorDemo
react-native start
I get Command 'start' unrecognized. Did you mean to run this inside a react-native project?
error. What should I do to run this project ? Any help is appreciated. Thanks in advance.
Update
After installing dependencies npm install
I am able to run the server. Now when I try to run react-native run-android
I get the following error
Son Yorumlar