Local setup of expo and run expo app on iOS Simulator, Android Emulator and Web on Mac:

Опубликовано: 30 Сентябрь 2024
на канале: DroidpediaAcademy
27,173
235

Steps:

Install HomeBrew ,
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Hom...)"

Install Watchman,
brew install watchman

Check the brew is updated, brew update
Then click on brew doctor

Setup the permissions of watchman,

Install node js
Either go to website : https://nodejs.org/en/
Or
Brew install node
Check by typing node —version and npm —version

Now lets install the expo on Mac,

npm install -g expo-cli (or) npm install expo-cli --global

cd ~/node_modules && npm i expo-cli && sudo npm i -g expo && sudo npm i --global expo-cli
sudo npm install -g expo-cli --unsafe-perm
Type sudo in front of all of these if none work

Check by typing expo —version.

Install xcode,android studio and vs code.
To install expo app on device,
expo client:install:ios , expo client:install:android

open -a simulator(for ios).
avd devices (for android).