inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

배달앱 클론코딩 [with React Native]

리덕스 연결하기

리덕스 설정 단계 - redux, flipper 설치 오류

800

qdial214

작성한 질문수 5

0

* 리덕스 연결하기 3:14
리덕스 설정을 위해 다음과 같은 명령어를 터미널에 입력하여 설치를 진행하면 아래 사진과 같은 에러가 뜨면서 설치가 진행되지 않습니다. 혹시 어떻게 해결해야 하는지 알려주실 수 있나요? 버전 문제 같은데 구글링해보아도 해결 방법이 나오지 않아 질문 남깁니다. 감사합니다.

npm i @reduxjs/toolkit react-redux redux-flipper

*사진이 깨져서 에러 내용이 안 보일까봐 텍스트로도 추가합니다.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: FoodDeliveryApp@0.0.1
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR!   react@"18.0.0" from the root project
npm ERR!   peer react@"18.0.0" from react-native@0.69.1
npm ERR!   node_modules/react-native
npm ERR!     react-native@"0.69.1" from the root project
npm ERR!     peer react-native@">=0.63.0" from redux-flipper@2.0.2
npm ERR!     node_modules/redux-flipper
npm ERR!       redux-flipper@"*" from the root project
npm ERR!     1 more (react-native-flipper)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from react-native-flipper@0.153.0      
npm ERR! node_modules/react-native-flipper
npm ERR!   peer react-native-flipper@">=0.100.0" from redux-flipper@2.0.2       
npm ERR!   node_modules/redux-flipper
npm ERR!     redux-flipper@"*" 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\USER\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\USER\AppData\Local\npm-cache\_logs\2022-07-11T11_42_09_665Z-debug-0.log

 

 

react-native

답변 1

1

제로초(조현영)

명령어 뒤에 --force를 붙여서 설치하세요.

0

qdial214

빠른 답변 감사드립니다!

앱실행시 네이버맵 [401] 에러

0

1064

2

스타일링 라이브러리

0

160

2

expo, cli 선택 중에 고민이 있습니다.

0

180

2

JDK 버전이 달라도 괜찮나요?

0

240

2

dimenstion usewindowdeminstion

0

130

3

[맥 전용]환경 설정하기 1편 & [맥 전용]환경 설정하기 2편의 영상이 안나옵니다.

0

218

1

jdk11 버전과 gradle 버전의 호환성 관련 질문드립니다.

0

407

2

강의 외 질문입니다!

0

164

2

react native랑 맞는 ui 라이브러리 어떤게 좋을까요?

0

1554

2

react native와 spring boot 연결

0

365

1

java가 아닌 .kt에서 code push 에러가 발생합니다.

0

222

2

flipper 239 에러가 발생합니다.

0

173

2

package.json에 /lib/panino.js 문제입니다.

0

480

2

window - mac 협업 과정 질문합니다

0

221

1

ios 빌드 중 RCTBridgeDelegate.h import 오류

0

294

2

ios 앱 빌드 중 hermesEnabled 관련 오류발생

0

249

2

Socket 연결시 질문 드립니다.!

0

157

2

wifi 환경에서 axios 통신이 로컬서버에서 안됩니다.

0

430

2

iOS render error 질문드립니다.

0

417

2

iOS 가상머신 오류

0

173

2

npc react init 명령어 실행시 발생되는 오류

0

224

1

nom start 시 오류

0

122

1

NextJS 기반으로 만들어서 웹뷰 React Native로 배포 가능한가요?

0

1019

2

안드로이드 rn75 버전에 맞게 설정 중에 android13 다운로드에 대해서 막혔습니다!

0

187

2