anatine / zod-plugins

Plugins and utilities for Zod
640 stars 89 forks source link

Dependency version issue #140

Closed apudiu closed 1 year ago

apudiu commented 1 year ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: nest-course-2@0.0.1
npm ERR! Found: @nestjs/common@10.0.5
npm ERR! node_modules/@nestjs/common
npm ERR!   @nestjs/common@"^10.0.1" from the root project
npm ERR!   peer @nestjs/common@"^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" from @anatine/zod-nestjs@2.0.1
npm ERR!   node_modules/@anatine/zod-nestjs
npm ERR!     @anatine/zod-nestjs@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @nestjs/common@"^9.0.0" from @nestjs/swagger@6.3.0
npm ERR! node_modules/@nestjs/swagger
npm ERR!   peer @nestjs/swagger@"^6.0.0" from @anatine/zod-nestjs@2.0.1
npm ERR!   node_modules/@anatine/zod-nestjs
npm ERR!     @anatine/zod-nestjs@"*" 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.