-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Dependency conflict with reflect-metadata when install with NestJS #606
Comments
Same bug here... |
Any idea when approval on the PR will come in? |
in the meantime you can use |
same issue |
1 similar comment
same issue |
Weird, there is a PR for this and it looks like the last update on this repo was 10 months ago. |
same issue here |
Same issue is continue npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/reflect-metadata
npm error reflect-metadata@"^0.2.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer reflect-metadata@"~0.1.13" from @automapper/[email protected]
npm error node_modules/@automapper/classes
npm error @automapper/classes@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/hxrun/.npm/_logs/2025-01-19T12_25_48_696Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/hxrun/.npm/_logs/2025-01-19T12_25_48_696Z-debug-0.log |
Is there an existing issue for this?
Describe the issue
I have installed NestJs and have reflect-metadata in my dependencies:
"reflect-metadata": "^0.2.0"
I try to install automapper libs:
npm i --save @automapper/core @automapper/nestjs @automapper/classes reflect-metadata
and get a error:
I found that @automapper/classes has fixed version of reflect-metadata 0.1.13 ans it's conflicted with new versions like 0.2.0.
Can automapper/classes be updated to the latest version of reflect-metadata, or maybe there is some other way to fix a problem?
Models/DTOs/VMs
No response
Mapping configuration
No response
Steps to reproduce
npm i --save @automapper/core @automapper/nestjs @automapper/classes
Expected behavior
Expect to automapper can be installed with the latest reflect-metadata lib
Screenshots
No response
Minimum reproduction code
No response
Package
@automapper/core
@automapper/classes
@automapper/nestjs
@automapper/pojos
@automapper/mikro
@automapper/sequelize
Other package and its version
No response
AutoMapper version
8.0.0
Additional context
Linux
node v16.20.1
The text was updated successfully, but these errors were encountered: