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
Schema download failing again with graphql 14.4.2 ("Cannot use GraphQLSchema "[object GraphQLSchema]" from another module or realm") #1384
Comments
I can't reproduce this issue locally with the latest version of apollo. Can you provide a simple repo/codesandbox/glitch with a project where this happens? I'll close until there is a way to reproduce this. |
Apologies for the late response. For what it's worth, updating to apollo 2.16.0 fixed the issue. |
For me removing |
@JakeDawkins (how's it going?) I am now seeing this error pretty much no matter what. I tried a fresh install, tried hardcoding apollo Repro for me:
I tried yarn and npm. I can confirm with package-lock.json and yarn lock that the same version of graphql is being used everywhere. Tried resolutions in the package.json.
Any ideas? |
Problem still persists with |
in case insert {
"dependencies": {
"graphql": "15.5.0"
},
"resolutions": {
"apollo/graphql": "15.4.0"
}
} and remove working for me. |
Still and issue with graphql 15.5.0 and apollo 2.33.6 |
Was dealing this issues. My fix was to add the resolution and yarn upgrade. Versioning thing |
Intended outcome:
Schema download succeeds.
Actual outcome:
Schema download fails:
How to reproduce the issue:
Run
yarn apollo service:download schema.json --endpoint {endpoint_url}
.Versions
I'm on apollo 2.15.0. I got the same error on 2.12.3, as described here, but this PR temporarily fixed it. But now after upgrading from graphql 14.4.0 to 14.4.2, I'm getting the error again.
The text was updated successfully, but these errors were encountered: