-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gatsby-plugin-feed stopped working with gatsby-plugin-mdx in Gatsby v3 #29983
Comments
Same issue here. I have upgraded to Error Message is
Steps to reproduce
Expected result
Actual resultBuild Error Environment
|
Same issue when I upgrade to gatsby v3~ |
Thanks for report and reproduction - just opened PR with fix ( #30158 ) |
Thanks @pieh, I just confirmed that the issue is fixed and my feeds are working again (tested both |
In my case, the build is successful now after updating to Steps to reproduce
Expected result/rss.xml should contain HTML code for each blog post content Actual resultHTML cannot be found in RSS feed after
Error message shows up when
Environment
|
Description
My website uses MDX via gatsby-plugin-mdx. I've recently started the migration to Gatsby v3, and noticed that when I do a build, the RSS feeds fail with the following error message repeated over and over again:
Steps to reproduce
yarn && yarn build
and observe the error messages.That branch is using
gatsby-plugin-feed-generator
, but the same error occurs withgatsby-plugin-feed
. If you want to test with it, do the following after:yarn remove gatsby-plugin-feed-generator
yarn add gatsby-plugin-feed
yarn && yarn build
and observe the error messages.Expected result
The feed file should be generated correctly.
Actual result
Errors are shown and the feed items have no content node in it.
Environment
System:
OS: Windows 10 10.0.19043
CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Binaries:
Node: 14.15.1 - ~\AppData\Local\Temp\yarn--1614855258976-0.4757388352035463\node.CMD
Yarn: 1.22.10 - ~\AppData\Local\Temp\yarn--1614855258976-0.4757388352035463\yarn.CMD
npm: 7.5.2 - C:\Program Files\nodejs\npm.CMD
Languages:
Python: 2.7.15
Browsers:
Edge: Spartan (44.19041.423.0), Chromium (88.0.705.81), ChromiumDev (90.0.810.1)
npmPackages:
gatsby: ^3.0.0 => 3.0.1
gatsby-plugin-env-variables: ^2.0.0 => 2.0.0
gatsby-plugin-eslint: ^3.0.0 => 3.0.0
gatsby-plugin-feed: ^3.0.0 => 3.0.0
gatsby-plugin-google-analytics: ^3.0.0 => 3.0.0
gatsby-plugin-image: ^1.0.0 => 1.0.0
gatsby-plugin-manifest: ^3.0.0 => 3.0.0
gatsby-plugin-mdx: ^2.0.0 => 2.0.0
gatsby-plugin-netlify: ^3.0.0 => 3.0.0
gatsby-plugin-offline: ^4.0.0 => 4.0.0
gatsby-plugin-react-helmet: ^4.0.0 => 4.0.0
gatsby-plugin-robots-txt: ^1.5.5 => 1.5.5
gatsby-plugin-sass: ^4.0.0 => 4.0.0
gatsby-plugin-sharp: ^3.0.0 => 3.0.0
gatsby-plugin-sitemap: ^3.0.0 => 3.0.0
gatsby-plugin-twitter: ^3.0.0 => 3.0.0
gatsby-remark-acronyms: ^1.1.2 => 1.1.2
gatsby-remark-copy-linked-files: ^3.0.0 => 3.0.0
gatsby-remark-images: ^4.0.0 => 4.0.0
gatsby-remark-responsive-iframe: ^3.0.0 => 3.0.0
gatsby-remark-smartypants: ^3.0.0 => 3.0.0
gatsby-source-filesystem: ^3.0.0 => 3.0.0
gatsby-transformer-sharp: ^3.0.0 => 3.0.0
gatsby-transformer-yaml: ^3.0.0 => 3.0.0
The text was updated successfully, but these errors were encountered: