-
-
Notifications
You must be signed in to change notification settings - Fork 439
Open
Description
Describe the bug
Using Expo SDK 52 with React Native 0.76.9, I encounter the error:
TypeError: Cannot read property 'version' of undefined
This happens even after ensuring compatible versions of react-native-reanimated and other libraries.
To Reproduce
Steps to reproduce:
- Create a project with Expo SDK 52.
- Install:
react-native-reanimated@~3.16.7
react-native-gesture-handler@~2.14.2
[email protected]
- Try to use
DraggableFlatList
in your app. - Launch app (
expo start
, or EAS build).
Correct babel config json too, the app is working after I stopped using react-native-draggable-flatlist
Error occurs immediately!!
Platform & Dependencies
- Platform: Android and iOS (tested both in dev build)
- Expo SDK Version: 52
- React Native Version: 0.76.9
- Reanimated Version: 3.16.7
- React Native Gesture Handler Version: 2.14.2
- react-native-draggable-flatlist Version: 4.0.2
Additional context
- Resetting Metro bundler cache (
expo start -c
) did not solve the problem. - Issue seems related to version mismatches between reanimated and draggable-flatlist.
- Possibly caused by outdated or incompatible Reanimated Babel plugins bundled with draggable-flatlist.
- Other projects without draggable-flatlist do not encounter this error.
Metadata
Metadata
Assignees
Labels
No labels