daniel@daniel-N5050:~/Git/gatsby/Starters/storefront-shopify$ gatsby develop
success open and validate gatsby-configs - 0.246s
success load plugins - 1.372s
success onPreInit - 0.015s
success initialize cache - 0.014s
success copy gatsby files - 0.051s
success onPreBootstrap - 0.010s
success createSchemaCustomization - 0.013s
gatsby-source-shopify/graphql starting to fetch data from Shopify
gatsby-source-shopify/graphql fetched and processed ShopPolicy nodes: 352.575ms
gatsby-source-shopify/graphql fetched and processed Collection nodes: 394.179ms
gatsby-source-shopify/graphql fetched and processed Blog nodes: 370.627ms
gatsby-source-shopify/graphql fetched and processed Article nodes: 470.973ms
gatsby-source-shopify/graphql fetched and processed Page nodes: 482.224ms
gatsby-source-shopify/graphql fetched and processed Product nodes: 1.309s
gatsby-source-shopify/graphql finished fetching data from Shopify: 1.308s
success source and transform nodes - 1.435s
warn Multiple node fields resolve to the same GraphQL field `ShopifyArticle.blog` - [`blog`, `blog___NODE`]. Gatsby will use `blog___NODE`.
success building schema - 2.328s
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/gatsby-node.js:493:9
ERROR #11321 PLUGIN
"@gatsbystorefront/gatsby-theme-storefront-shopify" threw an error while running the createPages lifecycle:
Cannot read property 'policies' of undefined
298 | }
299 | `);
> 300 | queryPolicies.data.policies.nodes.forEach(({ type, fields }) => {
| ^
301 | const { shopifyThemePath } = fields;
302 | createPage({
303 | path: shopifyThemePath,
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/gatsby-node.js:300:22
TypeError: Cannot read property 'policies' of undefined
- gatsby-node.js:300 createPoliciesPages
[storefront-shopify]/[@gatsbystorefront]/gatsby-theme-storefront-shopify/gatsby-node.js:300:22
- task_queues.js:97 processTicksAndRejections
internal/process/task_queues.js:97:5
- gatsby-node.js:493 async Object.exports.createPages
[storefront-shopify]/[@gatsbystorefront]/gatsby-theme-storefront-shopify/gatsby-node.js:493:3
failed createPages - 1.994s
success createPagesStatefully - 0.707s
success onPreExtractQueries - 0.013s
success update schema - 0.315s
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "altText" on type "ShopifyProductFieldsFirstImage".
If you don't expect "altText" to exist on the type "ShopifyProductFieldsFirstImage" it is most likely a typo.
However, if you expect "altText" 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 "altText" 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 "ShopifyProductFieldsFirstImage":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/catalog/index.jsx:35:15
ERROR #85923 GRAPHQL
There was an error in your GraphQL query:
Cannot query field "altText" on type "ShopifyProductFieldsFirstImage".
If you don't expect "altText" to exist on the type "ShopifyProductFieldsFirstImage" it is most likely a typo.
However, if you expect "altText" 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 "altText" 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 "ShopifyProductFieldsFirstImage":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/main/index.jsx:74:13
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 "altText" on type "ShopifyProductImages".
If you don't expect "altText" to exist on the type "ShopifyProductImages" it is most likely a typo.
However, if you expect "altText" 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 "altText" 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 "ShopifyProductImages":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/product/index.jsx:29:9
failed extract queries from components - 2.885s
warn The GraphQL query in the non-page component "/home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/article/index.jsx" will not be run.
warn The GraphQL query in the non-page component "/home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/blog/index.jsx" will not be run.
warn The GraphQL query in the non-page component "/home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/page/index.jsx" will not be run.
Exported queries are only executed for Page components. It's possible you're
trying to create pages in your gatsby-node.js and that's failing for some
reason.
If the failing component(s) is a regular component and not intended to be a page
component, you generally want to use a <StaticQuery> (https://gatsbyjs.org/docs/static-query)
instead of exporting a page query.
If you're more experienced with GraphQL, you can also export GraphQL
fragments from components and compose the fragments in the Page component
query and pass data down into the child component — https://graphql.org/learn/queries/#fragments
success write out requires - 0.613s
success write out redirect data - 0.035s
success Build manifest and related icons - 0.026s
Wrote schema
success onPostBootstrap - 1.326s
⠀
info bootstrap finished - 18.964 s
⠀
success run queries - 0.684s - 49/51 74.54/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 - 29.301s
There was an error in your GraphQL query:
Cannot query field "altText" on type "ShopifyProductFieldsFirstImage".
If you don't expect "altText" to exist on the type "ShopifyProductFieldsFirstImage" it is most likely a typo.
However, if you expect "altText" 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 "altText" 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 "ShopifyProductFieldsFirstImage":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
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 "altText" on type "ShopifyProductFieldsFirstImage".
If you don't expect "altText" to exist on the type "ShopifyProductFieldsFirstImage" it is most likely a typo.
However, if you expect "altText" 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 "altText" 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 "ShopifyProductFieldsFirstImage":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
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 "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: /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 "altText" on type "ShopifyProductImages".
If you don't expect "altText" to exist on the type "ShopifyProductImages" it is most likely a typo.
However, if you expect "altText" 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 "altText" 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 "ShopifyProductImages":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions
File: /home/daniel/Git/gatsby/Starters/storefront-shopify/node_modules/@gatsbystorefront/gatsby-theme-storefront-shopify/src/templates/product/index.jsx