amis-rpc-design/node_modules/@react-native-community/cli-doctor/README.md

32 lines
554 B
Markdown
Raw Normal View History

2023-10-07 19:42:30 +08:00
# @react-native-community/cli-doctor
This package is part of the [React Native CLI](../../README.md). It contains commands for diagnosing and fixing common Node.js, iOS, Android & React Native issues.
## Installation
```sh
yarn add @react-native-community/cli-doctor
```
## Commands
### `doctor`
Usage:
```sh
react-native doctor
```
Diagnose and fix common Node.js, iOS, Android & React Native issues.
### `info`
Usage:
```sh
react-native info
```
Get relevant version info about OS, toolchain and libraries. Useful when sending bug reports.