gatsby-starter-delog
gatsby-starter-delog copied to clipboard
Build fails when removing the hello world blog post
Hi,
When deleting the hello world blog post the gatsby build fails with error: ERROR #85923 GRAPHQL Cannot query field "metaDescription" on type "MarkdownRemarkFrontmatter"
I fixed it by removing the field metaDescription in the export pageQuery section in blogTemplate.js but its probably there for a reason
Great project, big thanks for all the effort!
Kevin
Thanks @bearclawz, appreciate the feedback
Build fails when there are no posts to query.
OK, that could work, thanks
On Sun, 3 May 2020 at 20:03, Eric Carboni [email protected] wrote:
Temp fix @bearclawz https://github.com/bearclawz, add a metaDescription field to another blog post Markdown file ( https://github.com/W3Layouts/gatsby-starter-delog/blob/master/_data/blog/hello-world.md )
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/W3Layouts/gatsby-starter-delog/issues/3#issuecomment-623153905, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYQ3GSXIJGPJ7HUAQMHKZ3RPWWYLANCNFSM4MMX2RSA .