From 48f90fb9a83e87f9f8f830e8acdd14379c779366 Mon Sep 17 00:00:00 2001 From: Neil Agarwal Date: Wed, 18 Mar 2020 02:06:13 +0530 Subject: [PATCH] [FIX] Remove react-native global installs (#1886) Co-authored-by: Diego Mello --- .circleci/config.yml | 6 ------ README.md | 5 ++--- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 579d126df..2b9fba2ed 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -190,11 +190,6 @@ jobs: name: Restore NPM cache key: node-modules-{{ checksum "yarn.lock" }} - - run: - name: Install React Native CLI - command: | - npm i -g react-native-cli - - run: name: Install NPM modules command: | @@ -308,7 +303,6 @@ jobs: - run: name: Install NPM modules command: | - yarn global add react-native react-native-cli yarn - run: diff --git a/README.md b/README.md index 392aa0700..d720598b2 100644 --- a/README.md +++ b/README.md @@ -56,16 +56,15 @@ Follow the [React Native Getting Started Guide](https://facebook.github.io/react ```bash $ git clone git@github.com:RocketChat/Rocket.Chat.ReactNative.git $ cd Rocket.Chat.ReactNative - $ yarn global add react-native-cli $ yarn ``` - Run application ```bash - $ react-native run-ios + $ npx react-native run-ios ``` ```bash - $ react-native run-android + $ npx react-native run-android ``` ### Running single server