No Bundle URL Present React Native Error Fix

No Bundle URL Present is a common react native error you come across when you try to run your react native project on iOS device or iOS simulator. There are some solutions for this specific react native issue and the following solution worked for me:

Keep the iOS simulator running and also keep the metro bundler open. Now again go to the project folder, open the terminal and run react-native run-ios. The react native issue will be resolved.

Still have the same problem? Then have a look at the react native issue on github and try other solutions given there.

1 thought on “No Bundle URL Present React Native Error Fix”

  1. Louis Musanje michael

    Link to video with fix:
    https://www.youtube.com/watch?v=eCs2GsWNkoo

    Steps:
    – go to project folder
    – open the folder in xcode
    – in xcode goto the projectname and inside find another folder with the same project name
    – delete the main.jsbundle file
    – right click on the subfolder in which the main.jsbudle file was and create new file but select empty
    – go back to the terminal and navigate to project folder and run the command below

    react-native bundle –entry-file index.js –platform ios –dev false –bundle-output ios/main.jsbundle –assets-dest ios

    restart the metro bundler with either npm start or yarn start

    and then run
    react-native run-ios

    PROBLEM FIXED!!!!!!!

Leave a Reply

%d bloggers like this: