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

Conflicting peer dependency: @nestjs/[email protected] from @nest-zod/[email protected] #123

Closed
hopkins385 opened this issue Nov 18, 2024 · 2 comments

Comments

@hopkins385
Copy link

Hi, even though the peer dependency has been updated #114 , I guess the @nest-zod/z does also need an update.

package.json

"nestjs-zod": "^4.2.0",
"@nestjs/swagger": "^8.0.7",

Warn:

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @nest-zod/[email protected]
npm warn Found: @nestjs/[email protected]
npm warn node_modules/@nestjs/swagger
npm warn   @nestjs/swagger@"^8.0.7" from the root project
npm warn   1 more (nestjs-zod)
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional @nestjs/swagger@"^7.4.2" from @nest-zod/[email protected]
npm warn node_modules/nestjs-zod/node_modules/@nest-zod/z
npm warn   @nest-zod/z@"*" from [email protected]
npm warn   node_modules/nestjs-zod
npm warn
npm warn Conflicting peer dependency: @nestjs/[email protected]
npm warn node_modules/@nestjs/swagger
npm warn   peerOptional @nestjs/swagger@"^7.4.2" from @nest-zod/[email protected]
npm warn   node_modules/nestjs-zod/node_modules/@nest-zod/z
npm warn     @nest-zod/z@"*" from [email protected]
npm warn     node_modules/nestjs-zod
@elirankon
Copy link

👍

@BenLorantfy
Copy link
Owner

This was probably fixed by #134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants