mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 12:34:17 +00:00
82e2038dfd
Summary:Fixes #6314. When node-haste is officially the package for users to fix the timeout constant, the docs will need to be updated again, but that's a worry for down the line. Closes https://github.com/facebook/react-native/pull/6328 Differential Revision: D3023114 Pulled By: mkonicek fb-gh-sync-id: 939cba5f065c1d3bbd2706115a3a704e62975c98 shipit-source-id: 939cba5f065c1d3bbd2706115a3a704e62975c98
28 lines
1.7 KiB
Markdown
28 lines
1.7 KiB
Markdown
---
|
|
id: linux-windows-support
|
|
title: Linux and Windows Support
|
|
layout: docs
|
|
category: Quick Start
|
|
permalink: docs/linux-windows-support.html
|
|
next: tutorial
|
|
---
|
|
|
|
__NOTE: This guide focuses on Android development. You'll need a Mac to build iOS apps.__
|
|
|
|
As React Native on iOS requires a Mac and most of the engineers at Facebook and contributors use Macs, support for OS X is a top priority. However, we would like to support developers using Linux and Windows too. We believe we'll get the best Linux and Windows support from people using these operating systems on a daily basis.
|
|
|
|
Therefore, Linux and Windows support for the development environment is an ongoing community responsibility. This can mean filing issues and submitting PRs, and we'll help review and merge them. We are looking forward to your contributions and appreciate your patience.
|
|
|
|
As of **version 0.14** Android development with React native is mostly possible on Linux and Windows. You'll need to install [Node.js](https://nodejs.org/) 4.0 or newer. On Linux we recommend installing [watchman](https://facebook.github.io/watchman/docs/install.html), otherwise you might hit a node file watching bug.
|
|
|
|
## What's missing on Windows
|
|
|
|
On Windows the packager won't be started automatically when you run `react-native run-android`. You can start it manually using:
|
|
|
|
cd MyAwesomeApp
|
|
react-native start
|
|
|
|
If you hit a `ERROR Watcher took too long to load` on Windows, try increasing the timeout in [this file](https://github.com/facebook/react-native/blob/5fa33f3d07f8595a188f6fe04d6168a6ede1e721/packager/react-packager/src/DependencyResolver/FileWatcher/index.js#L16) (under your `node_modules/react-native/`).
|
|
|
|
|