Skip to content
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

Unable to find plugin "gatsby-source-rss" #5

Open
mittalyashu opened this issue Aug 29, 2018 · 10 comments
Open

Unable to find plugin "gatsby-source-rss" #5

mittalyashu opened this issue Aug 29, 2018 · 10 comments

Comments

@mittalyashu
Copy link

Getting this error, even after I have installed the gatsby-source-rss package.

2018-08-29_19-15-30

@andrioid
Copy link
Collaborator

I'm pretty sure this module is abandoned. So use it at your own risk.

That said. If you want help:

  • What version of Gatsby are you using? This has never been tested for Gatsby v2
  • How does your Gatsby configuration files look like?

@mittalyashu
Copy link
Author

mittalyashu commented Aug 29, 2018

Gatsby version:

"dependencies": {
    "babel-plugin-styled-components": "^1.5.1",
    "gatsby": "next",
    "gatsby-plugin-manifest": "next",
    "gatsby-plugin-offline": "next",
    "gatsby-plugin-react-helmet": "next",
    "gatsby-plugin-styled-components": "^2.0.11",
    "gatsby-source-rss": "^1.0.0",
    "prop-types": "^15.6.2",
    "react": "^16.4.2",
    "react-dom": "^16.4.2",
    "react-helmet": "^5.2.0",
    "styled-components": "^3.4.2"
  }

gatsby-config.js

module.exports = {
  siteMetadata: {
    title: '',
    description: ""
  },
  plugins: [
    'gatsby-plugin-react-helmet',
    {
      resolve: 'gatsby-plugin-manifest',
      options: {
        name: 'CodeCarrot',
        short_name: 'CodeCarrot',
        start_url: '/',
        background_color: '#663399',
        theme_color: '#00d664',
        display: 'minimal-ui',
        icon: 'src/images/favicon.png', // This path is relative to the root of the site.
      },
    },
    'gatsby-plugin-offline',
    'gatsby-plugin-styled-components',
    {
             resolve: 'gatsby-source-rss',
                        options: {
                                rssURL: 'https://fancypants.io/rss.xml'
                        }
                }
  ],
}

@jimt
Copy link

jimt commented Aug 30, 2018

You don't seem to have a gatsby-source-rss section in your gatsby-config.js plugins array.

@mittalyashu
Copy link
Author

mittalyashu commented Aug 30, 2018

Yeah, I forget to add that in the above code snippet, but even after that it's not working locally.

@mittalyashu
Copy link
Author

Anyone has any idea, why I am getting that error.

@andrioid
Copy link
Collaborator

andrioid commented Sep 1, 2018

My best guess is that they changed something in gatsby@next that is causing this. I haven't had the time to upgrade my Gatsby site since I contributed to this module.

If you find out what's causing this, please comment back so others can benefit.

@JoshMormann
Copy link

I think the problem is that the version of this plugin in npm/yarn is not what you have here, it's got a TODO comment, and that's it.

@JoshMormann
Copy link

Well that was part of it I think, but now I get worse errors...
too much to copy/paste

@m4rrc0
Copy link

m4rrc0 commented Jan 13, 2019

Hey, haven't even took 3s to look at the code but just copy/pasting in a local plugin made it work.
Of course you get the deprecation notice about boundActionCreators if you are on v2 but the fix is just a batch replace away. ;)
@mittalyashu

@mittalyashu
Copy link
Author

Thanks for the update @MarcCoet 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants