[4/5] Linking dependencies...
warning "apollo-server > [email protected]" has incorrect peer dependency "graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0".
warning "apollo-server > apollo-server-core > @apollographql/[email protected]" has incorrect peer dependency "graphql@^0.13.1".
warning "apollo-server > [email protected]" has incorrect peer dependency "graphql@^0.13.0".
warning "apollo-server > apollo-server-core > [email protected]" has incorrect peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 ||
^0.13.0".
warning "apollo-server > apollo-server-core > [email protected]" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12
.0 || ^0.13.1".
warning "apollo-server > graphql-tools > [email protected]" has incorrect peer dependency "graphql@^0.11.3 || ^0.12.3 || ^0.13.0".
Here is my package.json:
"dependencies": {
"apollo-server": "^2.0.7",
"dotenv": "^6.0.0",
"esm": "^3.0.82",
"graphql": "^14.0.2"
},
In order to get the same result you just have to: yarn add apollo-server graphql
I think this is because graphql 14 is new and apollo-server hasn't been updated. If you change your graphql version to be "^0.13.2" it will be fixed until they update their peer dependency. Their docs should be updated to pin graphql to that version until they do, though.
Thank you for pointing it out. I did and the warnings went away. Thank you.

Is it safe to ignore or I really have to use use 0.13?
Hi folks!
Thanks for the input and apologies for the inconvenience
The peer dependencies for both graphql-subscriptions and graphql-tools has since been updated to allow graphql@14
We've also switched from apollo-upload-server to graphql-upload, which has also updated its peer dependency to support graphql@14
I believe this issue should now be safe to close? Please let us know if this regresses 🙏
Mac OS 10.15.7
tried installing npm install -g apollo in terminal
It still gives me the error

Looks like this is happening again, for graphql@15
@sudipta17 The apollo package isn't part of this repository. It's part of the https://github.com/apollographql/apollo-tooling repo. (And full disclosure — the Apollo CLI is not under active development; we're working to break it into a few parts served by more focused tools.)
@alexburner I'm sorry you're seeing this issue but your report doesn't have enough information for me to help. What did you do and what did you see?
@glasser sorry for the late response. I was seeing the same incorrect peer dependency errors as the original issue, but with graphql@15 instead of 14.
However, I'm not seeing it now. My npm package.json versions are exact... so perhaps upgrading to npm 7 fixed it?
@alexburner Probably fixed by Apollo Server v2.21.
Most helpful comment
I think this is because graphql 14 is new and apollo-server hasn't been updated. If you change your graphql version to be "^0.13.2" it will be fixed until they update their peer dependency. Their docs should be updated to pin graphql to that version until they do, though.