커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
코드스니펫을 복붙 했는데 TypeError: _app.default.database is not a function.가 떴습니다
[왕초보] 나만의 수익성 앱, 앱개발 종합반 v5
4주차
북마크
한*호
댓글
7
추천
0
조회수
23
조회수
23
답변 완료



코드스니펫을 이용하여 붙여넣기를 하여 실행해 보았으나 밑과 같은 에러가 뜨며 실행이 안됩니다.

혹시 몰라 yarn remove firebase,yarn add @fairebase9.6.11 코드를 이용 해보았으나 같은 이유로 실행이 전혀 안됩니다

_app.default.function을 ctrl+f를 이용하여 찾아볼라 했지만 실패했습니다.






작성한 코드 및 에러 메세지

 ERROR  TypeError: _app.default.database is not a function. (In '_app.default.database()', '_app.default.database' is undefined)
 ERROR  Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.
        A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
 ERROR  Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.
        A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.



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