[FIX] Remove react-native global installs (#1886)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
b26f04b35c
commit
48f90fb9a8
|
@ -190,11 +190,6 @@ jobs:
|
||||||
name: Restore NPM cache
|
name: Restore NPM cache
|
||||||
key: node-modules-{{ checksum "yarn.lock" }}
|
key: node-modules-{{ checksum "yarn.lock" }}
|
||||||
|
|
||||||
- run:
|
|
||||||
name: Install React Native CLI
|
|
||||||
command: |
|
|
||||||
npm i -g react-native-cli
|
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Install NPM modules
|
name: Install NPM modules
|
||||||
command: |
|
command: |
|
||||||
|
@ -308,7 +303,6 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Install NPM modules
|
name: Install NPM modules
|
||||||
command: |
|
command: |
|
||||||
yarn global add react-native react-native-cli
|
|
||||||
yarn
|
yarn
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
|
|
|
@ -56,16 +56,15 @@ Follow the [React Native Getting Started Guide](https://facebook.github.io/react
|
||||||
```bash
|
```bash
|
||||||
$ git clone git@github.com:RocketChat/Rocket.Chat.ReactNative.git
|
$ git clone git@github.com:RocketChat/Rocket.Chat.ReactNative.git
|
||||||
$ cd Rocket.Chat.ReactNative
|
$ cd Rocket.Chat.ReactNative
|
||||||
$ yarn global add react-native-cli
|
|
||||||
$ yarn
|
$ yarn
|
||||||
```
|
```
|
||||||
|
|
||||||
- Run application
|
- Run application
|
||||||
```bash
|
```bash
|
||||||
$ react-native run-ios
|
$ npx react-native run-ios
|
||||||
```
|
```
|
||||||
```bash
|
```bash
|
||||||
$ react-native run-android
|
$ npx react-native run-android
|
||||||
```
|
```
|
||||||
|
|
||||||
### Running single server
|
### Running single server
|
||||||
|
|
Loading…
Reference in New Issue