question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

null is not an object ( evaluating 'RNGestureHandlerModule.default.Direction')

See original GitHub issue

I’m having this issue in mac os / ios with react-nagivation and react-native-gesture-handler latest release. kindly help!

image

My package.json config:

{
  "name": "appfinance",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "@react-native-community/masked-view": "^0.1.7",
    "@react-navigation/native": "^5.1.4",
    "@react-navigation/stack": "^5.2.9",
    "react": "16.8.3",
    "react-native": "0.59.9",
    "react-native-gesture-handler": "^1.6.1",
    "react-native-reanimated": "^1.7.1",
    "react-native-safe-area-context": "^0.7.3",
    "react-native-screens": "^2.4.0",
    "react-navigation": "^4.3.6"
  },
  "devDependencies": {
    "@babel/core": "^7.9.0",
    "@babel/runtime": "^7.9.2",
    "babel-jest": "^25.2.3",
    "jest": "^25.2.3",
    "metro-react-native-babel-preset": "^0.59.0",
    "react-test-renderer": "16.8.3"
  },
  "jest": {
    "preset": "react-native"
  }
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
amazingmarvincommented, Apr 4, 2020

Searching the react-navigation docs, I found this

2reactions
ilkka-escommented, Apr 24, 2020

I opened and built the project in xcode, that fixed this error for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

null is not an object ( evaluating 'RNGestureHandlerModule ...
Go to node_modules > react-native-gesture-handler > GestureHandler.js. In there, comment this line: export { default as Directions } from './ ...
Read more >
null is not an object (evaluating 'rngesturehandlermodule ...
null is not an object (evaluating 'rngesturehandlermodule.direction'). I tried to delete the project and reface it, delete and reinstall the ...
Read more >
Troubleshooting - React Navigation
I'm getting an error "null is not an object (evaluating 'RNGestureHandlerModule.default.Direction')"​. This and some similar errors might occur if you ...
Read more >
Null is not an object (evaluating '_RNGestureHandlerModule...
When developing a React Native project on my Mac, I fall into a problem when running npm run ios. My project is using...
Read more >
null is not an object (evaluating '_RNGestureHandlerModule ...
[Solved]-null is not an object (evaluating '_RNGestureHandlerModule.default.Direction')-Reactjs · Right Click Libraries "Add Files to Project" · /node_modules/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found