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.

Error calling RCTDeviceEventEmitter.emit unknown

See original GitHub issue

when I updated react-native-reanimated from version 1.13.1 to 2.0.0-alpha.8 the app stopped working

I got an error message: “Error calling rctdeviceeventemitter.emit unknown”

Screenshots

error

I followed the installation instructions on the documentation page step by step

Package versions

"dependencies": {
    "@react-native-async-storage/async-storage": "^1.13.1",
    "@react-native-community/datetimepicker": "^3.0.2",
    "@react-native-community/masked-view": "^0.1.10",
    "@react-native-community/picker": "^1.6.6",
    "@react-navigation/drawer": "^5.9.0",
    "@react-navigation/material-bottom-tabs": "^5.2.16",
    "@react-navigation/native": "^5.7.3",
    "@react-navigation/stack": "^5.9.0",
    "dotenv": "^8.2.0",
    "moment": "^2.29.1",
    "native-base": "^2.13.13",
    "react": "16.13.1",
    "react-native": "0.63.2",
    "react-native-android-location-enabler": "^1.2.1",
    "react-native-animated-pagination-dot": "^0.1.8",
    "react-native-dotenv": "^2.3.0",
    "react-native-geolocation-service": "^5.0.0",
    "react-native-gesture-handler": "^1.8.0",
    "react-native-google-places-autocomplete": "^1.8.3",
    "react-native-image-picker": "^2.3.4",
    "react-native-localization": "^2.1.6",
    "react-native-localize": "^1.4.1",
    "react-native-maps": "0.27.1",
    "react-native-modal": "^11.5.6",
    "react-native-open-maps": "^0.3.5",
    "react-native-paper": "^4.0.1",
    "react-native-permissions": "^2.1.5",
    "react-native-popup-menu": "^0.15.9",
    "react-native-qrcode-scanner": "^1.4.1",
    "react-native-reanimated": "^2.0.0-alpha.8",
    "react-native-restart": "^0.0.17",
    "react-native-safe-area-context": "^3.1.6",
    "react-native-screens": "^2.10.1",
    "react-native-swiper": "^1.6.0-rc.3",
    "react-native-vector-icons": "^7.0.0"
  },
  • React: 16.13.1
  • React Native: 0.63.2
  • React Native Reanimated: 2.0.0-alpha.8
  • NodeJS: 12.13.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
somebody32commented, Nov 10, 2020
7reactions
timhilgenstoehlercommented, Nov 6, 2020

I just wanna add that I have the same problem with a clean new project aswell:

"react": "16.13.1",
"react-native": "0.63.3",
"react-native-reanimated": "^2.0.0-alpha.8"

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error calling RCTDeviceEventEmitter.emit in ReactNative
When you launch your app by typing react-native run-android , the error appears. So, reach your directory containing "adb.exe" ( for me it ......
Read more >
com.facebook.jni.cppexception: could not get batchedbridge ...
E/unknown:React: Exception in native call java.lang.RuntimeException: Error calling function: RCTDeviceEventEmitter:emit at com.facebook.react.bridge.queue.
Read more >
json sending problem when sending data to server ... - Issuehunt
I'm registering locations with BackgroundGeolocation.on('location', (location) => {}); using asp.net core web api, but when I switch to the background, ...
Read more >
Android - Error calling RCTDeviceEventEmitter.emit - iTecNote
From all my research, the solution that worked for me is the following : When you launch your app by typing react-native run-android...
Read more >
How to solve this error? Invariant violation module appregistry ...
99K subscribers in the reactnative community. A community for learning and developing native mobile applications using React Native by ...
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