Upgrade to GraphQL.js v16 #352
Racinggavin
started this conversation in
General
Replies: 1 comment
-
I found resolution from the package.json by modify the following "graphql": "^16.6.0", |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
I have a apollo-server-hapi project want to migrate to Apollo Server V4.
When I follow package @as-integrations/hapi but get the npm install ERR! as the following
% npm install @as-integrations/hapi @apollo/server graphql @hapi/hapi npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/graphql npm ERR! graphql@"*" from the root project npm ERR! peer graphql@"^16.6.0" from @apollo/[email protected] npm ERR! node_modules/@apollo/server npm ERR! @apollo/server@"*" from the root project npm ERR! peer @apollo/server@"^4.0.0" from @as-integrations/[email protected] npm ERR! node_modules/@as-integrations/hapi npm ERR! @as-integrations/hapi@"*" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! dev typegraphql-prisma@"0.23.2" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/graphql npm ERR! peer graphql@"^15.3.0" from [email protected] npm ERR! node_modules/type-graphql npm ERR! peer type-graphql@"^1.1.1 || 2.0.0-beta.1" from [email protected] npm ERR! node_modules/typegraphql-prisma npm ERR! dev typegraphql-prisma@"0.23.2" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Describe the solution you'd like
To apply graphql@^16.6.0
Beta Was this translation helpful? Give feedback.
All reactions