npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: rest-api-01@0.0.1
npm ERR! Found: graphql@16.3.0
npm ERR! node_modules/graphql
npm ERR! graphql@"^16.3.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer graphql@"^15.5.3" from @apollo/gateway@0.42.3
npm ERR! node_modules/@apollo/gateway
npm ERR! peer @apollo/gateway@"^0.41.0 || ^0.42.0" from @nestjs-query/query-graphql@0.30.0
npm ERR! node_modules/@nestjs-query/query-graphql
npm ERR! @nestjs-query/query-graphql@"*" 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 /Users/vladnicula/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/vladnicula/.npm/_logs/2022-04-15T14_17_42_077Z-debug.log
Describe the bug
npm i @nestjs-query/query-graphql
fails withERESOLVE unable to resolve dependency tree
Have you read the Contributing Guidelines?
No.
To Reproduce Steps to reproduce the behaviour:
npm i @nestjs-query/query-graphql
Expected behaviour Install work fine
Screenshots NA
Desktop (please complete the following information):
Additional context Package.json and the Error are below. I can clean
rm -rf node_modules
andnpm i
and then attempt to add the graphql package.terminal error