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
- global soop
- useReducer
- Swift 디자인패턴
- 동시성 프로그래밍
- iOS 개발 오류
- OS
- Swift 기능
- 소프트웨어분석및설계
- 제앱소
- 앱 비교 프로젝트
- 애플 디벨로퍼 아카데미
- swift문법
- 애플 디벨로퍼 아카데미 후기
- 숭실대
- ObservedObject
- 치지직
- StateObject
- ObservableObject
- memoization
- Swift 문법
- 네이버 치지직
- thread safe
- 네이버 부스트캠프
- Apple Developer Academy @ POSTECH
- 데이터베이스
- 애플 디벨로퍼 아카데미 21주차 회고
- 운영체제
- react
- 데이터베이스 공부
- SWIFT
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
반응형