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

Getting error in the latest version of nestjs (v10) #115

Open
vahidvdn opened this issue Aug 15, 2023 · 6 comments
Open

Getting error in the latest version of nestjs (v10) #115

vahidvdn opened this issue Aug 15, 2023 · 6 comments

Comments

@vahidvdn
Copy link

I get the following errors:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @ntegral/[email protected]
npm ERR! Found: @nestjs/[email protected]
npm ERR! node_modules/@nestjs/common
npm ERR!   @nestjs/common@"^10.0.0" from the root project
npm ERR!   peer @nestjs/common@"^8.0.0 || ^9.0.0 || ^10.0.0" from @nestjs/[email protected]
npm ERR!   node_modules/@nestjs/config
npm ERR!     @nestjs/config@"^3.0.0" from the root project
npm ERR!   4 more (@nestjs/core, @nestjs/microservices, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @nestjs/common@"^9.0.4" from @ntegral/[email protected]
npm ERR! node_modules/@ntegral/nestjs-sentry
npm ERR!   @ntegral/nestjs-sentry@"^4.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @nestjs/[email protected]
npm ERR! node_modules/@nestjs/common
npm ERR!   peer @nestjs/common@"^9.0.4" from @ntegral/[email protected]
npm ERR!   node_modules/@ntegral/nestjs-sentry
npm ERR!     @ntegral/nestjs-sentry@"^4.0.0" 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.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /Users/vahid/.npm/_logs/2023-08-15T17_10_24_411Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/vahid/.npm/_logs/2023-08-15T17_10_24_411Z-debug-0.log
@JoshiKeval
Copy link

I am having the same issue in the nestjs latest version

@JoshiKeval
Copy link

@vahidvdn did you find any solution for this?

@vahidvdn
Copy link
Author

@JoshiKeval Not yet, there is another library as well, I may use that or implement on my own

@rafaelklaessen
Copy link

@vahidvdn Could you maybe share the link to the new library?

@ntegral You can bump the version of NestJS without code changes.

@vahidvdn
Copy link
Author

@rafaelklaessen Check out this one: https://github.com/mentos1386/nest-raven

@rafaelklaessen
Copy link

@vahidvdn thank you!!

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

Successfully merging a pull request may close this issue.

3 participants