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 resolve dependency tree #239

Closed
carzoglioemanuel opened this issue Dec 9, 2022 · 8 comments
Closed

unable to resolve dependency tree #239

carzoglioemanuel opened this issue Dec 9, 2022 · 8 comments

Comments

@carzoglioemanuel
Copy link

Hi guys!
Am having a problem when i trying to install typeorm-seeding. Am using the last version of typeorm.
Am know that if i use "--legacy-peer-deps" will work, but we have not another solution for this? I think that is not the best way to fix it.

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/typeorm
npm ERR!   dev typeorm@"^0.3.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer typeorm@"^0.2.24" from [email protected]
npm ERR! node_modules/typeorm-seeding
npm ERR!   typeorm-seeding@"*" 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.```
@trsh
Copy link

trsh commented Dec 12, 2022

Same here. Looks like project is abandoned.

@jorgebodega
Copy link
Collaborator

Please, check the pinned issue: #201

Your problem is not related to this package. typescript-template needs typeorm@^0.3 but this package is pinned to typeorm@^0.2

@trsh
Copy link

trsh commented Dec 12, 2022

@jorgebodega don't rush with the closing

pm 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/typeorm
npm ERR!   typeorm@"^0.3.10" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer typeorm@"^0.2.24" from [email protected]
npm ERR! node_modules/typeorm-seeding
npm ERR!   typeorm-seeding@"*" 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 C:\Users\janis\AppData\Local\npm-cache\eresolve-report.txt for a full report.

This repo is also on a old typeorm, one can see in pachages.json. Time to upgrade?

Edit:

Ouh, did not check the PIN

@jorgebodega
Copy link
Collaborator

Please, read the issue I attached previously.

@trsh
Copy link

trsh commented Dec 12, 2022

@jorgebodega Hmm, so everything that is solved in https://github.com/jorgebodega/typeorm-seeding will be considered as closed issue here? It doesn't make much sense. People will continue to create same issues. Just peace of my mind. Thanks!

@jorgebodega
Copy link
Collaborator

You can try the other library, maybe it satisfies your requirements, but I will not maintain this library until the original authror comes back.

I don't have permissions to work like in the other repository.

@trsh
Copy link

trsh commented Dec 12, 2022

I am just saying, maybe don't close issues here, just because they are solved in a another fork. And thank you for your work, I will check it out soon.

@jorgebodega
Copy link
Collaborator

The issue is closed because is not gonna be fixed. There is an issue fixed with explanations, so I will not discuss about this again.

@w3tecch w3tecch locked as too heated and limited conversation to collaborators Dec 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants