Giter VIP home page Giter VIP logo

Comments (4)

philipp-berger avatar philipp-berger commented on June 5, 2024

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.

from gatsby-source-datocms.

stefanoverna avatar stefanoverna commented on June 5, 2024

Hey @philipp-berger what version of gatsby are you using?

from gatsby-source-datocms.

philipp-berger avatar philipp-berger commented on June 5, 2024

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

from gatsby-source-datocms.

philipp-berger avatar philipp-berger commented on June 5, 2024

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

from gatsby-source-datocms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.