fabien0102 / gatsby-starter

Gatsby 2.0 starter with typescript and many cools dev tools
386 stars 99 forks source link

Conflicting field types in your data—warning msg #68

Closed heyalbert closed 5 years ago

heyalbert commented 6 years ago

Hi, I set up a new project by using the gatsby-starter. Everything was generated by the starter. But: After running gatsby developI'm always getting this warning:

warning There are conflicting field types in your data. GraphQL schema will omit those fields.
SitePluginConnection.packageJson.author:

Does someone know why? What happened?

fabien0102 commented 6 years ago

Hi, regarding your error, I guess that you have something "weird" into your package.json:author.

@heyalbert can you paste your package.json here, to have more information?

SoraYama commented 6 years ago

The same issue came to me, and things ganna be fine when I comment these lines. I'm not sure whether these code is still work properly 🤣

fabien0102 commented 5 years ago

Should be fixed in the 2.0 ;)