커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
4주차 12강의중 vs코드 오류입니다.
앱개발 종합반 - 리액트 네이티브 v7
4주차
북마크
안*훈
댓글
3
추천
0
조회수
16
조회수
16
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


12강을 들으면서 DetailPage.js 코드를 복사후 붙혀넣기를 했습니다.

핸드폰에서 팁 찜하기를 누르면 터미널에서 아래와 같은 오류가 나옵니다.



스파르타 즉문즉답




Object {

 "key": "DetailPage-FVHO6TK35862u8QvMsfjr",

 "name": "DetailPage",

 "params": Object {

  "idx": 0,

 },

 "path": undefined,

}

A0BD2808-990F-4152-8666-94ACEB5DCDB1


[Unhandled promise rejection: ReferenceError: Can't find variable: user_id]

at node_modules\@babel\runtime\helpers\asyncToGenerator.js:null in asyncGeneratorStep

at node_modules\@babel\runtime\helpers\asyncToGenerator.js:null in _next

at node_modules\promise\setimmediate\core.js:null in tryCallOne

at node_modules\promise\setimmediate\core.js:null in setImmediate$argument_0

at node_modules\react-native\Libraries\Core\Timers\JSTimers.js:null in _allocateCallback$argument_0   

at node_modules\react-native\Libraries\Core\Timers\JSTimers.js:null in _callTimer

at node_modules\react-native\Libraries\Core\Timers\JSTimers.js:null in _callReactNativeMicrotasksPass  

at node_modules\react-native\Libraries\Core\Timers\JSTimers.js:null in callReactNativeMicrotasks    

at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __callReactNativeMicrotasks

at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __guard$argument_0     

at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __guard

at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in flushedQueue


취소
 공유
취소
댓글 0
댓글 알림
나의얼굴