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.

Multiple error with the index for gesture

See original GitHub issue

Description

was coding and receive this huge error in the console. all file are in JS and

`Web Bundling complete 4330ms ./node_modules/react-native-gesture-handler/lib/module/index.js:73 "export ‘RaceGestureType’ (reexported as ‘RaceGesture’) was not found in ‘./handlers/gestures/gestureComposition’ 71 | export { NativeGestureType as NativeGesture } from ‘./handlers/gestures/nativeGesture’; 72 | export { ManualGestureType as ManualGesture } from ‘./handlers/gestures/manualGesture’;

73 | export { 74 | ComposedGestureType as ComposedGesture, 75 | RaceGestureType as RaceGesture, 76 | SimultaneousGestureType as SimultaneousGesture, Web Bundling complete 413ms ./node_modules/react-native-gesture-handler/lib/module/index.js:73 "export ‘ComposedGestureType’ (reexported as ‘ComposedGesture’) was not found in ‘./handlers/gestures/gestureComposition’ 71 | export { NativeGestureType as NativeGesture } from ‘./handlers/gestures/nativeGesture’; 72 | export { ManualGestureType as ManualGesture } from ‘./handlers/gestures/manualGesture’; 73 | export { 74 | ComposedGestureType as ComposedGesture, 75 | RaceGestureType as RaceGesture, 76 | SimultaneousGestureType as SimultaneousGesture, ./node_modules/react-native-gesture-handler/lib/module/index.js:73 "export ‘ExclusiveGestureType’ (reexported as ‘ExclusiveGesture’) was not found in ‘./handlers/gestures/gestureComposition’ 71 | export { NativeGestureType as NativeGesture } from ‘./handlers/gestures/nativeGesture’; 72 | export { ManualGestureType as ManualGesture } from ‘./handlers/gestures/manualGesture’; 73 | export { 74 | ComposedGestureType as ComposedGesture, 75 | RaceGestureType as RaceGesture, 76 | SimultaneousGestureType as SimultaneousGesture, ./node_modules/react-native-gesture-handler/lib/module/index.js:66 "export ‘FlingGestureType’ (reexported as ‘FlingGesture’) was not found in ‘./handlers/gestures/flingGesture’ 64 | export { TapGestureType as TapGesture } from ‘./handlers/gestures/tapGesture’; 65 | export { PanGestureType as PanGesture } from ‘./handlers/gestures/panGesture’; 66 | export { FlingGestureType as FlingGesture } from ‘./handlers/gestures/flingGesture’; 67 | export { LongPressGestureType as LongPressGesture } from ‘./handlers/gestures/longPressGesture’; 68 | export { PinchGestureType as PinchGesture } from ‘./handlers/gestures/pinchGesture’; 69 | export { RotationGestureType as RotationGesture } from ‘./handlers/gestures/rotationGesture’; ./node_modules/react-native-gesture-handler/lib/module/index.js:70 "export ‘ForceTouchGestureType’ (reexported as ‘ForceTouchGesture’) was not found in ‘./handlers/gestures/forceTouchGesture’ 68 | export { PinchGestureType as PinchGesture } from ‘./handlers/gestures/pinchGesture’; 69 | export { RotationGestureType as RotationGesture } from ‘./handlers/gestures/rotationGesture’; 70 | export { ForceTouchGestureType as ForceTouchGesture } from ‘./handlers/gestures/forceTouchGesture’; 71 | export { NativeGestureType as NativeGesture } from ‘./handlers/gestures/nativeGesture’; 72 | export { ManualGestureType as ManualGesture } from ‘./handlers/gestures/manualGesture’; 73 | export { ./node_modules/react-native-gesture-handler/lib/module/index.js:79 "export ‘GestureStateManagerType’ (reexported as ‘GestureStateManager’) was not found in ‘./handlers/gestures/gestureStateManager’ 77 | ExclusiveGestureType as ExclusiveGesture, 78 | } from ‘./handlers/gestures/gestureComposition’; 79 | export { GestureStateManagerType as GestureStateManager } from ‘./handlers/gestures/gestureStateManager’; 80 | export { NativeViewGestureHandler } from ‘./handlers/NativeViewGestureHandler’; 81 | export type { 82 | RawButtonProps, ./node_modules/react-native-gesture-handler/lib/module/index.js:67 "export ‘LongPressGestureType’ (reexported as ‘LongPressGesture’) was not found in ‘./handlers/gestures/longPressGesture’ 65 | export { PanGestureType as PanGesture } from ‘./handlers/gestures/panGesture’; 66 | export { FlingGestureType as FlingGesture } from ‘./handlers/gestures/flingGesture’; 67 | export { LongPressGestureType as LongPressGesture } from ‘./handlers/gestures/longPressGesture’; 68 | export { PinchGestureType as PinchGesture } from ‘./handlers/gestures/pinchGesture’; 69 | export { RotationGestureType as RotationGesture } from ‘./handlers/gestures/rotationGesture’; 70 | export { ForceTouchGestureType as ForceTouchGesture } from ‘./handlers/gestures/forceTouchGesture’; ./node_modules/react-native-gesture-handler/lib/module/index.js:72 "export ‘ManualGestureType’ (reexported as ‘ManualGesture’) was not found in ‘./handlers/gestures/manualGesture’ 70 | export { ForceTouchGestureType as ForceTouchGesture } from ‘./handlers/gestures/forceTouchGesture’; 71 | export { NativeGestureType as NativeGesture } from ‘./handlers/gestures/nativeGesture’; 72 | export { ManualGestureType as ManualGesture } from ‘./handlers/gestures/manualGesture’; 73 | export { 74 | ComposedGestureType as ComposedGesture, 75 | RaceGestureType as RaceGesture, ./node_modules/react-native-gesture-handler/lib/module/index.js:71 "export ‘NativeGestureType’ (reexported as ‘NativeGesture’) was not found in ‘./handlers/gestures/nativeGesture’ 69 | export { RotationGestureType as RotationGesture } from ‘./handlers/gestures/rotationGesture’; 70 | export { ForceTouchGestureType as ForceTouchGesture } from ‘./handlers/gestures/forceTouchGesture’; 71 | export { NativeGestureType as NativeGesture } from ‘./handlers/gestures/nativeGesture’; 72 | export { ManualGestureType as ManualGesture } from ‘./handlers/gestures/manualGesture’; 73 | export { 74 | ComposedGestureType as ComposedGesture, ./node_modules/react-native-gesture-handler/lib/module/index.js:65 "export ‘PanGestureType’ (reexported as ‘PanGesture’) was not found in ‘./handlers/gestures/panGesture’ 63 | export { GestureObjects as Gesture } from ‘./handlers/gestures/gestureObjects’; 64 | export { TapGestureType as TapGesture } from ‘./handlers/gestures/tapGesture’; 65 | export { PanGestureType as PanGesture } from ‘./handlers/gestures/panGesture’; 66 | export { FlingGestureType as FlingGesture } from ‘./handlers/gestures/flingGesture’; 67 | export { LongPressGestureType as LongPressGesture } from ‘./handlers/gestures/longPressGesture’; 68 | export { PinchGestureType as PinchGesture } from ‘./handlers/gestures/pinchGesture’; ./node_modules/react-native-gesture-handler/lib/module/index.js:68 "export ‘PinchGestureType’ (reexported as ‘PinchGesture’) was not found in ‘./handlers/gestures/pinchGesture’ 66 | export { FlingGestureType as FlingGesture } from ‘./handlers/gestures/flingGesture’; 67 | export { LongPressGestureType as LongPressGesture } from ‘./handlers/gestures/longPressGesture’; 68 | export { PinchGestureType as PinchGesture } from ‘./handlers/gestures/pinchGesture’; 69 | export { RotationGestureType as RotationGesture } from ‘./handlers/gestures/rotationGesture’; 70 | export { ForceTouchGestureType as ForceTouchGesture } from ‘./handlers/gestures/forceTouchGesture’; 71 | export { NativeGestureType as NativeGesture } from ‘./handlers/gestures/nativeGesture’; ./node_modules/react-native-gesture-handler/lib/module/index.js:73 "export ‘RaceGestureType’ (reexported as ‘RaceGesture’) was not found in ‘./handlers/gestures/gestureComposition’ 71 | export { NativeGestureType as NativeGesture } from ‘./handlers/gestures/nativeGesture’; 72 | export { ManualGestureType as ManualGesture } from ‘./handlers/gestures/manualGesture’; 73 | export { 74 | ComposedGestureType as ComposedGesture, 75 | RaceGestureType as RaceGesture, 76 | SimultaneousGestureType as SimultaneousGesture, ./node_modules/react-native-gesture-handler/lib/module/index.js:69 "export ‘RotationGestureType’ (reexported as ‘RotationGesture’) was not found in ‘./handlers/gestures/rotationGesture’ 67 | export { LongPressGestureType as LongPressGesture } from ‘./handlers/gestures/longPressGesture’; 68 | export { PinchGestureType as PinchGesture } from ‘./handlers/gestures/pinchGesture’; 69 | export { RotationGestureType as RotationGesture } from ‘./handlers/gestures/rotationGesture’; 70 | export { ForceTouchGestureType as ForceTouchGesture } from ‘./handlers/gestures/forceTouchGesture’; 71 | export { NativeGestureType as NativeGesture } from ‘./handlers/gestures/nativeGesture’; 72 | export { ManualGestureType as ManualGesture } from ‘./handlers/gestures/manualGesture’; ./node_modules/react-native-gesture-handler/lib/module/index.js:73 "export ‘SimultaneousGestureType’ (reexported as ‘SimultaneousGesture’) was not found in ‘./handlers/gestures/gestureComposition’ 71 | export { NativeGestureType as NativeGesture } from ‘./handlers/gestures/nativeGesture’; 72 | export { ManualGestureType as ManualGesture } from ‘./handlers/gestures/manualGesture’; 73 | export { 74 | ComposedGestureType as ComposedGesture, 75 | RaceGestureType as RaceGesture, 76 | SimultaneousGestureType as SimultaneousGesture, ./node_modules/react-native-gesture-handler/lib/module/index.js:64 "export ‘TapGestureType’ (reexported as ‘TapGesture’) was not found in ‘./handlers/gestures/tapGesture’ 62 | export { GestureDetector } from ‘./handlers/gestures/GestureDetector’; 63 | export { GestureObjects as Gesture } from ‘./handlers/gestures/gestureObjects’; 64 | export { TapGestureType as TapGesture } from ‘./handlers/gestures/tapGesture’; 65 | export { PanGestureType as PanGesture } from ‘./handlers/gestures/panGesture’; 66 | export { FlingGestureType as FlingGesture } from ‘./handlers/gestures/flingGesture’; 67 | export { LongPressGestureType as LongPressGesture } from ‘./handlers/gestures/longPressGesture’;`

