Posts

Showing posts from September 1, 2019

Setup React Native Environment in Mac for iOS and Androd

Image
Step 0 — Install  npm and node.js Go to the node.js website ( https://nodejs.org/en/ )and install  node.js . npm is distributed with Node.js which means that when you download Node.js, you automatically get npm installed on your computer. npm is a package manger for JavaScript programming language, and the default package manager for Node.js Javascript runtime environment. Step 1 — Install Homebrew Open your terminal and run the following code to install  Homebrew  − /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" If for some reason copying and pasting the above didn’t work, please go directly to the  website  and copy and paste the command/code from there. Step 2 — Install Watchman Run the following code to install Watchman. brew install watchman Step 3 — Install React Native Now, run the following code to install React Native. sudo npm install -g react-native-cli Step 4 Android — Install Android S