nestjs-graphql-dataloader icon indicating copy to clipboard operation
nestjs-graphql-dataloader copied to clipboard

can not install package

Open haimschindler opened this issue 3 years ago • 0 comments

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!

haimschindler avatar Jan 12 '22 08:01 haimschindler