• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

npm i next-redux-wrapper에서 에러가 발생합니다.

21.08.29 12:52 작성 조회수 191

0

npm i next-redux-wrapper 입력시

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: react-nodebird-front@1.0.0

npm ERR! Found: next@9.5.5

npm ERR! node_modules/next

npm ERR!   next@"^9.5.5" from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer next@">=10.0.3" from next-redux-wrapper@7.0.2

npm ERR! node_modules/next-redux-wrapper

npm ERR!   next-redux-wrapper@"*" 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! See C:\Users\정민수\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\정민수\AppData\Local\npm-cache\_logs\2021-08-29T03_51_14_259Z-debug.log

이런 에러가 발생하는데 혹시 문제점이 어떤 것인지, 그리고 해결방법이 어떻게 되는지 알 수 있을까요?

답변 1

답변을 작성해보세요.

1

명령어 뒤에 --force를 붙이거나 @6 버전으로 설치하세요.

지금은 @7 버전으로 설치하시는데 이러면 강좌 내용과 코드가 달라집니다.