risen228 / nestjs-zod-prisma

Zod Prisma fork for nestjs-zod
MIT License
62 stars 11 forks source link

Dependency conflict #13

Open m1212e opened 1 year ago

m1212e commented 1 year ago

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: nestjs-zod@2.3.3
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 nestjs-zod-prisma@3.0.1
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 commented 1 year ago

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