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

"Field type must be output type but got.." Not using peer graphql dependency #13

Open
gage-langdon opened this issue Feb 7, 2018 · 2 comments

Comments

@gage-langdon
Copy link

image

  • This issue is caused by graphql-transform-schema not using the peer dependency, so the version of graphql is misaligned when the peer is using an updated version of graphql. Need to resolve to peer dependency or make it a clear version requirement
@maxtechera
Copy link

maxtechera commented Mar 14, 2018

I'm facing the same issue as @gage-langdon . Have you found some workaround?
---- UPDATE----
I found a quick workaround if you're using yarn as your package manager. In your package.json add
"resolutions": { "graphql": "^0.13.0" }
This will force every graphql dependency to this version!

@gage-langdon
Copy link
Author

@maxtechera Thanks!

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

No branches or pull requests

2 participants