커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
3주차 숙제를 하는 중인데 expo go 앱에서 오류가 납니다.
[왕초보] 나만의 수익성 앱, 앱개발 종합반 v5
3주차
북마크
김*민
댓글
20
추천
0
조회수
27
조회수
27
답변 완료

3주차 숙제를 하는 중인데 expo go 앱에서 처음보는 오류가 납니다. MainPage.js와 DetailPage.js, Card.js 모두 코드스니펫을 이용했습니다. 무엇이 문제인지 잘 모르겠습니다.



스파르타 즉문즉답스파르타 즉문즉답





작성한 코드 및 에러 메세지

터미널엔 다음과 같은 오류 메시지가 뜹니다.


ReferenceError: Property 'useState' doesn't exist, js engine: hermes

at node_modules/react-native/Libraries/Core/ExceptionsManager.js:102:17 in reportException

at node_modules/react-native/Libraries/Core/ExceptionsManager.js:148:19 in handleException

at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:39 in handleError

at node_modules/expo/build/errors/ExpoErrorManager.js:25:19 in errorHandler

at node_modules/expo/build/errors/ExpoErrorManager.js:30:24 in <anonymous>

at node_modules/@react-native/polyfills/error-guard.js:49:36 in ErrorUtils.reportFatalError

at node_modules/metro-runtime/src/polyfills/require.js:225:40 in guardedLoadModule

at node_modules/metro-runtime/src/polyfills/require.js:127:23 in metroRequire

at http://192.168.0.7:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:null in global


Invariant Violation: "main" has not been registered. This can happen if:

* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.

* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes

at node_modules/react-native/Libraries/Core/ExceptionsManager.js:102:17 in reportException

at node_modules/react-native/Libraries/Core/ExceptionsManager.js:148:19 in handleException

- ... 7 more stack frames from framework internals




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