null is not an object ( evaluating 'RNGestureHandlerModule.default.Direction')
See original GitHub issueI’m having this issue in mac os / ios with react-nagivation and react-native-gesture-handler latest release. kindly help!
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:
- Created 3 years ago
- Reactions:5
- Comments:13 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Searching the react-navigation docs, I found this
I opened and built the project in xcode, that fixed this error for me.