question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

apollo-server-koa: Please upgrade to dependencies that have graphql 14.0.0 to peerDependencies

See original GitHub issue

apollo-server-koa as of 2.2 has graphql 14.0.0 as peerDependency which is great! However some of the related dependencies do not have graphql 14.0.0 as peerDependency at the version apollo-server-koa is using them.

apollo-server-koa > @apollographql/apollo-upload-server@5.0.3" has incorrect peer dependency "graphql@^0.13.1".
apollo-server-koa > 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".

I think the latest versions of graphql-tag and @apollographql/apollo-upload-server supports graphql 14.0.0 so if apollo-server-koa and apollo-server-core could upgrade its dependencies to the latest version it would be solved.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jonaskellocommented, Dec 5, 2018

@abernix You are correct, this is fixed. I ran yarn add apollo-server-koa@2.3.0-alpha.0 and after that I still saw the warning. However I realised now that yarn.lock actually locked down the version of graphql-tag. After running yarn upgrade all apollo-server warnings are gone! Sorry for wasting your time!

0reactions
abernixcommented, Dec 13, 2018

The alpha releases didn’t identify any problems so I’ve graduated this to the official apollo-server-*@2.3.0 releases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

apollo-server-core versions and peer dependencies
Online Peer dependency version tool to search for compatible versions of related NPM packages.
Read more >
apollo-server | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
Outdated packages/warnings even after upgrading to latest ...
Hi all, So, I have this observation, after I upgraded, I still see outdated packages and warnings after I ran the command (yarn...
Read more >
Npm dependency conflict - how to solve it? - Stack Overflow
this has occured because the peer dependencies were conflicting for new versions of npm. the package is not so well maintained.
Read more >
npm Peer Dependencies - JavaScript inDepth
In this article I clarify what npm Peer Dependencies are and especially when you should use them. Peer Dependencies are listed in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found