커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
3-3
[왕초보] 나만의 수익성 앱, 앱개발 종합반
3주차
북마크
이*정
댓글
3
추천
1
조회수
23
조회수
23
답변 완료
스파르타 즉문즉답

import MainPage from './pages/MainPage';

이부분이 있긴한데 강의 영상처럼 진하지 않고 흐릿하게 (활성화안된것처럼)나오는데 이것때문에 혹시 에러난건가요~?

엑스포앱에서도 렌더에러로 뜨네요??


Invariant Violation: View config getter callback for component `mainPage` must be a function (received `undefined`). Make sure to start component names with a capital letter.


This error is located at:

  in mainPage (created by App)

  in App (created by ExpoRoot)

  in ExpoRoot

  in RCTView (created by View)

  in View (created by AppContainer)

  in RCTView (created by View)

  in View (created by AppContainer)

  in AppContainer

  in main(RootComponent)

at node_modules\expo\build\environment\react-native-logs.fx.js:null in error

at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in reportException

at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in handleException

at node_modules\react-native\Libraries\Core\setUpErrorHandling.js:null in handleError

at node_modules\expo-error-recovery\build\ErrorRecovery.fx.js:null in ErrorUtils.setGlobalHandler$argument_0

at node_modules\@babel\runtime\helpers\regeneratorRuntime.js:null in tryCatch

at node_modules\@babel\runtime\helpers\regeneratorRuntime.js:null in <anonymous>

at node_modules\@babel\runtime\helpers\regeneratorRuntime.js:null in tryCatch

at node_modules\@babel\runtime\helpers\regeneratorRuntime.js:null in invoke

at node_modules\@babel\runtime\helpers\regeneratorRuntime.js:null in PromiseImpl.resolve.then$argument_0

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
댓글 알림
나의얼굴