Incorrect peer dependency
See original GitHub issue[4/5] Linking dependencies… warning “apollo-server > graphql-subscriptions@0.5.8” has incorrect peer dependency “graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0”. warning “apollo-server > apollo-server-core > @apollographql/apollo-upload-server@5.0.3” has incorrect peer dependency “graphql@^0.13.1”. warning “apollo-server > graphql-tools@3.1.1” has incorrect peer dependency “graphql@^0.13.0”. warning “apollo-server > apollo-server-core > graphql-tag@2.9.2” 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 > subscriptions-transport-ws@0.9.14” has incorrect peer dependency “graphql@^0.10.0 || ^0.11.0 || ^0.12 .0 || ^0.13.1”. warning “apollo-server > graphql-tools > apollo-link@1.2.2” 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
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:9 (3 by maintainers)
Top GitHub Comments
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.
Mac OS 10.15.7 tried installing npm install -g apollo in terminal It still gives me the error