I am creating a login system with react-native, after downloading the "react-native-gesture-handler" dependencies: "^ 1.1.0"
and "react-navigation": "^ 3.5.1"
began to appear the following message error:
null is not an object (evaluating 'rngesturehandlermodule.direction')
I tried to delete the project and reface it, delete and reinstall the node_modules folder and reinstall the dependencies, but nothing worked.
cd
into the ios
subdirectory of your project and run pod install
.
I had the same issue. I then installed react-navigation
& react-native-gesture-handler
step by step as follows:
Steps :
Remove node_modules
and package-lock.json
npm install
npm install --save react-navigation
npm install --save react-native-gesture-handler
react-native link
You can find the original answer here
metro bundler
with Ctrl+C
from terminal.npx react-native start
npx react-native run-android
Building process maybe take a few minutes.
I was facing this on Android.
All I did is:
solved my issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With