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.

Unable to resolve "./createHandler" from "node_modules/react-native-gesture-handler/GestureHandler.js"

See original GitHub issue

Steps to reproduce: 1- run npm install --save react/navigation 2- run react-native link react-native-gesture-handler (tried it with and without this command) 3- run npm install 4- run npm start 5- run on simulator or on phone expo app and you will get this error

Versions I am using: Expo SDK: 32.0.0 react-native: 16.5.0 react-navigation: ^3.3.2 react-native-gesture-handler: 1.0.17 Screen Shot 2019-03-15 at 08 07 06

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
daveolscommented, Mar 20, 2019

@dhmoclex I believe the reason this worked is because you implicitly busted the packager cache.

Restarting the packager after running the below commands worked for me:

rm -rf $TMPDIR/haste-map-*
rm -rf $TMPDIR/metro-cache*
1reaction
bestkanthedcommented, Jun 28, 2019

Had the same issue. Solved it by: npm uninstall react-native-gesture-handler --save npm install react-native-gesture-handler --save

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Unable to resolve module `react-native-gesture-handler`
You need to install react-native-gesture-handler as well separately in the project dependency list and link it too with native as well.
Read more >
react-native-gesture-handler - npm
Experimental implementation of a new declarative API for gesture handling in react-native. Latest version: 2.8.0, last published: 2 months ...
Read more >
unable to resolve module react-native-screens - You.com
well i have solved this by reinstalling / updating these packages. npm install --save react-native-gesture-handler react-native-reanimated react-native-screens.
Read more >
Troubleshooting | React Native Gesture Handler - Open Source
There is a chance someone had this problem in the past and it has been resolved! When sure your problem hasn't been reported...
Read more >
react-native-gesture-handler @ 1.1.0 .. 1.2.0 - Package Diff
createHandler.js. @@ -1,10 +1,11 @@. import React from 'react';. import { findNodeHandle, NativeModules, Touchable } from 'react-native';.
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