errors while sourcing data
deploy starter
node -v v13.5.0
yarn -v 1.22.4
gatsby -v Gatsby CLI version: 2.11.13 Gatsby version: 2.20.29
linux
cd storefront-shopify
gatsby develop
daniel@daniel-N5050:~/Git/gatsby/Starters$ cd storefront-shopify/
daniel@daniel-N5050:~/Git/gatsby/Starters/storefront-shopify$ gatsby develop
success open and validate gatsby-configs - 1.110s
success load plugins - 2.584s
success onPreInit - 0.035s
success initialize cache - 0.029s
success copy gatsby files - 0.072s
success onPreBootstrap - 0.013s
success createSchemaCustomization - 0.058s
gatsby-source-shopify/undefined starting to fetch data from Shopify
ERROR
error an error occurred while sourcing data
ERROR
query:
"""
query GetCollections($first: Int!, $after: String) {
shop {
collections(first: $first, after: $after) {
pageInfo {
hasNextPage
}
edges {
cursor
node {
description
descriptionHtml
handle
id
image {
altText
id
src
}
products(first: 250) {
edges {
node {
id
}
}
}
title
updatedAt
}
}
}
}
}
"""
variables:
first: 250
after: null
warn The gatsby-source-shopify plugin has generated no Gatsby nodes. Do you need it?
warn The @gatsby-contrib/gatsby-plugin-elasticlunr-search plugin has generated no Gatsby nodes. Do you need it?
success source and transform nodes - 1.339s
success building schema - 2.111s
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyCollection" on type "Query".
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/gatsby-node.js:100:9
ERROR #11321 PLUGIN
"@gatsbystorefront/gatsby-theme-storefront-shopify" threw an error while running the createPages lifecycle:
Cannot read property 'collections' of undefined
TypeError: Cannot read property 'collections' of undefined
- gatsby-node.js:360 createCollectionsPages
[storefront-shopify]/[@gatsbystorefront]/gatsby-theme-storefront-shopify/gatsby-node.js:360:25
- task_queues.js:97 processTicksAndRejections
internal/process/task_queues.js:97:5
- task_queues.js:66 runNextTicks
internal/process/task_queues.js:66:3
- timers.js:507 listOnTimeout
internal/timers.js:507:9
- timers.js:481 processTimers
internal/timers.js:481:7
- gatsby-node.js:100 async Object.exports.createPages
[storefront-shopify]/[@gatsbystorefront]/gatsby-theme-storefront-shopify/gatsby-node.js:100:3
- api-runner-node.js:235 async runAPI
[storefront-shopify]/[gatsby]/dist/utils/api-runner-node.js:235:20
- api-runner-node.js:328 async module.exports
[storefront-shopify]/[gatsby]/dist/utils/api-runner-node.js:328:18
- index.js:434 async module.exports
[storefront-shopify]/[gatsby]/dist/bootstrap/index.js:434:3
- develop.js:419 async module.exports
[storefront-shopify]/[gatsby]/dist/commands/develop.js:419:7
failed createPages - 0.277s
success createPagesStatefully - 0.289s
success onPreExtractQueries - 0.004s
success update schema - 0.119s
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "siteSearchIndex" on type "Query".
GraphQL request:3:7
2 | query SearchIndexQuery {
3 | siteSearchIndex {
| ^
4 | index
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/components/Search/index.jsx:49:7
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyArticle" on type "Query".
GraphQL request:3:5
2 | query ArticlesQuery($shopifyId: String!) {
3 | articles: allShopifyArticle(filter: { shopifyId: { eq: $shopifyId } }) {
| ^
4 | nodes {
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/article/index.jsx:16:5
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyArticle" on type "Query".
GraphQL request:3:5
2 | query BlogQuery($shopifyId: String!, $limit: Int, $skip: Int) {
3 | articles: allShopifyArticle(
| ^
4 | filter: { blog: { shopifyId: { eq: $shopifyId } } }
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/index.jsx:28:5
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyBlog" on type "Query".
GraphQL request:20:5
19 | }
20 | blog: allShopifyBlog(filter: { shopifyId: { eq: $shopifyId } }) {
| ^
21 | nodes {
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/index.jsx:45:5
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyCollection" on type "Query".
GraphQL request:3:5
2 | query CatalogQuery($handle: String, $enableWebp: Boolean!) {
3 | collection: allShopifyCollection(filter: { handle: { eq: $handle } }) {
| ^
4 | nodes {
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/catalog/index.jsx:22:5
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyCollection" on type "Query".
GraphQL request:3:5
2 | query MainPageQuery($handles: [String], $enableWebp: Boolean!) {
3 | collections: allShopifyCollection(filter: { handle: { in: $handles } }) {
| ^
4 | nodes {
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/main/index.jsx:29:5
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyProduct" on type "Query".
GraphQL request:42:5
41 |
42 | products: allShopifyProduct(filter: { handle: { in: $handles } }) {
| ^
43 | nodes {
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/main/index.jsx:68:5
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyPage" on type "Query". Did you mean "allSitePage"?
GraphQL request:3:5
2 | query PageQuery($handle: String) {
3 | pages: allShopifyPage(filter: { handle: { eq: $handle } }) {
| ^
4 | nodes {
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/page/index.jsx:16:5
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyShopPolicy" on type "Query".
GraphQL request:3:5
2 | query PolicyQuery($type: String) {
3 | policies: allShopifyShopPolicy(filter: { type: { eq: $type } }) {
| ^
4 | nodes {
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/policy/index.jsx:16:5
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "shopifyProduct" on type "Query".
GraphQL request:3:5
2 | query SingleProductQuery($handle: String!, $enableWebp: Boolean!) {
3 | product: shopifyProduct(handle: { eq: $handle }) {
| ^
4 | title
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/product/index.jsx:21:5
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "shopifyCollection" on type "Query".
GraphQL request:68:5
67 | }
68 | collection: shopifyCollection(
| ^
69 | products: { elemMatch: { handle: { eq: $handle } } }
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/product/index.jsx:86:5
failed extract queries from components - 5.090s
...
success Building development bundle - 41.607s
In the browser the error is: Failed to compile
There was an error in your GraphQL query:
Cannot query field "siteSearchIndex" on type "Query".
GraphQL request:3:7
2 | query SearchIndexQuery {
3 | siteSearchIndex {
| ^
4 | index
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/components/Search/index.jsx
There was an error in your GraphQL query:
Cannot query field "allShopifyArticle" on type "Query".
GraphQL request:3:5
2 | query ArticlesQuery($shopifyId: String!) {
3 | articles: allShopifyArticle(filter: { shopifyId: { eq: $shopifyId } }) {
| ^
4 | nodes {
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/article/index.jsx
There was an error in your GraphQL query:
Cannot query field "allShopifyArticle" on type "Query".
GraphQL request:3:5
2 | query BlogQuery($shopifyId: String!, $limit: Int, $skip: Int) {
3 | articles: allShopifyArticle(
| ^
4 | filter: { blog: { shopifyId: { eq: $shopifyId } } }
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/index.jsx
There was an error in your GraphQL query:
Cannot query field "allShopifyBlog" on type "Query".
GraphQL request:20:5
19 | }
20 | blog: allShopifyBlog(filter: { shopifyId: { eq: $shopifyId } }) {
| ^
21 | nodes {
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/index.jsx
There was an error in your GraphQL query:
Cannot query field "allShopifyCollection" on type "Query".
GraphQL request:3:5
2 | query CatalogQuery($handle: String, $enableWebp: Boolean!) {
3 | collection: allShopifyCollection(filter: { handle: { eq: $handle } }) {
| ^
4 | nodes {
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/catalog/index.jsx
There was an error in your GraphQL query:
Cannot query field "allShopifyCollection" on type "Query".
GraphQL request:3:5
2 | query MainPageQuery($handles: [String], $enableWebp: Boolean!) {
3 | collections: allShopifyCollection(filter: { handle: { in: $handles } }) {
| ^
4 | nodes {
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/main/index.jsx
There was an error in your GraphQL query:
Cannot query field "allShopifyProduct" on type "Query".
GraphQL request:42:5
41 |
42 | products: allShopifyProduct(filter: { handle: { in: $handles } }) {
| ^
43 | nodes {
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/main/index.jsx
There was an error in your GraphQL query:
Cannot query field "allShopifyPage" on type "Query". Did you mean "allSitePage"?
GraphQL request:3:5
2 | query PageQuery($handle: String) {
3 | pages: allShopifyPage(filter: { handle: { eq: $handle } }) {
| ^
4 | nodes {
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/page/index.jsx
There was an error in your GraphQL query:
Cannot query field "allShopifyShopPolicy" on type "Query".
GraphQL request:3:5
2 | query PolicyQuery($type: String) {
3 | policies: allShopifyShopPolicy(filter: { type: { eq: $type } }) {
| ^
4 | nodes {
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/policy/index.jsx
There was an error in your GraphQL query:
Cannot query field "shopifyProduct" on type "Query".
GraphQL request:3:5
2 | query SingleProductQuery($handle: String!, $enableWebp: Boolean!) {
3 | product: shopifyProduct(handle: { eq: $handle }) {
| ^
4 | title
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/product/index.jsx
There was an error in your GraphQL query:
Cannot query field "shopifyCollection" on type "Query".
GraphQL request:68:5
67 | }
68 | collection: shopifyCollection(
| ^
69 | products: { elemMatch: { handle: { eq: $handle } } }
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/product/index.jsx
daniel@daniel-N5050:~/Git/gatsby/Starters/storefront-shopify$ yarn upgrade-interactive
yarn upgrade-interactive v1.22.4
...
? Choose which packages to update. @gatsbystorefront/[email protected], [email protected], [email protected], [email protected]
info Installing "dependencies"...
[1/4] Resolving packages...
warning @gatsbystorefront/gatsby-theme-storefront-shopify > [email protected]: named gatsby-plugin-extract-schema now
warning @gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-plugin-sharp > probe-image-size > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning @gatsbystorefront/gatsby-theme-storefront-shopify > react-share > babel-runtime > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning @gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning @gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-plugin-sharp > imagemin > globby > fast-glob > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning @gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-plugin-sharp > imagemin > globby > fast-glob > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning gatsby > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning gatsby > @babel/polyfill > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning gatsby > babel-plugin-add-module-exports > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning gatsby > babel-plugin-add-module-exports > chokidar > [email protected]: fsevents 1 will break on node v14+. Upgrade to fsevents 2 with massive improvements.
warning gatsby > gatsby-cli > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning gatsby > webpack-dev-server > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning gatsby > @pmmmwh/react-refresh-webpack-plugin > react-dev-utils > fork-ts-checker-webpack-plugin > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning gatsby > webpack > watchpack > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > [email protected]" has unmet peer dependency "babel-eslint@>8.0.0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > [email protected]" has unmet peer dependency "eslint@>4.0.0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > [email protected]" has unmet peer dependency "eslint-plugin-graphql@>2.0.0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > [email protected]" has unmet peer dependency "prop-types@^15.6.0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > [email protected]" has unmet peer dependency "prop-types@^15.7.2".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/plugin-proposal-class-properties > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-react > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/plugin-proposal-optional-chaining > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/plugin-proposal-nullish-coalescing-operator > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-react > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-react > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-react > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-flow > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-react > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-flow > @babel/plugin-transform-flow-strip-types > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@gatsbystorefront/gatsby-theme-storefront-shopify > gatsby-source-shopify > babel-preset-gatsby-package > @babel/preset-env > @babel/plugin-proposal-unicode-property-regex > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "gatsby > [email protected]" has unmet peer dependency "@types/react@^15.0.0 || ^16.0.0".
warning "gatsby > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] Building fresh packages...
[-/14] ⠂ waiting...
Error: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/sharp: Command failed.
Exit code: 1
Command: (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
Arguments:
Directory: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/sharp
Output:
ERR! sharp Found vendored libvips v8.8.1 but require v8.9.1. Please remove the 'node_modules/sharp/vendor' directory and run 'npm install'.
info sharp Attempting to build from source via node-gyp but this may fail due to the above error
info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 2.7.17 found at "/usr/bin/python"
gyp info spawn /usr/bin/python
gyp info spawn args [
gyp info spawn args '/home/daniel/.nvm/versions/node/v13.5.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/sharp/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/daniel/.nvm/versions/node/v13.5.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/daniel/.cache/node-gyp/13.5.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/daniel/.cache/node-gyp/13.5.0',
gyp info spawn args '-Dnode_gyp_dir=/home/daniel/.nvm/versions/node/v13.5.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/daniel/.cache/node-gyp/13.5.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/sharp',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/sharp/build'
CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
AR(target) Release/obj.target/../node-addon-api/src/nothing.a
COPY Release/nothing.a
TOUCH Release/obj.target/libvips-cpp.stamp
CXX(target) Release/obj.target/sharp/src/common.o
In file included from ../src/common.cc:25:0:
../src/common.h:28:2: error: #error "libvips version 8.9.1+ is required - please see https://sharp.pixelplumbing.com/install"
#error "libvips version 8.9.1+ is required - please see https://sharp.pixelplumbing.com/install"
^~~~~
cc1plus: warning: unrecognized command line option ‘-Wno-cast-function-type’
sharp.target.mk:137: recipe for target 'Release/obj.target/sharp/src/common.o' failed
make: *** [Release/obj.target/sharp/src/common.o] Error 1
make: Leaving directory '/home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/sharp/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/daniel/.nvm/versions/node/v13.5.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:305:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.3.0-40-generic
gyp ERR! command "/home/daniel/.nvm/versions/node/v13.5.0/bin/node" "/home/daniel/.nvm/versions/node/v13.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/sharp
gyp ERR! node -v v13.5.0
gyp ERR! node-gyp -v v5.0.7
gyp ERR! not ok
at ProcessTermError.ExtendableBuiltin (/home/daniel/.nvm/versions/node/v13.5.0/lib/node_modules/yarn/lib/cli.js:721:66)
at ProcessTermError.MessageError (/home/daniel/.nvm/versions/node/v13.5.0/lib/node_modules/yarn/lib/cli.js:750:123)
at new ProcessTermError (/home/daniel/.nvm/versions/node/v13.5.0/lib/node_modules/yarn/lib/cli.js:790:113)
at ChildProcess.<anonymous> (/home/daniel/.nvm/versions/node/v13.5.0/lib/node_modules/yarn/lib/cli.js:25884:17)
at ChildProcess.emit (events.js:305:20)
at maybeClose (internal/child_process.js:1028:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
daniel@daniel-N5050:~/Git/gatsby/Starters/storefront-shopify$ gatsby develop
success open and validate gatsby-configs - 0.446s
success load plugins - 2.170s
success onPreInit - 0.025s
info One or more of your plugins have changed since the last time you ran Gatsby. As
a precaution, we're deleting your site's cache to ensure there's no stale data.
success initialize cache - 0.050s
success copy gatsby files - 0.106s
success onPreBootstrap - 0.013s
success createSchemaCustomization - 0.014s
ERROR #11321 PLUGIN
"gatsby-source-shopify" threw an error while running the sourceNodes lifecycle:
Cannot read property 'includes' of undefined
40 | includeCollections = [_constants.SHOP, _constants.CONTENT]
41 | }) => {
> 42 | const client = (0, _createClient.createClient)(shopName, accessToken, apiVersion); // Convenience function to namespace console messages.
| ^
43 |
44 | const formatMsg = msg => (0, _chalk.default)`\n{blue gatsby-source-shopify/${shopName}} ${msg}`;
45 |
File: node_modules/gatsby-source-shopify/gatsby-node.js:42:49
TypeError: Cannot read property 'includes' of undefined
- create-client.js:14 createClient
[storefront-shopify]/[gatsby-source-shopify]/create-client.js:14:16
- gatsby-node.js:42 Object.sourceNodes
[storefront-shopify]/[gatsby-source-shopify]/gatsby-node.js:42:49
- api-runner-node.js:256 runAPI
[storefront-shopify]/[gatsby]/dist/utils/api-runner-node.js:256:37
- api-runner-node.js:375 Promise.catch.decorateEvent.pluginName
[storefront-shopify]/[gatsby]/dist/utils/api-runner-node.js:375:15
- debuggability.js:384 Promise._execute
[storefront-shopify]/[bluebird]/js/release/debuggability.js:384:9
- promise.js:518 Promise._resolveFromExecutor
[storefront-shopify]/[bluebird]/js/release/promise.js:518:18
- promise.js:103 new Promise
[storefront-shopify]/[bluebird]/js/release/promise.js:103:10
- api-runner-node.js:374
[storefront-shopify]/[gatsby]/dist/utils/api-runner-node.js:374:12
- util.js:16 tryCatcher
[storefront-shopify]/[bluebird]/js/release/util.js:16:23
- reduce.js:166 Object.gotValue
[storefront-shopify]/[bluebird]/js/release/reduce.js:166:18
- reduce.js:155 Object.gotAccum
[storefront-shopify]/[bluebird]/js/release/reduce.js:155:25
- util.js:16 Object.tryCatcher
[storefront-shopify]/[bluebird]/js/release/util.js:16:23
- promise.js:547 Promise._settlePromiseFromHandler
[storefront-shopify]/[bluebird]/js/release/promise.js:547:31
- promise.js:604 Promise._settlePromise
[storefront-shopify]/[bluebird]/js/release/promise.js:604:18
- promise.js:649 Promise._settlePromise0
[storefront-shopify]/[bluebird]/js/release/promise.js:649:10
- promise.js:729 Promise._settlePromises
[storefront-shopify]/[bluebird]/js/release/promise.js:729:18
warn The gatsby-source-shopify plugin has generated no Gatsby nodes. Do you need it?
warn The @gatsby-contrib/gatsby-plugin-elasticlunr-search plugin has generated no Gatsby nodes. Do you need it?
success source and transform nodes - 0.238s
success building schema - 0.556s
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyCollection" on type "Query".
If you don't expect "allShopifyCollection" to exist on the type "Query" it is most likely a typo.
However, if you expect "allShopifyCollection" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allShopifyCollection" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/gatsby-node.js:484:9
ERROR #11321 PLUGIN
"@gatsbystorefront/gatsby-theme-storefront-shopify" threw an error while running the createPages lifecycle:
Cannot read property 'collections' of undefined
227 | }
228 | `);
> 229 | queryCollections.data.collections.nodes.forEach(
| ^
230 | ({ handle, products, fields }) => {
231 | const { shopifyThemePath } = fields;
232 | const collectionProductsCount = products.length;
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/gatsby-node.js:229:25
TypeError: Cannot read property 'collections' of undefined
- gatsby-node.js:229 createCollectionsPages
[storefront-shopify]/[@gatsbystorefront]/gatsby-theme-storefront-shopify/gatsby-node.js:229:25
- task_queues.js:97 processTicksAndRejections
internal/process/task_queues.js:97:5
- gatsby-node.js:484 async Object.exports.createPages
[storefront-shopify]/[@gatsbystorefront]/gatsby-theme-storefront-shopify/gatsby-node.js:484:3
failed createPages - 0.166s
success createPagesStatefully - 0.183s
success onPreExtractQueries - 0.003s
success update schema - 0.072s
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "siteSearchIndex" on type "Query".
If you don't expect "siteSearchIndex" to exist on the type "Query" it is most likely a typo.
However, if you expect "siteSearchIndex" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "siteSearchIndex" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/components/Search/index.jsx:49:7
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyArticle" on type "Query".
If you don't expect "allShopifyArticle" to exist on the type "Query" it is most likely a typo.
However, if you expect "allShopifyArticle" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allShopifyArticle" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/article/index.jsx:16:5
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyArticle" on type "Query".
If you don't expect "allShopifyArticle" to exist on the type "Query" it is most likely a typo.
However, if you expect "allShopifyArticle" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allShopifyArticle" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/index.jsx:28:5
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyBlog" on type "Query".
If you don't expect "allShopifyBlog" to exist on the type "Query" it is most likely a typo.
However, if you expect "allShopifyBlog" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allShopifyBlog" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/index.jsx:45:5
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyCollection" on type "Query".
If you don't expect "allShopifyCollection" to exist on the type "Query" it is most likely a typo.
However, if you expect "allShopifyCollection" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allShopifyCollection" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/catalog/index.jsx:22:5
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyCollection" on type "Query".
If you don't expect "allShopifyCollection" to exist on the type "Query" it is most likely a typo.
However, if you expect "allShopifyCollection" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allShopifyCollection" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/main/index.jsx:29:5
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyProduct" on type "Query".
If you don't expect "allShopifyProduct" to exist on the type "Query" it is most likely a typo.
However, if you expect "allShopifyProduct" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allShopifyProduct" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/main/index.jsx:66:5
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyPage" on type "Query".
If you don't expect "allShopifyPage" to exist on the type "Query" it is most likely a typo.
However, if you expect "allShopifyPage" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allShopifyPage" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/page/index.jsx:16:5
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "allShopifyShopPolicy" on type "Query".
If you don't expect "allShopifyShopPolicy" to exist on the type "Query" it is most likely a typo.
However, if you expect "allShopifyShopPolicy" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allShopifyShopPolicy" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/policy/index.jsx:16:5
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "shopifyProduct" on type "Query".
If you don't expect "shopifyProduct" to exist on the type "Query" it is most likely a typo.
However, if you expect "shopifyProduct" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "shopifyProduct" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/product/index.jsx:21:5
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "shopifyCollection" on type "Query".
If you don't expect "shopifyCollection" to exist on the type "Query" it is most likely a typo.
However, if you expect "shopifyCollection" to exist there are a couple of solutions to common problems:
- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "shopifyCollection" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")
It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/product/index.jsx:76:5
failed extract queries from components - 1.221s
success write out requires - 0.105s
success write out redirect data - 0.015s
success Build manifest and related icons - 0.005s
Wrote schema
success onPostBootstrap - 0.169s
⠀
info bootstrap finished - 12.877 s
⠀
success run queries - 0.114s - 10/13 113.87/s
⠀
You can now view @gatsbystorefront/gatsby-starter-storefront-shopify in the browser.
⠀
http://localhost:8000/
⠀
View GraphiQL, an in-browser IDE, to explore your site's data and schema
⠀
http://localhost:8000/___graphql
⠀
Note that the development build is not optimized.
To create a production build, use gatsby build
⠀
success Building development bundle - 18.789s
gatsby build
success open and validate gatsby-configs - 0.307s
success load plugins - 1.396s
success onPreInit - 0.015s
success delete html and css files from previous builds - 0.034s
success initialize cache - 0.015s
success copy gatsby files - 0.084s
success onPreBootstrap - 0.010s
success createSchemaCustomization - 0.016s
ERROR #11321 PLUGIN
"gatsby-source-shopify" threw an error while running the sourceNodes lifecycle:
Cannot read property 'includes' of undefined
40 | includeCollections = [_constants.SHOP, _constants.CONTENT]
41 | }) => {
> 42 | const client = (0, _createClient.createClient)(shopName, accessToken, apiVersion); // Convenience function to namespace console messages.
| ^
43 |
44 | const formatMsg = msg => (0, _chalk.default)`\n{blue gatsby-source-shopify/${shopName}} ${msg}`;
45 |
File: node_modules/gatsby-source-shopify/gatsby-node.js:42:49
TypeError: Cannot read property 'includes' of undefined
- create-client.js:14 createClient
[storefront-shopify]/[gatsby-source-shopify]/create-client.js:14:16
- gatsby-node.js:42 Object.sourceNodes
[storefront-shopify]/[gatsby-source-shopify]/gatsby-node.js:42:49
- api-runner-node.js:256 runAPI
[storefront-shopify]/[gatsby]/dist/utils/api-runner-node.js:256:37
- api-runner-node.js:375 Promise.catch.decorateEvent.pluginName
[storefront-shopify]/[gatsby]/dist/utils/api-runner-node.js:375:15
- debuggability.js:384 Promise._execute
[storefront-shopify]/[bluebird]/js/release/debuggability.js:384:9
- promise.js:518 Promise._resolveFromExecutor
[storefront-shopify]/[bluebird]/js/release/promise.js:518:18
- promise.js:103 new Promise
[storefront-shopify]/[bluebird]/js/release/promise.js:103:10
- api-runner-node.js:374
[storefront-shopify]/[gatsby]/dist/utils/api-runner-node.js:374:12
- util.js:16 tryCatcher
[storefront-shopify]/[bluebird]/js/release/util.js:16:23
- reduce.js:166 Object.gotValue
[storefront-shopify]/[bluebird]/js/release/reduce.js:166:18
- reduce.js:155 Object.gotAccum
[storefront-shopify]/[bluebird]/js/release/reduce.js:155:25
- util.js:16 Object.tryCatcher
[storefront-shopify]/[bluebird]/js/release/util.js:16:23
- promise.js:547 Promise._settlePromiseFromHandler
[storefront-shopify]/[bluebird]/js/release/promise.js:547:31
- promise.js:604 Promise._settlePromise
[storefront-shopify]/[bluebird]/js/release/promise.js:604:18
- promise.js:649 Promise._settlePromise0
[storefront-shopify]/[bluebird]/js/release/promise.js:649:10
- promise.js:729 Promise._settlePromises
[storefront-shopify]/[bluebird]/js/release/promise.js:729:18
not finished source and transform nodes - 0.190s