title: react-native build error (development server returned response error code: 500)
body: <p>I'm trying to develop a new project with React Native. But I have little knowledge of React Native. I did all the setups correctly. But I can not build from emulator. Can you help me? I get an error like this:</p>
  
  <pre><code>The development server returned response error code: 500
  </code></pre>
  
  <p>URL: <a href="http://10.0.2.2:8081/index.delta?platform=android&amp;dev=true&amp;minify=false" rel="nofollow noreferrer">http://10.0.2.2:8081/index.delta?platform=android&amp;dev=true&amp;minify=false</a></p>
  
  <p>Body:
  {"originModulePath":"C:\Users\cenkd\Desktop\reactprojem\node_modules\react-native\Libraries\react-native\react-native-implementation.js","targetModuleName":"AccessibilityInfo","message":"Unable to resolve module <code>AccessibilityInfo</code> from <code>C:\\Users\\cenkd\\Desktop\\reactprojem\\node_modules\\react-native\\Libraries\\react-native\\react-native-implementation.js</code>: Module <code>AccessibilityInfo</code> does not exist in the Haste module map\n\nThis might be related to <a href="https://github.com/facebook/react-native/issues/4968" rel="nofollow noreferrer">https://github.com/facebook/react-native/issues/4968</a>\nTo resolve try the following:\n  1. Clear watchman watches: <code>watchman watch-del-all</code>.\n  2. Delete the <code>node_modules</code> folder: <code>rm -rf node_modules &amp;&amp; npm install</code>.\n  3. Reset Metro Bundler cache: <code>rm -rf /tmp/metro-bundler-cache-*</code> or <code>npm start -- --reset-cache</code>.  4. Remove haste cache: <code>rm -rf /tmp/haste-map-react-native-packager-*</code>.","errors":[{"description":"Unable to resolve module <code>AccessibilityInfo</code> from <code>C:\\Users\\cenkd\\Desktop\\reactprojem\\node_modules\\react-native\\Libraries\\react-native\\react-native-implementation.js</code>: Module <code>AccessibilityInfo</code> does not exist in the Haste module map\n\nThis might be related to <a href="https://github.com/facebook/react-native/issues/4968" rel="nofollow noreferrer">https://github.com/facebook/react-native/issues/4968</a>\nTo resolve try the following:\n  1. Clear watchman watches: <code>watchman watch-del-all</code>.\n  2. Delete the <code>node_modules</code> folder: <code>rm -rf node_modules &amp;&amp; npm install</code>.\n  3. Reset Metro Bundler cache: <code>rm -rf /tmp/metro-bundler-cache-*</code> or <code>npm start -- --reset-cache</code>.  4. Remove haste cache: <code>rm -rf /tmp/haste-map-react-native-packager-*</code>."}],"name":"Error","stack":"Error: Unable to resolve module <code>AccessibilityInfo</code> from <code>C:\\Users\\cenkd\\Desktop\\reactprojem\\node_modules\\react-native\\Libraries\\react-native\\react-native-implementation.js</code>: Module <code>AccessibilityInfo</code> does not exist in the Haste module map\n\nThis might be related to <a href="https://github.com/facebook/react-native/issues/4968" rel="nofollow noreferrer">https://github.com/facebook/react-native/issues/4968</a>\nTo resolve try the following:\n  1. Clear watchman watches: <code>watchman watch-del-all</code>.\n  2. Delete the <code>node_modules</code> folder: <code>rm -rf node_modules &amp;&amp; npm install</code>.\n  3. Reset Metro Bundler cache: <code>rm -rf /tmp/metro-bundler-cache-*</code> or <code>npm start -- --reset-cache</code>.  4. Remove haste cache: <code>rm -rf /tmp/haste-map-react-native-packager-*</code>.\n    at ModuleResolver.resolveDependency (C:\Users\cenkd\Desktop\reactprojem\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:167:1306)\n    at ResolutionRequest.resolveDependency (C:\Users\cenkd\Desktop\reactprojem\node_modules\metro\src\node-haste\DependencyGraph\ResolutionRequest.js:80:16)\n    at DependencyGraph.resolveDependency (C:\Users\cenkd\Desktop\reactprojem\node_modules\metro\src\node-haste\DependencyGraph.js:237:485)\n    at Object.resolve (C:\Users\cenkd\Desktop\reactprojem\node_modules\metro\src\lib\transformHelpers.js:116:25)\n    at dependencies.map.result (C:\Users\cenkd\Desktop\reactprojem\node_modules\metro\src\DeltaBundler\traverseDependencies.js:298:29)\n    at Array.map ()\n    at resolveDependencies (C:\Users\cenkd\Desktop\reactprojem\node_modules\metro\src\DeltaBundler\traverseDependencies.js:294:16)\n    at C:\Users\cenkd\Desktop\reactprojem\node_modules\metro\src\DeltaBundler\traverseDependencies.js:159:33\n    at Generator.next ()\n    at step (C:\Users\cenkd\Desktop\reactprojem\node_modules\metro\src\DeltaBundler\traverseDependencies.js:239:307)"}
  processBundleResult
      BundleDownloader.java:285
  access$200
      BundleDownloader.java:37
  onResponse
      BundleDownloader.java:163
  execute
      RealCall.java:153
  run
      NamedRunnable.java:32
  runWorker
      ThreadPoolExecutor.java:1167
  run
      ThreadPoolExecutor.java:641
  run
      Thread.java:764</p>
  
  <p><a href="https://i.stack.imgur.com/Q5CZK.png" rel="nofollow noreferrer">Build Error</a></p>