Skip to content

Expo SDK 52 | “Cannot read property 'version' of undefined” #588

@Froredion

Description

@Froredion

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:

  1. Create a project with Expo SDK 52.
  2. Install:
  3. Try to use DraggableFlatList in your app.
  4. 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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions