nestjs-zod-prisma icon indicating copy to clipboard operation
nestjs-zod-prisma copied to clipboard

Dependency conflict

Open m1212e opened this issue 2 years ago • 1 comments

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.

m1212e avatar Jul 17 '23 16:07 m1212e

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

Razorbob avatar Aug 15 '23 17:08 Razorbob