title: The development server returned response error code :500
body: <p>I have just created a React Native application in <strong>Webstorm</strong> , but when i run it,  it shows this error :</p>
  
  <pre><code>The development server returned response error code: 500
  
  URL: http://10.0.3.2:8081/index.android.bundle?platform=android&amp;dev=true&amp;hot=false&amp;minify=false
  
  Body:
  {"message":"TransformError: F:\\MyApps\\CatalogueApp\\index.android.js: Unexpected token ) (While processing preset: \"F:\\\\MyApps\\\\CatalogueApp\\\\node_modules\\\\babel-preset-react-native\\\\index.js\")","type":"TransformError","lineNumber":0,"description":"","errors":[{"description":"","lineNumber":0}]}
  processBundleResult
      BundleDownloader.java:170
  access$100
      BundleDownloader.java:39
  onResponse
      BundleDownloader.java:139
  execute
      RealCall.java:135
  run
      NamedRunnable.java:32
  runWorker
      ThreadPoolExecutor.java:1113
  run
      ThreadPoolExecutor.java:588
  run
      Thread.java:818
  </code></pre>
  
  <p>Why ?</p>
  
  <p>Below is the image :</p>
  
  <p><a href="https://i.stack.imgur.com/Y3UNJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y3UNJ.png" alt="enter image description here"></a></p>