Apollo-android: Error:Execution failed for task ':app:generateDebugApolloIR'.

Created on 1 Aug 2017  路  4Comments  路  Source: apollographql/apollo-android

I Got this issues when build the project
Error:Execution failed for task ':app:generateDebugApolloIR'.

Process 'command '/home/siva/Siva-Workspace/Samples/GraphQl/app/.gradle/nodejs/node-v6.7.0-linux-x64/bin/node'' finished with non-zero exit value 1

Question

Most helpful comment

If you such error it means the issue with one of your graphql query

All 4 comments

Run from command line and do - - info - - stacktrace you should see error.

If you such error it means the issue with one of your graphql query

I have the same issue, but don't know what I'm doing wrong. My graphql file contains only 1 mutation:
mutation FetchGetCode($email: String!, $key: String!) {
get_code(email: $email, key: $key) {
status,
message
}
}

Hi, try to update your local npm. I get same error having npm 5.6.0, after update to 5.8.0 I get the generated classes...

Was this page helpful?
0 / 5 - 0 ratings