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

Unable to install nestjs-http-promise for nestjs 10.3.6 and reflect-metadata 0.2.2 #24

Open
BrainBust opened this issue Jul 10, 2024 · 0 comments

Comments

@BrainBust
Copy link

Describe the bug

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/reflect-metadata
npm ERR!   reflect-metadata@"^0.2.1" from the root project
npm ERR!   peer reflect-metadata@"^0.1.12 || ^0.2.0" from @nestjs/[email protected]
npm ERR!   node_modules/@nestjs/common
npm ERR!     @nestjs/common@"^10.3.6" from the root project
npm ERR!     peer @nestjs/common@"^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" from [email protected]
npm ERR!     node_modules/nestjs-http-promise
npm ERR!       nestjs-http-promise@"*" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer reflect-metadata@"^0.1.12" from [email protected]
npm ERR! node_modules/nestjs-http-promise
npm ERR!   nestjs-http-promise@"*" 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.

To Reproduce

Steps to reproduce the behavior:

  1. npm i @nestjs/core @nestjs/common rxjs reflect-metadata
  2. npm i nestjs-http-promise

Expected behavior

nestjs-http-promise should install without having to use --legacy-peer-deps

Desktop (please complete the following information):

  • OS: Fedora
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