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

Gatsby : Field "hero_image" must not have a selection since type "String" has no subfields. #260

Closed
RebootGG opened this issue Dec 29, 2020 · 1 comment

Comments

@RebootGG
Copy link

Hey,

Using the recommended starter on your guide, I'm unable to start the website locally.

Here is the error coming after cloning the starter and running yarn develop :

ERROR #85922  GRAPHQL

There was an error in your GraphQL query:

Field "hero_image" must not have a selection since type "String" has no subfields.

This can happen if you e.g. accidentally added { } to the field "hero_image". If you didn't expect "hero_image" to be of type "String" make sure that your input source and/or plugin is correct.

This error has already been mentioned elsewhere, for example here, but as this is an "official" starter, I am surprised there hasn't been a fix ever since.

Is there any workaround, apart from switching to WSL for windows users ?

Thanks.

@RebootGG
Copy link
Author

RebootGG commented Dec 29, 2020

I'm closing the issue, since I missed a workaround on the issue i mentioned above.
,
I still think it would be nice if the starter would start normally, out of the box :p

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

1 participant