Intended outcome:
Using the apollo-link-core npm package
Actual outcome:
Received a warning on install of the npm package
warning "[email protected]" has incorrect peer dependency "graphql@^0.9.0 || ^0.10.0".
How to reproduce the issue:
Make sure you have _yarn_ installed: https://yarnpkg.com/en/docs/install
(It looks like _npm_ does not verify peer dependencies?)
> mkdir test
> cd test
> yarn init -y
> yarn add apollo-link-core
...
warning "[email protected]" has incorrect peer dependency "graphql@^0.9.0 || ^0.10.0".
...
I'm going to move graphql to a peer dep which will fix this!
Awesome!
[email protected] requires a peer of graphql@^0.11.0 but none is installed. You must install peer dependencies yourself.
"dependencies": {
"apollo-cache-inmemory": "^1.1.5",
"apollo-client": "^2.2.0",
"apollo-link": "^1.0.7",
"apollo-link-error": "^1.0.3",
"apollo-link-http": "^1.3.2",
"apollo-link-retry": "^2.1.1",
"apollo-link-ws": "^1.0.4",
"apollo-utilities": "^1.0.4",
"co-wechat-api": "^3.3.4",
"co-wechat-oauth": "^2.0.1",
"connect-timeout": "^1.9.0",
"cookie-parser": "^1.4.3",
"cors": "^2.8.4",
"express": "^4.16.2",
"got": "^8.0.2",
"graphql": "^0.12.3",
"graphql-tag": "^2.6.1",
"incache": "^7.0.0",
"jsgql": "^1.0.2",
"leancloud-storage": "^3.5.0",
"leanengine": "^3.0.2",
"lodash.sample": "^4.2.1",
"ms": "^2.1.1",
"node-fetch": "^1.7.3",
"prepend-http": "^2.0.0",
"subscriptions-transport-ws": "^0.9.5",
"wechat": "^2.1.0",
"ws": "^4.0.0"
},
seems like bug resurfaced. Getting same error.
Same here :(
Same here. Do I need to add this dependency?
Most helpful comment
seems like bug resurfaced. Getting same error.