Skip to content Skip to sidebar Skip to footer

Error: Bundling Failed - While Trying To Resolve Module 'react-native-firebase'

I'm trying to use Firebase Authentication and am getting the below error when running react-native run-android. The error is happening in the node terminal that pops up when \react

Solution 1:

I got this working by re-running react-native link react-native-firebase. The /dist folder showed up in the node_modules/react-native-firebase directory once this command runs successfully.

Solution 2:

I was facing this problem and the accepted answer did not solve it. I found that the cache was corrupted because of a failed download of npm install firebase --save. So running the following solved the issue:

npm uninstall react-native-firebase
yarn start--reset-cache
yarn --reset-cache
npm install react-native-firebase --save

Post a Comment for "Error: Bundling Failed - While Trying To Resolve Module 'react-native-firebase'"