software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
8.6k stars 1.26k forks source link

TypeError: null is not an object (evaluating '_ReanimatedModule.default.createNode') #6100

Open randurd opened 3 weeks ago

randurd commented 3 weeks ago

Description

Hello, I'm having an issue with react-native-reanimated I'm using it for @gorhom/bottom-sheet but I'm getting this error when running the app on Android. However, it works fine on iOS.

Steps I tried:

Libraries: ( these versions work fine on iOS )

Errors:

image

Steps to reproduce

N/A

Snack or a link to a repository

N.A

Reanimated version

2.17.0

React Native version

0.64.0

Platforms

Android, iOS

JavaScript runtime

None

Workflow

React Native

Architecture

None

Build type

None

Device

Android emulator

Device model

No response

Acknowledgements

Yes

github-actions[bot] commented 3 weeks ago

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

szydlovsky commented 4 days ago

@randurd you are running some super old versions of reanimated, gesture-handler and react-native, while using a pretty fresh bottom-sheets version. I'd suggest checking npm pages of these packages and bumping them up.

szydlovsky commented 4 days ago

Also, in terms of clearing cache, make sure you run git clean -xdf (it's a true full clear) and then install all the dependencies yet again.