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

Fails building-schema when using yarn link #6

Open
Geimaj opened this issue Jul 30, 2020 · 0 comments
Open

Fails building-schema when using yarn link #6

Geimaj opened this issue Jul 30, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@Geimaj
Copy link
Member

Geimaj commented Jul 30, 2020

Missing onError handler for invocation 'building-schema', error was 'Error: File.publicURL provided incorrect OutputType: 'String''. Stacktrace was 'Error: File.publicURL provided incorrect OutputType: 'String'
    at TypeMapper.convertOutputFieldConfig (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/graphql-compose/lib/TypeMapper.js:294:15)
    at resolveOutputConfigAsThunk (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/graphql-compose/lib/utils/configAsThunk.js:19:41)
    at ObjectTypeComposer.getFieldConfig (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/graphql-compose/lib/ObjectTypeComposer.js:300:58)
    at /home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/graphql-compose/lib/utils/toInputObjectType.js:44:19
    at Array.forEach (<anonymous>)
    at toInputObjectType (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/graphql-compose/lib/utils/toInputObjectType.js:38:14)
    at ObjectTypeComposer.getInputTypeComposer (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/graphql-compose/lib/ObjectTypeComposer.js:600:84)
    at getSortInput (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/gatsby/dist/schema/types/sort.js:52:42)
    at addTypeToRootQuery (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/gatsby/dist/schema/schema.js:1110:23)
    at processTypeComposer (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/gatsby/dist/schema/schema.js:260:13)
    at async Promise.all (index 13)
    at async updateSchemaComposer (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/gatsby/dist/schema/schema.js:200:3)
    at async buildSchema (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/gatsby/dist/schema/schema.js:91:3)
    at async build (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/gatsby/dist/schema/index.js:141:18)
    at async buildSchema (/home/jamie/dev/Clients/dado/altitude/gatbsy-funnels/cel/cel-gatsby-funnels/node_modules/gatsby/dist/services/build-schema.js:20:3)'

not finished building schema - 3.240s

gatsbyjs/gatsby#20718

https://stackoverflow.com/questions/60022341/error-building-schema-with-gatsby-source-filesystem-config-following-official-t/63153047#63153047

@Geimaj Geimaj added the bug Something isn't working label Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant