In my case:-
Answer:-
I just deleted the react-native-firebase
folder which will be inside the node_modules
folder, that's it then I could run the app successfully.
And one more thing don't forget to remove react-native-firebase
but not @react-native-firebase
in package.json file. So that next time when you run npm I
or yarn
. This won't get installed in your app.
This package was causing the issue.