You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue when running gatsby build. I removed the blog section from the starter template, both in contents/ and in sidebars.js and in menuItems.js.
verbose running command: build
success open and validate gatsby-configs - 0.042 s
success load plugins - 1.313 s
(node:58796) [DEP0130] DeprecationWarning: Module.createRequireFromPath() is deprecated. Use Module.createRequire() instead.
success onPreInit - 0.006 s
success delete html and css files from previous builds - 0.011 s
success initialize cache - 0.037 s
success copy gatsby files - 0.113 s
success onPreBootstrap - 0.011 s
success source and transform nodes - 0.182 s
success Add explicit types - 0.012 s
success Add inferred types - 0.212 s
success Processing types - 0.147 s
success building schema - 0.575 s
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Expected type MarkdownRemarkFieldsEnum, found frontmatter___date. Did you mean the enum value frontmatter___title, frontmatter___sidebar, frontmatter___showTitle, or frontmatter___hideAnchor?
File: gatsby/createPages.js:10:10
⠋ createPages
The text was updated successfully, but these errors were encountered:
Ok, I think I figured out what was going on, the headers on my Markdown pages was missing the date field, including other fields.
Here's the complete set of the fields for the pages. It looks like they run optionally in the gatsby develop mode, but they are required in the build mode.
Issue when running
gatsby build
. I removed theblog
section from the starter template, both incontents/
and insidebars.js
and inmenuItems.js
.The text was updated successfully, but these errors were encountered: