React Native has been a non-stop whirlwind of obscure error messages. For example:
This one was caused by inadvertantly including the module twice in android/app/src/main/java/com/example/MainApplication.java
.
I had included RNFirebasePackage()
twice:
HT to the github issue that helped me work out the problem.