dadoagency / contentful-gatsby-components

0 stars 0 forks source link

Fails building-schema when using yarn link #6

Open Geimaj opened 4 years ago

Geimaj commented 4 years ago
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

https://github.com/gatsbyjs/gatsby/issues/20718

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