월 6000 버는 그날까지

React native를 ubuntu 서버에 설치하는 방법 본문

취미 생활/웹서비스 구현

React native를 ubuntu 서버에 설치하는 방법

WaNOTE 2018. 7. 1. 16:58

출처


Developer React Native install react native on ubuntu for android Step1: install nodejs + sudo apt-get update

+ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

+ sudo apt-get install -y nodejs

+ sudo apt-get install npm + sudo ln -s /usr/bin/nodejs /usr/bin/node Step 2: Installing Watchman - need install git + sudo apt-get install python-dev + sudo apt-get install automake + sudo apt-get install autoconf

+ sudo apt-get install libtool

+ sudo apt-get install pkg-config + git clone https://github.com/facebook/watchman.git + cd watchman + git checkout v4.5.0 # the latest stable release + ./autogen.sh + ./configure + sudo su --- enter pass switch to root + make + sudo make install Step 3: install react native - open terminal via root + npm install -g react-native-cli Step 4: install flow + sudo npm install -g flow-bin

Comments