Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Dependency conflict #13

Open
m1212e opened this issue Jul 17, 2023 · 1 comment
Open

Dependency conflict #13

m1212e opened this issue Jul 17, 2023 · 1 comment

Comments

@m1212e
Copy link

m1212e commented Jul 17, 2023

Hi, any plan on resolving this for the newest version, or do I have to downgrade?

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: xyz
npm ERR! Found: [email protected]
npm ERR! node_modules/nestjs-zod
npm ERR!   nestjs-zod@"^2.3.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer nestjs-zod@"^1.1.0" from [email protected]
npm ERR! node_modules/nestjs-zod-prisma
npm ERR!   dev nestjs-zod-prisma@"*" 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.
@Razorbob
Copy link

Got the same, package wants ^1.1.0.

Basically:
X.Y.Z >= 1.1.0 (for example: 1.2.3 would be ok)
But:
X.Y.Z < 2.0.0 (for example 2.3.3 would be not ok)

I will try with --force

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

2 participants