-
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
Error when using gatsby-image plugin #5060
Comments
Have you tried using the graphQL explorer to test your query? When running |
There's some new docs on using images with Gatsby, they're still being reviewed but you can preview them here: https://github.com/melissamcewen/gatsby/blob/b8f19c22b60cd6c58472bb16ea264b54366e1b47/docs/docs/working-with-images.md |
so, running in GraphiQL:
and I'm getting this:
|
OK, I tried the query from the docs mentioned above:
and am getting
|
I cleaned all |
I'm getting this exact same issue. Removing Same errors you mentioned above, depending on the query structure. Running the following versions on macOS High Sierra (10.13.5): gatsby-starter-default@1.0.0 |
Following the minimal setup for the gatsby-image plugin and I am getting the following error after adding the query to the index page:
GraphQL Error Unknown field 'imageSharp' on type 'RootQueryType'
What am I missing? I have this in my config file:
This is the query:
The text was updated successfully, but these errors were encountered: