inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

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

react-native-config 문제 해결하기

회원가입시 아이폰 에러 ..

513

top gwa

작성한 질문수 27

0

강의대로 그리들에 셋팅다하고 핫스팟쓰고있어서 env에 네트워크에서 할당받은 ip 적용시켜서 안드로이드는 회원가입도했고, 가입한 아이디면 오류가 뜨는데

ios 에서 회원가입한 아이디로 로그인하려니 이렇게 출력되더라구요 ...

LOG Running "FoodDeliveryApp" with {"rootTag":21,"initialProps":{}}

ERROR

WARN Possible Unhandled Promise Rejection (id: 0):

TypeError: undefined is not an object (evaluating 'errorResponse.data.message')

@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:132715:60

generatorResume@[native code]

asyncGeneratorStep@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:24430:26

_throw@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:24456:29

tryCallOne@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:28646:16

@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:28747:27

@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:29911:26

_callTimer@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:29811:17

_callReactNativeMicrotasksPass@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:29846:17

callReactNativeMicrotasks@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:30054:44

__callReactNativeMicrotasks@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:3033:46

@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:2811:45

__guard@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:3016:15

flushedQueue@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.FoodDeliveryApp:2810:21

flushedQueue@[native code]

callFunctionReturnFlushedQueue@[native code]

react-native

답변 5

0

top gwa

걍 버전내렷습니다 ............

0

제로초(조현영)

뭐의 버전을 내리신건가요? 버전 내리니 해결이 되나요?

0

top gwa

네 react native 버전 내렷습니당... 강의버전이랑같게;

0

제로초(조현영)

use_react_native 위에 적고 pod install 하세요

0

top gwa

0

top gwa

교안보긴했는데 텍스트만있어서 podfild 정확히 어디추가해야하는지 몰라서 시간이 지체되고있습니다 ..

해당 내용 구글검색해도 똑같이 podfile안에 넣으라고만 있어서 어디에 추가해야하는지 알수가없네여..

추가할떄마다 메트로서버 껏다가

cd ios pod install하고 다시서버켜서 테스트하고잇습니다

현재 이렇게 3곳 코드넣어서 적용해봣는데 전부 언디파인드 게속뜨고있습니다.. 어디 추가해야하는지 스샷으로 알려주실수있을까요 ? 챕터2 git 폴더도들어가봤는데 적용이안되있어서 ..;;

0

top gwa

백엔드 연결된 로그 아예 출력되지않습니다...

http 상태코드 아예 출력안됩니당.

1

제로초(조현영)

API_URL이 undefined이네요. 강의교안에 ios에서 undefined뜰 때 방법이 나와있습니다.

0

제로초(조현영)

로그인 코드랑 백엔드서버 켜둔 터미널에 에러메시지 있나 보여주세요.

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

0

989

2

스타일링 라이브러리

0

147

2

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

0

167

2

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

0

223

2

dimenstion usewindowdeminstion

0

121

3

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

0

210

1

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

0

399

2

강의 외 질문입니다!

0

157

2

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

0

1500

2

react native와 spring boot 연결

0

356

1

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

0

214

2

flipper 239 에러가 발생합니다.

0

165

2

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

0

470

2

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

0

215

1

ios 빌드 중 RCTBridgeDelegate.h import 오류

0

289

2

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

0

239

2

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

0

152

2

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

0

426

2

iOS render error 질문드립니다.

0

410

2

iOS 가상머신 오류

0

165

2

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

0

220

1

nom start 시 오류

0

116

1

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

0

1002

2

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

0

184

2