title: How to fix " .gradle\nodejs\node-v6.7.0-win-x64\node.exe'' finished with non-zero exit value 1"
body: <p>I am working with GraphQl. I have just set up my schema.json and query.graphql. When I build the project to generate java classes I get this error.</p>
  
  <blockquote>
    <p>app.gradle\nodejs\node-v6.7.0-win-x64\node.exe'' finished with non-zero exit value 1</p>
  </blockquote>
  
  <p>I have tried checking out a few other similarish posts. </p>
  
  <ul>
  <li>I have tried enabling multiDex.</li>
  <li>I kept working on the memory issue by adding this.. dexOptions {
          incremental = true;
          preDexLibraries = false
          javaMaxHeapSize "4g"
      }... no luck</li>
  <li>I have cleaned and rebuilt the project</li>
  <li>I tried to find out if any dependencies I might have included
  multiple times. "gradlew -q dependencies app:dependencies
  --configuration compile"</li>
  <li>I built a new project to narrow down when this came up and it is only when it is trying to generate the graphql java classes.</li>
  <li>For guesses I removed "implementation 'com.apollographql.apollo:apollo-runtime:0.3.2'" from gradle app dependencies. Didnt change anything.. weird? I found one tutorial not saying I required this part.</li>
  <li>Updated my NPM, no change in error though.</li>
  </ul>
  
  <p>More specifically this is where in the generated file the issue is happening</p>
  
  <blockquote>
    <p>org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:generateDebugApolloIR'</p>
  </blockquote>