Closed philipp-berger closed 5 years ago
When updating to 2.1.0-beta.1 I get another error of the same type
gatsby develop
success open and validate gatsby-configs — 0.008 s
success load plugins — 0.724 s
success onPreInit — 0.004 s
success initialize cache — 0.006 s
success copy gatsby files — 0.089 s
success onPreBootstrap — 0.014 s
success loading DatoCMS content — 1.325 s
success source and transform nodes — 1.367 s
error UNHANDLED REJECTION
Error: DatoCmsAsset.fluid provided incorrect OutputType: 'DatoCmsFluid'
- TypeMapper.js:276 TypeMapper.convertOutputFieldConfig
[app-website]/[graphql-compose]/lib/TypeMapper.js:276:15
- configAsThunk.js:19 resolveOutputConfigAsThunk
[app-website]/[graphql-compose]/lib/utils/configAsThunk.js:19:41
- ObjectTypeComposer.js:300 ObjectTypeComposer.getFieldConfig
[app-website]/[graphql-compose]/lib/ObjectTypeComposer.js:300:58
- toInputObjectType.js:44 fieldNames.forEach.fieldName
[app-website]/[graphql-compose]/lib/utils/toInputObjectType.js:44:19
- Array.forEach
- toInputObjectType.js:38 toInputObjectType
[app-website]/[graphql-compose]/lib/utils/toInputObjectType.js:38:14
- toInputObjectType.js:78 convertInputObjectField
[app-website]/[graphql-compose]/lib/utils/toInputObjectType.js:78:19
- toInputObjectType.js:45 fieldNames.forEach.fieldName
[app-website]/[graphql-compose]/lib/utils/toInputObjectType.js:45:23
- Array.forEach
- toInputObjectType.js:38 toInputObjectType
[app-website]/[graphql-compose]/lib/utils/toInputObjectType.js:38:14
- toInputObjectType.js:78 convertInputObjectField
[app-website]/[graphql-compose]/lib/utils/toInputObjectType.js:78:19
- toInputObjectType.js:45 fieldNames.forEach.fieldName
[app-website]/[graphql-compose]/lib/utils/toInputObjectType.js:45:23
- Array.forEach
- toInputObjectType.js:38 toInputObjectType
[app-website]/[graphql-compose]/lib/utils/toInputObjectType.js:38:14
- ObjectTypeComposer.js:581 ObjectTypeComposer.getInputTypeComposer
[app-website]/[graphql-compose]/lib/ObjectTypeComposer.js:581:84
- sort.js:38 getSortInput
[app-website]/[gatsby]/dist/schema/types/sort.js:38:42
- schema.js:552 addResolvers
[app-website]/[gatsby]/dist/schema/schema.js:552:23
- schema.js:188
[app-website]/[gatsby]/dist/schema/schema.js:188:13
- Generator.next
error Command failed with exit code 1.
Hey @philipp-berger what version of gatsby are you using?
Hey Stefan, Gatsby Version is currently 2.0.8, I am updating now and see if this changes things
--EDIT-- Checked, still not working with gatsby - 2.3.22
Cheers, Phil
Hey Stefan, thank for hinting to upgrade stuff, actually updated step by step every dependencies Turns out, fix was to upgrade "gatsby-source-filesystem" to "2.0.29".
Thanks, Phil
Hey there, I do not know if DataCMS updated there API, but my already running project began to fail building with a weird error log, somehow related to the field mapping of DatoCms Asset. Could you please assist here?