Screenshots

Steps To Reproduce

  1. Create a new app
  2. and this happens in webpack

Expected behavior

Actual behavior

Snack or minimal code example

Package versions

  • React:
  • React Native:
  • React Native Gesture Handler:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:11
  • Comments:19 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
danielkvcommented, Jan 12, 2022

As I could validate, the problem occurs only running on web

4reactions
Maker-Markcommented, Jan 11, 2022

I installed version 2.1.1 and the problem is not solved yet for me either.

If you install the commit that fixes it, it works. ie "react-native-gesture-handler": "https://github.com/software-mansion/react-native-gesture-handler#62e9eb66bced3b4c55042399d761baee7d961140",

Read more comments on GitHub >

github_iconTop Results From Across the Web

[react-native-gesture-handler] Seems like you're using an old ...
I have a lot of modules in my app that use the stack navigator and i get the error every time it renders...
Read more >
Error: Unable to resolve module `react-native-gesture-handler`
You need to install react-native-gesture-handler as well separately in the project dependency ... This error occurs for two main reasons.
Read more >
When gesture-speech combinations do and do not index ...
Supplementary gesture-speech combinations and multi-word combinations were categorized into three types according to the types of semantic elements conveyed: (1) ...
Read more >
Input.Touches - Simple Gesture Solution | Page 6 - Unity Forum
So I have recently published my game to the app store, with Input Touches. I only now notice that I am getting error...
Read more >
Common Flutter errors
Introduction. This page explains several frequently-encountered Flutter framework errors and gives suggestions on how to resolve them.
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