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.

`new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method.

See original GitHub issue

Getting the warning:

`new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method.

In React Native 0.65.

Related line: https://github.com/Agontuk/react-native-geolocation-service/blob/ffc3cc301420e72ab32b38a83907eb76997ccc45/js/Geolocation.native.js#L4

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
ClaraGayacommented, Nov 30, 2021

Hi, I’m still getting the issue, I’m in “react-native”: “0.66.2”, and in “react-native-geolocation-service”: “^5.3.0-beta.3”

3reactions
tlt254commented, Aug 27, 2021

Same

Read more comments on GitHub >

github_iconTop Results From Across the Web

reactjs - new NativeEventEmitter()` was called with a non-null ...
WARN `new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method. reactjs · react-native.
Read more >
new NativeEventEmitter() was called with a non-null argument ...
WARN new NativeEventEmitter() was called with a non-null argument without the required removeListeners method.
Read more >
`new nativeeventemitter()` was called with a non-null ...
WARN `new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method. It was working in the past on React Native...
Read more >
new NativeEventEmitter()` was called with a non-null ...
Coding example for the question new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method-Reactjs.
Read more >
What does these two warnings mean? : r/reactnative - Reddit
`new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method. I moved my existing project to a new ...
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