`new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.
I am getting the warning
`new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.
since upgrading to React Native 0.66.1. Here is a screenshot of the warning:

Image.js:11 is where we import react-native-file-type.
I am trying to dig into this package to find the issue and create a PR, but I haven't been able to find the cause of the issue yet. I created a fork of this repository and upgraded buffer from 5.0.8 to 6.0.3 and js-base64 from 2.3.2 to 3.7.2, but I am still getting the warning.
I tried upgrading file-type from 7.3.0 to 16.5.3, but I am getting the following error:
Error: Unable to resolve module fs from /Users/jarod/Projects/cntral_mobile/node_modules/strtok3/lib/FsPromise.js: fs could not be found within the project or in these directories:
node_modules
../node_modules
I will keep looking into this, but if anyone has a solution, I would love to hear it.
Update: I have upgraded file-type in steps, and found that the fs error starts in version 13.