티스토리 뷰

Error 내용
기존에 설치한 의존성과 관련하여 설치하려는 패키지와의 충돌 때문에 발생하는 이슈이다.
해결 방법
위 이미지에도 나와있는 방법으로 해결할 수 있었다.
문제 해결도 해결이지만 두 가지 명령어가 각각 어떤 동작을 하는지 잘 모르니 정리가 필요했다.
Fix the upstream dependency confilct, or retry this commend with --force, or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
번역) 업스트림 종속성 충돌을 수정하거나 --force 또는 --legacy-peer-deps를 사용하여 이 권장 사항을 다시 시도하여 잘못된 종속성 확인을 수락합니다.
--force로 하는 경우 : 충돌을 우회하여 몇 가지 추가적인 의존 버전을 더 설치한다.
--legacy-peer-deps를 입력하는 경우: 충돌을 무시하고 일단 설치한다.
## Reference
Unable to resolve dependency tree error when installing npm packages
When trying to install the npm packages using npm i command, I am getting the following exception: I have tried reinstalling the Node.js package and setting the proxy to off using: set HTTP_PROXY=...
stackoverflow.com
[오류해결] npm install 설치시 npm ERR! code ERESOLVE
npm install react-paypal-express-checkout --save npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree paypal 이용하려고 설치하려고 하자 위와 같이 오류가 났다. 해결방법 npm i..
iancoding.tistory.com
'Errors' 카테고리의 다른 글
| Vercel 배포 / Module not found: Error: Can't resolve './Toggle' in '/vercel/path0/src/components/Toggle' (0) | 2022.07.14 |
|---|---|
| [ISSUES] Vuex State가 Component에 반영되지 않는 현상 (0) | 2022.05.27 |
| [Error] non-serializable value was detected in an action... (0) | 2022.05.14 |
| [ISSUES] Cannot assign to read only property '0' of object '[object Array]' (0) | 2022.04.12 |
| [ISSUES] 이벤트 중첩 발생현상 (0) | 2022.04.01 |
- Total
- Today
- Yesterday
- redux-thunk
- webpack
- AxiosInterceptor
- Preloading
- 백준
- bundler
- 알고리즘
- GraphQL
- v-for
- Vue.js
- React
- redux
- 문제풀이
- React.memo
- error
- TypeScript
- 프로그래머스
- reactrouter
- clean code
- 파이썬
- SOAP API
- SPA
- Repository Pattern
- js
- Vue
- programmers
- python
- 상호평가
- Transpiler
- Vuex
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
