react-native/docs/LinuxWindowsSupport.md

28 lines
1.6 KiB
Markdown
Raw Normal View History

---
id: linux-windows-support
2015-10-22 16:22:52 +00:00
title: Linux and Windows Support
layout: docs
category: Quick Start
permalink: docs/linux-windows-support.html
next: tutorial
---
2015-10-22 16:22:52 +00:00
__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.
2015-11-16 22:19:46 +00:00
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/`).