Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Unable to upgrade Apollo stack to graphql v0.12.3 #1559

Closed
kavink opened this issue Jan 17, 2018 · 4 comments
Closed

Unable to upgrade Apollo stack to graphql v0.12.3 #1559

kavink opened this issue Jan 17, 2018 · 4 comments

Comments

@kavink
Copy link

kavink commented Jan 17, 2018

I have tried upgrading my dependencies to grapqhl v0.12.3, but after I do that the app does not work anymore. Wondering if anyone else has had this issue for Apollo-client/react-apollo and apollo stack in general?

Will the upgrade to grapqhl v0.12.3 be supported ?

@kavink
Copy link
Author

kavink commented Jan 17, 2018

instanceOf.js:11 Uncaught Error: Cannot use e "__Schema" from another module or realm.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.

https://yarnpkg.com/en/docs/selective-version-resolutions

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.

@kavink kavink closed this as completed Jan 17, 2018
@mistakenelf
Copy link

Im having this same issue, were you able to fix it? @kavink

@kavink
Copy link
Author

kavink commented Jan 23, 2018

@knipferrc do you have a dependency on graphql data type JSON ?

@barbalex
Copy link

This seems to be a graphql issue that was solved with graphql v13: graphql/graphql-js#1174

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

No branches or pull requests

3 participants