miller-productions / gatsby-plugin-podcast-feed-mdx

Gatsby plugin to generate a podcast rss feed that is published on your site.
MIT License
3 stars 3 forks source link

Field "status" is not defined #2

Closed lefnire closed 3 years ago

lefnire commented 3 years ago

Got a new site, gatsby build gives this error:

error "gatsby-plugin-podcast-feed-mdx" threw an error while running the onPostBuild lifecycle:

Field "status" is not defined

Make sure that you don't have a typo somewhere and use valid arguments in onPostBuild lifecycle.

Steps:

Also tried downgrading to 0.1.0-alpha.6 (pre status field), but get the same status-field error

lefnire commented 3 years ago

Woops! I included that comment // In each.mdxfile you have (one per episode) at the top. Removing it fixes.

miller-productions commented 3 years ago

Thanks for letting me know @lefnire, I've updated the readme to move that comment out of the code example.