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

Unknown type "DatoCmsResolutions" #1

Closed
zacacollier opened this issue Dec 16, 2017 · 2 comments
Closed

Unknown type "DatoCmsResolutions" #1

zacacollier opened this issue Dec 16, 2017 · 2 comments

Comments

@zacacollier
Copy link

Hello,

Unfortunately, I haven't had any luck getting this gatsby-source to work with Gatsby.

Everything spins up smoothly gatsby develop until I hit this error:

GraphQL Error Unknown type "DatoCmsResolutions". Did you mean "DatoCmsSeoMetaTags", "DatoCmsSiteConnection", "DatoCmsFieldConnection", or "DatoCmsModelConnection"?

  file: /Users/zac/Documents/Dev/datocms-poc-site/.cache/fragments/datocms-seometatags-fragments.js

  1 |
> 2 |   fragment GatsbyDatoCmsResolutions on DatoCmsResolutions {
    |                                        ^
  3 |     base64
  4 |     width
  5 |     height
  6 |     src
  7 |     srcSet
  8 |   }
  9 |

It doesn't crash the develop script, but the data prop is no longer being passed to any of my components. Granted I'm not entirely not sure if this error is what's causing that to happen.

I can still browse all the other available types in GraphiQL, but that's about it.

I tried poking around to find a possible culprit - looks like there were some recent changes to createItemNodes.js? Perhaps there's an issue there... 🤔

@stefanoverna
Copy link
Member

Hi @zacacollier, just released 1.0.15 which should solve the problem!

@zacacollier
Copy link
Author

@stefanoverna excellent, I'll check it out 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants