도찐개찐
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree 본문
ERROR
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree
도개진 2024. 10. 18. 14:52$ npm i --save @nestjs/microservices
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: x-app@0.0.1
npm ERR! Found: @nestjs/common@8.4.6
npm ERR! node_modules/@nestjs/common
npm ERR! @nestjs/common@"^8.0.0" from the root project
npm ERR! peer @nestjs/common@"^8.0.0" from @nestjs/microservices@8.4.6
npm ERR! node_modules/@nestjs/microservices
npm ERR! @nestjs/microservices@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @nestjs/common@"^7.0.0" from @nestjs/core@7.6.18
npm ERR! node_modules/@nestjs/core
npm ERR! @nestjs/core@"^7.5.5" 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 install -g @nestjs/cli npm-check-updates
$ nest update --force
$ npm-check-updates "/@nestjs*/" -u
$ npm-check-updates "/nestjs*/" -u
$ npm install
728x90
'ERROR' 카테고리의 다른 글
Failing command: [~~', '-Im', 'ensurepip', '--upgrade', '--default-pip'] (0) | 2024.07.25 |
---|---|
ImportError: cannot import name 'builder' from 'google.protobuf.internal' (0) | 2023.12.18 |
Comments