graphql-tools
graphql-tools copied to clipboard
@graphql-tools/schema cannot be downloaded using npm
Issue workflow progress
Progress of the issue based on the Contributor Workflow
- [ ] 1. The issue provides a reproduction available on Github, Stackblitz or CodeSandbox
Make sure to fork this template and run
yarn generatein the terminal.Please make sure the GraphQL Tools package versions under
package.jsonmatches yours. - [ ] 2. A failing test has been provided
- [ ] 3. A local solution has been provided
- [ ] 4. A pull request is pending review
Describe the bug
I get these log errors inside the terminal:
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@"^16.6.0" from the root project
npm ERR! peer graphql@"^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" from @graphql-tools/[email protected]
npm ERR! node_modules/@graphql-tools/schema
npm ERR! @graphql-tools/schema@"*" from the root project
npm ERR! 2 more (@graphql-tools/merge, @graphql-tools/utils)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer graphql@"^14.7.0 || ^15.3.0" from [email protected]
npm ERR! node_modules/express-graphql
npm ERR! express-graphql@"^0.12.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/graphql
npm ERR! peer graphql@"^14.7.0 || ^15.3.0" from [email protected]
npm ERR! node_modules/express-graphql
npm ERR! express-graphql@"^0.12.0" 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.
npm ERR!
npm ERR! See C:\Users\markm\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\markm\AppData\Local\npm-cache\_logs\2022-09-11T06_19_41_977Z-debug-0.log
To Reproduce
Steps to reproduce the behavior:
npm i @graphql-tools/schema
Expected behavior
@graphql-tools/schema to be downloaded
Environment:
- OS: Windows 11
@graphql-tools/...: @graphql-tools/schema- NodeJS: 16.17.0
Additional context
Please create a reproduction on CodeSandbox or StackBlitz.
Closing the issue due to the inactivity. Feel free to create a new one with a reproduction if you still have it. Thanks!