apollo-server icon indicating copy to clipboard operation
apollo-server copied to clipboard

graphql peer dependencies issue

Open Orzoon opened this issue 4 years ago • 1 comments

I tried to deploy my express graphql app to aws through codepipeline and elastic beanstalk. in the log i keep on getting the versioning issues with graphql all the time. this is the log screenshot when i first tried to deploy the app. 1

i thought downgrading to version 0.12.0 would resolve most of the issues then, this is what i got in the log after redeploying everything 2

i ran this command for the last time: yarn add [email protected] and this is what i got again 3

it is like if i somehow resolve few peer dependencies by downgrading or upgrading the version, some peer dependencies still cannot be resolved. how do i get around this problem, i even tried updating every packages to their latest version as well. this is how my package.json looks like after getting lost for 2 hrs, 4

any help would be appreciated thanks

Orzoon avatar Jun 19 '20 18:06 Orzoon

@Orzoon the message says: "you must install peer dependencies yourself". Have you tried that?

felipebutcher avatar May 08 '22 19:05 felipebutcher

Our peer dependencies have been upgraded a lot over the last few years. (Also, our docs generally show that you should install graphql alongside Apollo Server.) This should be fixed now?

glasser avatar Oct 21 '22 04:10 glasser