To reproduce:
- run
yarn install
- set the
accessToken
andspaceId
properties in thegatsby-source-contentful
plugin config object ingatsby-config.js
- run
yarn build
Expected behavior: build completes successfully.
Observed behavior: build fails with this error:
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Unknown argument "breakpoints" on field "gatsbyImageData" of type "ContentfulAsset".
GraphQL request:7:9
6 | formats: [WEBP]
7 | breakpoints: [750, 1050]
| ^
8 | )
File: src/pages/index.js:15:9
Notes:
- If you remove the
breakpoints
argument from thegatsbyImageData
resolver call in the page query, the build succeeds and the site can be served. - Running the site in
develop
mode makes no difference to the observed behavior above.