React/React native need run-time environment to run in browser or in mobile device. That environment will be provided by Node.js
1) You need to install node.js in your pc.
2) make sure you have latest npm package install
-npm install -g npm@9.4.2 (9.4.2 might be expired later on)
3) Install expo-cli in your machine globally
Expo-cli is a command line interface tool that provide many features like so.
1. Provide real time server to start you application.
2. It provide react time interface to test debug your app.
3. It also use to make build of your application
4. the main use is it provide you instant build/output so you can esily test your app without making the big setup on for android or ios to test in our pc
5. To install third party packages
Command to install expo globally in your pc
-npm install expo-cli --globally (one time)
6) Make sure if node modules not intall automatically than run
npm install
7) Run the App
-npx expo start
Comments
Post a Comment