smakosh / gatsby-portfolio-dev

A portfolio for developers

Home Page:https://portfolio.smakosh.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to compile

0xModene opened this issue · comments

I'm getting this issue when I attempt to run gatsby develop on a fresh clone. I understand the first error to be related to my Github access token (I have yet to put that in), but I'm unsure of the second one


UNHANDLED REJECTION Type with name "File" does not exists

Error: Type with name "File" does not exists

  • TypeStorage.js:44 SchemaComposer.get
    [portfolio]/[graphql-compose]/lib/TypeStorage.js:44:13

  • SchemaComposer.js:530 SchemaComposer.getAnyTC
    [portfolio]/[graphql-compose]/lib/SchemaComposer.js:530:19

  • schema.js:768 parentTypesToChildren.forEach
    [portfolio]/[gatsby]/dist/schema/schema.js:768:41

  • Map.forEach

  • schema.js:767 addConvenienceChildrenFields
    [portfolio]/[gatsby]/dist/schema/schema.js:767:25

  • schema.js:160 updateSchemaComposer
    [portfolio]/[gatsby]/dist/schema/schema.js:160:9

image

the GitHub token is required for the build to succeed

I understand that the token is needed, but even after the token is created, I still get this error when trying to build.

image