Failed to compile
RomanFSDev opened this issue · 7 comments
RomanFSDev commented
Anyone else is getting this error?
GraphQL Error Encountered 1 error(s):
-
Unknown field 'github' on type 'Query'.
file: ./gatsby-portfolio/new/gatsby-portfolio-dev/src/components/landing/Projects/index.jsx
smakosh commented
Have you added the env variables mentioned on the docs?
smakosh commented
The issue is caused by the gatsby-source-graphql
, I provided more info to them, hopefully it will be fixed.
smakosh commented
Meanwhile, downgrade your gatsby and gatsby-source-graphql to a previous version and give it a try.
smakosh commented
Fixed here: gatsbyjs/gatsby#14665
smakosh commented
It has been fixed @EdgarWright
marclundgren commented
I'm still experiencing the same problem when cloning the repo and running yarn && yarn start
:/
smakosh commented
I just tried and everything seems to work just fine. You probably forgot the GitHub token as env variable.