[RN] TypeError: null is not an object(evaluating '_ReanimatedModule.default.createNode')
Drawer Navigation을 사용하기 위해서 React Navigation document를 참고하여 필요한 package와 dependencies을 설치하였다. 설치한 항목은 아래와 같다.
- react-navigation/drawer
- react-native-gesture-handler
- react-native-reanimated
- react-native-safe-area-context
- react-native-screens
설치 완료후, 프로젝트를 실행시키니 다음과 같은 에러가 발생하였다.
Error
Error name : TypeError: null is not an object(evaluating '_ReanimatedModule.default.createNode')
ERROR TypeError: null is not an object (evaluating '_ReanimatedModule.default.createNode')
ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). 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: Module AppRegistry is not a registered callable module (calling runApplication). 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.
Solution
설치된 "react-native-gesture-handler", "react-native-reanimated"의 버전을 아래와 같이 변경하니 재대로 동작하였다.
"react-native-gesture-handler": "^1.10.3"
"react-native-reanimated": "^1.13.2"
Author And Source
이 문제에 관하여([RN] TypeError: null is not an object(evaluating '_ReanimatedModule.default.createNode')), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@hooray/RN-TypeError-null-is-not-an-objectevaluating-ReanimatedModule.default.createNode저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)