gatsby-starter-delog icon indicating copy to clipboard operation
gatsby-starter-delog copied to clipboard

Build fails when removing the hello world blog post

Open bearclawz opened this issue 4 years ago • 3 comments

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

bearclawz avatar Apr 20 '20 20:04 bearclawz

Thanks @bearclawz, appreciate the feedback

munawar-js avatar Apr 21 '20 11:04 munawar-js

Build fails when there are no posts to query.

munawar-js avatar May 03 '20 18:05 munawar-js

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 .

bearclawz avatar May 04 '20 21:05 bearclawz