I highly recommend you try the following:
clone the react native boiler plate and try get that working. if you get stuck watch the YouTube vid.
https://youtu.be/dZYSr9UPdfQ
once you get it working, you can then try upgrade react native following the instructions at their site.
https://reactnative.dev/docs/upgrading
note if
npx react-native upgrade
fails then you will have to follow the manual instructions.
after upgrade then you can edit the EventEmitter file as I mentioned.
you will have to edit the file every time you run yarn add for every new package as it will rewrite the file.
donât for forget to
cd ios && pod install
if you are building for ios
a few other things, to note:
npx react-native run-android/run-ios
didnât work for me, I always had to build via android studio or xcode + running npx react-native start in a separate terminal