Running npm install --save apollo-server graphql gave me the following peer dependency issues:
npm WARN [email protected] requires a peer of graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of graphql@^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN @apollographql/[email protected] requires a peer of graphql@^0.13.1 but none is installed. You must install peer dependencies yourself.
The resolved versions:
+ [email protected]
+ [email protected]
It seems as if the minor version of 14 got moved to a major version on graphql, thus not satisfying peer dependencies of the above packages.
It seems as if the minor version of 14 got moved to a major version on graphql, thus not satisfying peer dependencies of the above packages.
@sdgandhi It was intentional, more details here: https://medium.com/@leeb/graphql-js-preparing-for-v14-0-0-839f823c144e
It will take some time for rest of packages (including Apollo) to adapt to the new release and breaking changes in it.
AFAIK Apollo engineers are working on supporting 14.x.x.
Most helpful comment
@sdgandhi It was intentional, more details here: https://medium.com/@leeb/graphql-js-preparing-for-v14-0-0-839f823c144e
It will take some time for rest of packages (including Apollo) to adapt to the new release and breaking changes in it.
AFAIK Apollo engineers are working on supporting
14.x.x.