
코드스니펫을 이용하여 붙여넣기를 하여 실행해 보았으나 밑과 같은 에러가 뜨며 실행이 안됩니다.
혹시 몰라 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.
