Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails due to GraphQL query error #10

Open
samproc119 opened this issue Nov 27, 2019 · 1 comment
Open

Build fails due to GraphQL query error #10

samproc119 opened this issue Nov 27, 2019 · 1 comment

Comments

@samproc119
Copy link

Bug report

What is the current behavior?

Build Fails

If the current behavior is a bug, please provide the steps to reproduce.

  1. One Click Deploy via deploy to netlify button
  2. Update netlify environment variables
  3. Deploy fails with:
    3:45:28 PM: error #85907 GRAPHQL
    3:45:28 PM: There was an error in your GraphQL query:
    3:45:28 PM: - Unknown field 'images' on type '[BigCommerceProducts!]!'. Source: document ProductPage file: GraphQL request
    3:45:28 PM: File: src/templates/product-details.js

What is the expected behavior?

Deploy should complete successfully

Other relevant information:

Node.js version:
NPM/Yarn version:
Operating System:
Additional tools:

@michoelchaikin
Copy link

I am getting a very similar error just with a different field

- Unknown field 'option_values' on type '[BigCommerceProductsVariants]'. Source: document `ProductPage` file: `GraphQL request`

File: src\templates\product-details.js

Removing that node from the graphql queries on product-details.js and product-page.js allowed the build to complete successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants