Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Install on Node 16 NPM 8 #246

Open
1 of 4 tasks
ais-one opened this issue Oct 29, 2021 · 1 comment
Open
1 of 4 tasks

Cannot Install on Node 16 NPM 8 #246

ais-one opened this issue Oct 29, 2021 · 1 comment

Comments

@ais-one
Copy link

ais-one commented Oct 29, 2021

  • has-reproduction
  • feature
  • blocking
  • good first issue

Reproduce using these commands

npm ini -y
npm install graphql
npm install graphql-ws
npm install graphql-subscriptions

The last command has these errors

PS C:\Users\aaron\test\xxx> npm i graphql-subscriptions
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/graphql
npm ERR!   graphql@"^16.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer graphql@"^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from [email protected]
npm ERR! node_modules/graphql-subscriptions
npm ERR!   graphql-subscriptions@"*" 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.
@bneigher
Copy link

bneigher commented May 9, 2022

suggestion: change title to "Need to upgrade peerDependency of graphql to include 16"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants