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

Update peerDependencies to support NestJS 11 #739

Open
mogilevtsevdmitry opened this issue Feb 13, 2025 · 1 comment
Open

Update peerDependencies to support NestJS 11 #739

mogilevtsevdmitry opened this issue Feb 13, 2025 · 1 comment

Comments

@mogilevtsevdmitry
Copy link

Description
Currently, nest-raven specifies "@nestjs/common": "^10.0.0" in its peerDependencies, which causes conflicts when using NestJS 11.

Issue
When installing nest-raven with NestJS 11, npm throws a dependency resolution error:

npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! While resolving: [email protected]
npm ERR! Found: @nestjs/[email protected]
npm ERR! node_modules/@nestjs/common
npm ERR!   @nestjs/common@"^11.0.9" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @nestjs/common@"^10.0.0" from [email protected]
npm ERR! node_modules/nest-raven
npm ERR!   nest-raven@"10.1.0" from the root project

Suggested Fix
Please update the peerDependencies in package.json to support NestJS 11:

"peerDependencies": {
  "@nestjs/common": "^10.0.0 || ^11.0.0",
  "@sentry/node": "*",
  "rxjs": "*"
}

This will allow users to install the package without dependency conflicts while maintaining compatibility with NestJS 10.

Thank you! 🚀

@vahidvdn
Copy link

Any update on this?

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

2 participants