Skip to content

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

@vahidvdn

Description

@vahidvdn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions