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

can not install package #37

Open
haimschindler opened this issue Jan 12, 2022 · 0 comments
Open

can not install package #37

haimschindler opened this issue Jan 12, 2022 · 0 comments

Comments

@haimschindler
Copy link

command:
npm i nestjs-graphql-dataloader --save

output:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @nestjs/[email protected]
npm ERR! Found: @apollo/[email protected]
npm ERR! node_modules/@apollo/federation
npm ERR! @apollo/federation@"^0.25.1" from @apollo/[email protected]
npm ERR! node_modules/@apollo/gateway
npm ERR! peerOptional @apollo/gateway@"^0.29.0 || ^0.32.0 || ^0.33.0 || ^0.35.0 || ^0.38.0 || ^0.42.0" from @nestjs/[email protected]
npm ERR! node_modules/@nestjs/graphql
npm ERR! @nestjs/graphql@"^9.1.2" from the root project
npm ERR! optional @apollo/gateway@"^0.29.0" from @nestjs/[email protected]
npm ERR! node_modules/nestjs-graphql-dataloader/node_modules/@nestjs/graphql
npm ERR! @nestjs/graphql@"^7.1.5" from [email protected]
npm ERR! node_modules/nestjs-graphql-dataloader
npm ERR! nestjs-graphql-dataloader@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @apollo/federation@"^0.26.0 || ^0.27.0 || ^0.29.0 || ^0.33.0" from @nestjs/[email protected]
npm ERR! node_modules/@nestjs/graphql
npm ERR! @nestjs/graphql@"^9.1.2" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @apollo/[email protected]
npm ERR! node_modules/@apollo/federation
npm ERR! peerOptional @apollo/federation@"^0.26.0 || ^0.27.0 || ^0.29.0 || ^0.33.0" from @nestjs/[email protected]
npm ERR! node_modules/@nestjs/graphql
npm ERR! @nestjs/graphql@"^9.1.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.
npm ERR!

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

1 participant