jhen0409 / jhen0409/react-native-debugger
Cannot read property 'registerEventHandler' of undefined
- Vorherrschende Sprache
- JavaScript
- Sterne
- 10.4k
- Forks
- 815
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
There is an error when i try to use react-native-debugger
```
handleException @ C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\Core\ExceptionsManager.js:74
handleError @ C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\Core\setUpErrorHandling.js:23
(anonymous) @ C:\Users\ABTR001\Desktop\upc_app\node_modules\expo\build\launch\RootErrorBoundary.js:31
reportFatalError @ C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\polyfills\error-guard.js:42
guardedLoadModule @ C:\Users\ABTR001\Desktop\upc_app\node_modules\metro\src\lib\polyfills\require.js:199
metroRequire @ C:\Users\ABTR001\Desktop\upc_app\node_modules\metro\src\lib\polyfills\require.js:125
metroRequire.a.name.e.$reactNative.n @ RNDebuggerWorker.js:1
i @ RNDebuggerWorker.js:1
NativeModules @ RNDebuggerWorker.js:1
u @ RNDebuggerWorker.js:1
C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\Core\ExceptionsManager.js:74 Requiring module "node_modules\react-native\Libraries\Renderer\oss\ReactFabric-prod.js", which threw an exception: TypeError: Cannot read property 'registerEventHandler' of undefined
handleException @ C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\Core\ExceptionsManager.js:74
handleError @ C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\Core\setUpErrorHandling.js:23
(anonymous) @ C:\Users\ABTR001\Desktop\upc_app\node_modules\expo\build\launch\RootErrorBoundary.js:31
reportFatalError @ C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\polyfills\error-guard.js:42
guardedLoadModule @ C:\Users\ABTR001\Desktop\upc_app\node_modules\metro\src\lib\polyfills\require.js:199
metroRequire @ C:\Users\ABTR001\Desktop\upc_app\node_modules\metro\src\lib\polyfills\require.js:125
metroRequire.a.name.e.$reactNative.n @ RNDebuggerWorker.js:1
i @ RNDebuggerWorker.js:1
Platform @ RNDebuggerWorker.js:1
u @ RNDebuggerWorker.js:1
C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\Core\ExceptionsManager.js:74 Requiring module "node_modules\react-native\Libraries\Renderer\oss\ReactFabric-prod.js", which threw an exception: TypeError: Cannot read property 'registerEventHandler' of undefined
handleException @ C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\Core\ExceptionsManager.js:74
handleError @ C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\Core\setUpErrorHandling.js:23
(anonymous) @ C:\Users\ABTR001\Desktop\upc_app\node_modules\expo\build\launch\RootErrorBoundary.js:31
reportFatalError @ C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\polyfills\error-guard.js:42
guardedLoadModule @ C:\Users\ABTR001\Desktop\upc_app\node_modules\metro\src\lib\polyfills\require.js:199
metroRequire @ C:\Users\ABTR001\Desktop\upc_app\node_modules\metro\src\lib\polyfills\require.js:125
metroRequire.a.name.e.$reactNative.n @ RNDebuggerWorker.js:1
i @ RNDebuggerWorker.js:1
setupDevtools @ RNDebuggerWorker.js:1
u @ RNDebuggerWorker.js:1
C:\Users\ABTR001\Desktop\upc_app\node_modules\react-native\Libraries\Core\ExceptionsManager.js:82 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in App (at withExpoRoot.js:20)
```
my expo version is 34, can anyone help with this?
Beitragsleitfaden
Rechercherichtung
Beginne damit, den Fehler mit Expo 34 und react-native-debugger zu reproduzieren, und untersuche anschließend die Stack-Einträge in RNDebuggerWorker.js und ReactFabric-prod.js zusammen mit React Natives ExceptionsManager.js. Bestätige das relevante Kompatibilitätsproblem und überprüfe, dass die Anwendung ohne den registerEventHandler-Fehler startet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, react-native
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100