Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- OS
- 네이버 치지직
- 소프트웨어분석및설계
- StateObject
- 애플 디벨로퍼 아카데미
- 치지직
- thread safe
- Apple Developer Academy @ POSTECH
- Swift 문법
- SWIFT
- 네이버 부스트캠프
- 애플 디벨로퍼 아카데미 후기
- 데이터베이스
- ObservableObject
- memoization
- useReducer
- swift문법
- Swift 디자인패턴
- Swift 기능
- 제앱소
- 숭실대
- global soop
- 동시성 프로그래밍
- iOS 개발 오류
- 앱 비교 프로젝트
- ObservedObject
- 애플 디벨로퍼 아카데미 21주차 회고
- 데이터베이스 공부
- 운영체제
- react
Archives
- Today
- Total
사과하는 제라스
ERROR Error: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin? 본문
React Native 공부
ERROR Error: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?
Xerath(제라스) 2022. 6. 30. 10:35목차
728x90
반응형
ERROR Error: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?
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가 떴었다. babel plugin문제라고 느꼈고 검색해본 결과 babel.config.js에 plugins: ['react-native-reanimated/plugin'],가 빠져있던 것이었다.
Solution
//babel.config.js
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: ['react-native-reanimated/plugin'],
};
728x90
반응형