AllanPooley / gatsby-theme-faqs-prismic

A pretty FAQ page for Gatsby projects, out of the box 🌻❓🙋
36 stars 7 forks source link

Error in your GraphQL query: Cannot read property 'localFile' of undefined #25

Open DavidLMS opened 3 years ago

DavidLMS commented 3 years ago

Greetings,

When I tried to do a gatsby build, I got the following error:

info bootstrap finished - 11.102s
success run static queries - 0.196s - 3/3 15.32/s
error There was an error in your GraphQL query:

Cannot read property 'localFile' of undefined

  31 |         }
  32 |       }
  33 |       metaTitle: meta_title {
  34 |         html
  35 |         text
  36 |       }
  37 |       metaDescription: meta_description {
  38 |         html
  39 |         text
  40 |       }
> 41 |       openGraphImage: open_graph_image {
     |       ^
  42 |         alt
  43 |         copyright
  44 |         url
  45 |       }
  46 |     }
  47 |   }
  48 | }
  49 | 

File path: /Users/david/Downloads/prueba/node_modules/@littleplusbig/gatsby-theme-faqs-prismic/src/templates/faq.js
Url path: /faqprueba/
Plugin: none
not finished Generating image thumbnails - 0.329s
not finished run page queries - 0.148s

Could you say why?

Very thank you.