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

Requires gatsby-source-filesystem in gatsby-config.js #22

Open
Mappboy opened this issue Jul 16, 2020 · 0 comments · May be fixed by #27
Open

Requires gatsby-source-filesystem in gatsby-config.js #22

Mappboy opened this issue Jul 16, 2020 · 0 comments · May be fixed by #27

Comments

@Mappboy
Copy link

Mappboy commented Jul 16, 2020

Hi Stephen,

Might just want to update the readme that this requires gatsby-source-filesystem be in the gatsby-config.
Without it I was getting.

Error: Could not find owner plugin of node for loadNodeContent with owner `gatsby-source-filesystem`

It's pretty clear the cause, but I am assuming something bad happens if you change the name here ?

// Then create the node, as if it were created by the gatsby-source
// filesystem plugin.
return createNode(fileNode, {
        name: `gatsby-source-filesystem`
      });

Working fine now.

Thanks

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

Successfully merging a pull request may close this issue.

1 participant