Apollo-server: Latest release doesn't work with graphql ^0.8.0

Created on 14 Dec 2016  ยท  10Comments  ยท  Source: apollographql/apollo-server

Seems like someone has already done the work of upgrading since master has graphql ^0.8.2 in the root package.json, and "graphql": "^0.6.1 || ^0.7.0 || ^0.8.0" in each project.

Not sure if it's ready, but it if so it would be great to cut a release.

Most helpful comment

@estk I think @nnance was going to cut a release shortly. ๐Ÿ™‚

All 10 comments

Does not work for me too, get this error:
[email protected] requires a peer of graphql@^0.6.1 || ^0.7.0 but none was installed.

and I have this in my package.json
"graphql": "^0.8.2"

Hi, any ETA?

Seems like there's some interest... @stubailo, @helfer ?

@estk I think @nnance was going to cut a release shortly. ๐Ÿ™‚

Trying to work around this but currently unsuccessful. Friendly bump @helfer @nnance. Thanks :)

Should be all good now, folks. Sorry for the delay, there was a misunderstanding about who was going to release the next version ๐Ÿ˜ž

@helfer why do I still have npm WARN [email protected] requires a peer of graphql@^0.6.1 || ^0.7.0 but none was installed. ?
Please also see #291

@NitroBAY,
You are using pretty old apollo-server,
Today, you should install the specific server package you need, for example, if you are using express, then install 'graphql-server-express'
More info is in README.md :)

Okay, I was following this tutorial. It asked to install apollo-server.
BTW if you're in the team who wrote the tutorial please note that export default PostsContainer = 'WHATEVS' surprises me. It doesn't work as we can export default 'WHATEVS' but we cannot export default variableName = 'WHATEVS'. The point of export default is not to name what we export as default is already used as an identifier.
You may want to update this to avoid confusing, I hope you're not going to "deprecate" the tuto as it's very good to start especially that learning Apollo seems not easy when you're compare it to Mongo + Meteor experience.

Anyone help me, when add this comd " yarn add apollo-server-express graphql-tools"

MSs-Mac-mini:twitter-app ms$ yarn add apollo-server-express graphql-tools
yarn add v1.3.2
[1/4] ๐Ÿ” Resolving packages...
[2/4] ๐Ÿšš Fetching packages...
[3/4] ๐Ÿ”— Linking dependencies...
warning "apollo-server-express > [email protected]" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0".
warning "apollo-server-express > apollo-server-core > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0".
warning "apollo-server-express > apollo-server-core > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0".
warning "apollo-server-express > apollo-server-core > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0".
warning "graphql-tools > [email protected]" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3 || ^0.13.0".
warning " > [email protected]" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0".
[4/4] ๐Ÿ“ƒ Building fresh packages...
success Saved 2 new dependencies.
โ”œโ”€ [email protected]
โ””โ”€ [email protected]
โœจ Done in 1.97s.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dupski picture dupski  ยท  3Comments

attdona picture attdona  ยท  3Comments

veeramarni picture veeramarni  ยท  3Comments

manuelfink picture manuelfink  ยท  3Comments

espoal picture espoal  ยท  3Comments