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

Download Scehma error #8745

Closed
sam961 opened this issue Sep 2, 2021 · 10 comments
Closed

Download Scehma error #8745

sam961 opened this issue Sep 2, 2021 · 10 comments

Comments

@sam961
Copy link

sam961 commented Sep 2, 2021

Intended outcome:
I was trying to install schema.json using apollo command version 2.33.6
but unfortunately i am receiving the following error

apollo schema:download --endpoint=https://mydomain.com/graphql schema.json

Actual outcome:
Error: Cannot find module 'graphql/validation/rules/KnownArgumentNamesRule'
Screen Shot 2021-09-02 at 9 23 25 PM

Versions

System:
OS: macOS 11.4
Binaries:
Node: 12.13.0 - /usr/local/bin/node
npm: 7.21.1 - /usr/local/bin/npm
Browsers:
Chrome: 92.0.4515.159
Firefox: 84.0.1
Safari: 14.1.1
npmGlobalPackages:
apollo: 2.33.6

@sam961
Copy link
Author

sam961 commented Sep 4, 2021

@benjamn could you help me in this since it is blocking my work.
Thank you and much appreciated

@benjamn
Copy link
Member

benjamn commented Sep 9, 2021

What version of the graphql package are you using?

@sam961
Copy link
Author

sam961 commented Sep 9, 2021

@benjamn do you mean on the server?

@benjamn
Copy link
Member

benjamn commented Sep 9, 2021

I meant the version line in node_modules/graphql/package.json (and if that file doesn't exist, try npm i graphql).

@sam961
Copy link
Author

sam961 commented Sep 11, 2021

version 2.33.4

@benjamn
Copy link
Member

benjamn commented Sep 13, 2021

I think that's the version for the apollo package, which you already provided above (thanks). What about the graphql package version?

@sam961
Copy link
Author

sam961 commented Sep 13, 2021

Yes i got the apollo version from the mentioned path node_modules/graphql/package.json
and the graphql version is : [email protected]

@sam961
Copy link
Author

sam961 commented Sep 20, 2021

@benjamn do you have any idea regarding the issue ?

@sam961
Copy link
Author

sam961 commented Sep 29, 2021

@designatednerd Can you please help me with this? I think @benjamn is busy and I appreciate it

@hwillson
Copy link
Member

@sam961 this issue is being tracked here: apollographql/apollo-tooling#2415

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
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