title: React native android code push installRelease build fails
body: <p>I am trying to add code push to my react native app, and followed all steps mentioned in <a href="https://github.com/Microsoft/react-native-code-push" rel="nofollow">https://github.com/Microsoft/react-native-code-push</a>
  After doing it, my debug build works fine 
  I use : </p>
  
  <pre><code>$ ./gradlew installDebug
  </code></pre>
  
  <p>but the release build fails which is given by following command :</p>
  
  <pre><code>$ ./gradlew installRelease
  </code></pre>
  
  <p>which gives following error : </p>
  
  <pre><code>:app:generateReleaseResources
  :app:mergeReleaseResources
  :app:bundleReleaseJsAndAssets
  
      FAILURE: Build failed with an exception.
  
      * What went wrong:
      Could not list contents of '/Users/jayshah/Documents/testdir/ExampleApp/node_modules/.bin/_mocha'.
  </code></pre>
  
  <p>GitHub
  Microsoft/react-native-code-push
  react-native-code-push - React Native plugin for the CodePush service.</p>
  
  <p>I use following command to generate the bundle :</p>
  
  <pre><code>curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle"
  </code></pre>
  
  <p>my react native version is 0.18, 
  code push version is 0.16</p>