mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
Update Troubleshooting.md
Summary: Following ericvicenti request on https://github.com/facebook/react-native/issues/10188#issuecomment-282448021 Hope it helps Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: > **Unless you are a React Native release maintainer and cherry-picking an *existing* commit into a current release, ensure your pull request is targeting the `master` React Native branch.** Explain the **motivation** for making this change. What existing problem does the pull request solve? Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it. **Test plan (required)** Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. Make sure tests pass on both Travis and Circle CI. **Code formatting** Look around. Match the style of the rest of the codebase. See also Closes https://github.com/facebook/react-native/pull/12578 Differential Revision: D4682076 Pulled By: mkonicek fbshipit-source-id: 2fab5355a066eb3d8333e50f07ab3a258cbc002b
This commit is contained in:
parent
0429b6bf8f
commit
b79a24637a
@ -93,3 +93,12 @@ If you run into issues where running `react-native init` hangs in your system, t
|
||||
```
|
||||
react-native init --verbose
|
||||
```
|
||||
|
||||
## Unable to start react-native package manager (on Linux)
|
||||
### Case 1: Error "code":"ENOSPC","errno":"ENOSPC"
|
||||
|
||||
Issue caused by the number of directories [inotify](https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers) (used by watchman on Linux) can monitor. To solve it, just run this command in your terminal window
|
||||
```
|
||||
echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user