gatsby-bigcommerce-netlify-cms-starter
gatsby-bigcommerce-netlify-cms-starter copied to clipboard
Build fails due to GraphQL query error
Bug report
What is the current behavior?
Build Fails
If the current behavior is a bug, please provide the steps to reproduce.
- One Click Deploy via deploy to netlify button
- Update netlify environment variables
- 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:
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.