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.
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.
Most helpful comment
@estk I think @nnance was going to cut a release shortly. ๐