Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(NOBRIDGE) ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNGestureHandlerModule' could not be found. #3281

Closed
EmadAldardoor opened this issue Dec 11, 2024 · 4 comments
Assignees
Labels
Close when stale The issue will be closed automatically if it remains inactive Missing repro Platform: Android This issue is specific to Android

Comments

@EmadAldardoor
Copy link

Description

I upgraded React Native to 0.76.4 and "react-native-gesture-handler" to "^2.21.2" and faced the following issue on android:

(NOBRIDGE) ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNGestureHandlerModule' could not be found. Verify that a module by this name is registered in the native binary.

Steps to reproduce

  1. when running the application

Snack or a link to a repository

#2749 (comment)

Gesture Handler version

2.21.2

React Native version

0.76.4

Platforms

Android

JavaScript runtime

None

Workflow

React Native (without Expo)

Architecture

None

Build type

Debug mode

Device

Android emulator

Device model

No response

Acknowledgements

Yes

Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@github-actions github-actions bot added the Platform: Android This issue is specific to Android label Dec 11, 2024
@EmadAldardoor
Copy link
Author

This is the issue

Screenshot 2024-12-11 at 2 18 06 PM

and this is the package json dependencies:

"dependencies": {
"@formulajs/formulajs": "^4.4.8",
"@gorhom/portal": "^1.0.2",
"@invertase/react-native-apple-authentication": "^2.4.0",
"@kichiyaki/react-native-barcode-generator": "0.6.7",
"@ptomasroos/react-native-multi-slider": "2.2.2",
"@react-native-async-storage/async-storage": "^2.1.0",
"@react-native-community/cli": "^15.1.2",
"@react-native-community/geolocation": "3.4.0",
"@react-native-community/netinfo": "^11.4.1",
"@react-native-community/slider": "^4.5.5",
"@react-native-firebase/app": "^21.5.0",
"@react-native-firebase/messaging": "^21.5.0",
"@react-native-google-signin/google-signin": "^13.1.0",
"@react-navigation/native": "^7.0.3",
"@react-navigation/stack": "^7.0.5",
"@reduxjs/toolkit": "^2.3.0",
"@shopify/flash-list": "^1.7.2",
"@types/lodash": "^4.17.13",
"@types/react-native-vector-icons": "^6.4.18",
"@types/react-native-video": "^5.0.20",
"@types/styled-components-react-native": "^5.2.5",
"android": "^0.0.8",
"axios": "^1.7.7",
"axios-extensions": "3.1.6",
"axios-hooks": "^5.0.2",
"calendarize": "^1.1.1",
"dayjs": "^1.11.13",
"deep-object-diff": "^1.1.9",
"deprecated-react-native-prop-types": "^4.2.1",
"i18next": "^23.16.8",
"jexl": "^2.3.0",
"jsonpath": "1.1.1",
"jszip": "3.10.1",
"jwt-decode": "4.0.0",
"lodash": "^4.17.21",
"lottie-ios": "4.5.0",
"lottie-react-native": "7.1.0",
"patch-package": "^8.0.0",
"postinstall-postinstall": "2.1.0",
"prop-types": "15.8.1",
"react": "18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^15.1.1",
"react-icomoon": "2.5.7",
"react-native": "0.76.4",
"react-native-action-button": "2.8.5",
"react-native-actions-sheet": "^0.9.7",
"react-native-animatable": "1.4.0",
"react-native-app-intro-slider": "4.0.4",
"react-native-audio-recorder-player": "^3.6.12",
"react-native-big-calendar": "^4.16.0",
"react-native-calendar-events": "2.2.0",
"react-native-calendar-strip": "^2.2.6",
"react-native-calendars": "1.1307.0",
"react-native-camera": "4.2.1",
"react-native-chart-kit": "6.12.0",
"react-native-cli": "2.0.1",
"react-native-collapsible": "^1.6.2",
"react-native-contacts": "^8.0.4",
"react-native-date-picker": "^5.0.7",
"react-native-device-info": "^14.0.0",
"react-native-document-picker": "^9.3.1",
"react-native-dropdownalert": "^5.1.0",
"react-native-easy-content-loader": "^0.3.2",
"react-native-element-dropdown": "^2.12.0",
"react-native-elements": "^3.4.3",
"react-native-exception-handler": "^2.10.10",
"react-native-file-viewer": "2.1.5",
"react-native-fs": "^2.20.0",
"react-native-geolocation-service": "^5.3.1",
"react-native-gesture-handler": "^2.21.2",
"react-native-get-location": "^5.0.0",
"react-native-gifted-charts": "1.4.47",
"react-native-global-font": "1.0.3",
"react-native-icomoon": "0.1.1",
"react-native-idle-timer": "2.2.3",
"react-native-image-pan-zoom": "^2.1.12",
"react-native-image-picker": "7.2.3",
"react-native-image-zoom-viewer": "3.0.1",
"react-native-indicators": "^0.17.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-keychain": "9.2.1",
"react-native-linear-gradient": "^2.8.3",
"react-native-live-audio-stream": "1.1.1",
"react-native-localize": "^3.3.0",
"react-native-map-link": "^3.6.1",
"react-native-maps": "1.20.0",
"react-native-masked-text": "1.13.0",
"react-native-modal": "^13.0.1",
"react-native-orientation-locker": "^1.7.0",
"react-native-pager-view": "^6.5.1",
"react-native-paper": "5.12.5",
"react-native-paper-dates": "^0.22.27",
"react-native-pell-rich-editor": "1.9.0",
"react-native-permissions": "^3.8.4",
"react-native-popup-menu": "0.16.1",
"react-native-progress": "^5.0.1",
"react-native-pure-jwt": "3.0.2",
"react-native-qrcode-svg": "^6.3.12",
"react-native-rating-element": "^5.4.0",
"react-native-raw-bottom-sheet": "3.0.0",
"react-native-reanimated": "^3.16.2",
"react-native-render-html": "6.3.4",
"react-native-restart": "^0.0.27",
"react-native-safe-area-context": "^4.14.0",
"react-native-screens": "^4.2.0",
"react-native-settings-list": "1.8.0",
"react-native-side-drawer": "^2.1.0",
"react-native-sms": "1.12.0",
"react-native-svg": "15.9.0",
"react-native-svg-uri": "^1.2.3",
"react-native-swipe-gestures": "1.0.5",
"react-native-switch-toggle": "2.2.1",
"react-native-toast-message": "^2.1.6",
"react-native-uaepass": "^1.0.16",
"react-native-uuid": "^2.0.3",
"react-native-vector-icons": "^10.2.0",
"react-native-video": "^6.8.0",
"react-native-view-shot": "^4.0.2",
"react-native-webview": "^13.12.5",
"react-native-wheel-color-picker": "1.3.1",
"react-native-windows": "^0.76.1",
"react-redux": "^9.1.2",
"realm": "^12.14.0",
"redux-logger": "^3.0.6",
"redux-thunk": "3.1.0",
"resolve": "^1.22.8",
"rn-fetch-blob": "0.12.0",
"styled-components": "^6.1.13",
"to-json-schema": "^0.2.5"
},

@latekvo latekvo self-assigned this Dec 11, 2024
@latekvo
Copy link
Contributor

latekvo commented Dec 11, 2024

Hi @EmadAldardoor, could you please provide a complete repro, or link to the app you're facing the issues in?
This issue did not occur on a clean React Native build without expo, with nothing but gesture handler 2.21.2.
The dependencies section of your package.json is not enough to create a working reproduction, multiple of these packages require manual installation steps, which would take hours to implement, and each one individually could be the reason for the error.

You also mentioned this issue started occuring after bumping React Native to 0.76.4, is there a chance that might have caused the issue? You can find more info here on how to correctly bump bare (without Expo) React Native apps, as it's easy to miss something during this step.

@latekvo latekvo added the Close when stale The issue will be closed automatically if it remains inactive label Dec 12, 2024
@m-bert
Copy link
Contributor

m-bert commented Dec 12, 2024

HI @EmadAldardoor! This problem has already been reported in our repository. Given that this issue has no reproduction I'm closing it, as stated in this comment. If you provide a reproduction we will consider reopening it.

@m-bert m-bert closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Close when stale The issue will be closed automatically if it remains inactive Missing repro Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests

3 participants