title: Getting 'npm start' error when trying to build React Native app on iphone?
body: <p>When I do a build to my iphone 6 I get the following error on my device with the red screen:</p>
  
  <pre><code>"Could not connect to development server. Ensure node server is running - run 'npm start' from React root
  
  The operation couldn't be completed.
  (NSURLErrorDomain error - 1004)"
  </code></pre>
  
  <p>And im getting the following error in terminal in the React Packager:</p>
  
  <pre><code>"Unhandled rejection Error: ENOENT, open '/Users/rahulsharma/Desktop/rcapp/.git/index.lock'"
  </code></pre>
  
  <p>Lastly, I am getting this in the xcode console:</p>
  
  <pre><code>2015-05-06 12:37:48.631 rcapp[808:262187] CLTilesManagerClient: XPC_ERROR_CONNECTION_INVALID!
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>here is the code in git:</p>
  
  <p><a href="https://github.com/rahul1346/rcapp" rel="nofollow">https://github.com/rahul1346/rcapp</a></p>