-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No bundle url present #12754
Comments
Having the same issue now. Not sure what changed. |
Same problem. |
I believe it's an issue with XCode. That's he only thing I can figure. It updated and all hell broke loose.
…Sent from my iPhone
On Mar 7, 2017, at 10:55 PM, Decade ***@***.***> wrote:
Same problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
What if you run |
Same problem. I found |
Nope. I tried everything.
…Sent from my iPhone
On Mar 8, 2017, at 1:53 AM, Eugene Sokovikov ***@***.***> wrote:
What if you run npm start in console?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It worked fine with android
…Sent from my iPhone
On Mar 8, 2017, at 2:13 AM, mac2066 ***@***.***> wrote:
Same problem.
I found
JsCodeLocation = [[RCTBundleURLProvider jsBundleURLForBundleRoot:@ sharedSettings] "index.ios" fallbackResource:nil];
Take effective address not, this happens in connection to the network situation (and not all networks such), when this happens, disconnected from the network, I think, in a virtual machine can run in localhost:8081
This is the way I am
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@AbeHerbert Yes, this is the IOS code, I simply look at the code, here will automatically take the local IP, but obviously, did not take, Android I have not tried, but this is obviously different from the IOS code My situation when I changed a network environment, it is normal, very clever, when I met the home
When I will
Modified into
This time can be a normal start, but after entering the application of remote image loading, it seems wrong |
I have gotten that message when the packager is not running when the app is launched on iOS. Typically I have to completely kill the app and launch again after I have started the packager. Can you guys be sure that you have the packager running prior to launching the app? |
@rmevans9 in my case the packager was running as always. The solution I posted is done while the packager and the app are running. That's the only way I found by now to handle this. I belive there's something going wrong when the modules are installed on react-native init. I have to do some tests before assurance it |
Yes, the packager is already running. I can access it through the browser |
I am also seeing this issue on RN 0.42.0 |
+1 |
Same problem and I run "npm install" and "react-native run-ios" ,the problem seems to be not solved yet. |
I am seeing same problem @0.42.0 and |
My problem has been solved by adding
I am not sure it is because of RN0.42 or iOS issue, but it is solved in my case. |
Check if you have |
Of course I do. I'm a web developer lol
…Sent from my iPhone
On Mar 12, 2017, at 4:35 AM, AkiVer ***@***.***> wrote:
Check if you have 127.0.0.1 localhost in your hosts, clean the project and retry, it worked for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I found a working solution, Give it a try. While the simulator is running don't close your bundler. Go to the path and run npm install then again react-native run-ios. It started working for me. |
i faced this issues after i moved my project to another directory and run ios simulator |
This is working for me: leave simulator running, leave the packager terminal window on, and run react-native run-ios again. |
This also means the "Port already in use" Terminating a process on port 8081 Run the following command on a Mac to find the id for the process that is listening on port 8081:
Then run the following to terminate the process:
please try troubleshooting in below link Thanks, |
I'm just leaving this here, in case other people stumble upon the same cause. In our team's case, during the migration to 0.42.0, we've accidentally removed the "Bundle React Native code and images" build phase from the XCode project. Manually re-adding the phase solved the problem, but we're left scratching our heads as to when or how the phase was removed. |
works for me when I build the app through xcode... |
Same issue. Have set scheme to |
I had the same error and was able to run the app only through Xcode. |
For Debug configuration, which is default when new project is generated with |
Same here... Install the node packages again is not a proper solution |
In my case it was because I was running Shadowsocks (being in China at the moment) and I didn't set it to bypass 127.0.0.1 and localhost. Thanks @om2pkral for mentioning that. |
In my case, nothing was displayed on the other terminal that started up when So I was able to start packager by running I don't know the cause, but the behavior of the
|
Try to
Solved it because of a bug |
If anyone wants a script for turning on/off the transport security in
I'm calling this from a pre- and post-build script that were added to XCode's build phases. |
There are two apps(same project) on the simulator. Once I delete the new one, problem got resolved. |
if you check this, Xcode cannot log some error ..uncheck it and find error and do like this: 1 import ViewPropTypes from react-native and it work for me . i had this error only release mode. and dev mode work fine ..i have tried solutions nearly all above .but none works. :
and a few days ago ,just update 0.44 to 0.51.0 . if this issues cant fixed. i will roll back to lower version have a try . |
Not sure if this will help you guys but I changed my build config in Xcode (Product => Scheme => Edit Scheme) back to Debug and it worked. |
This work for me:
|
Based on this thread and some other there are a lot of errors causing this problem. |
if your project opened by xcode. please close the xcode and run again, it works for me |
Hi guys,
By:
Where IP_ADDRESS_ON_MY_LAN = 192.168.... |
I met the same issue after build release version(under ios). |
@monkingame Thx, the localhost part saved my day! |
@monkingame Thanks, the changing of comments worked for me. I have no idea what caused this error to start happening to begin with, started after I made the production build and wanted to back to debugging. How did that change the code location? |
This work for me.
|
This work for me.
|
run if necessary run again: |
For me for some reason the make sure it is |
From another thread after trying everything, that solution worked: "this is solved my issue: |
I got it resolved by including the below code in Info.plist file which I had removed from the production build. |
Easy boy, just remove ios/build ( |
@jiteshwadia same problem occurred to me. |
For me, I was having a problem with Node not being recognized in any new tab opened. So I have to use So my solution was in one tab run |
This work for me.
|
I had the same issue and after trying everything here qyvip's answer lead me to the right one. update to be |
Adding NSAllowsArbitraryLoads: true solved my problem. |
Description
I noticed some people recently asking about this "No bundle url present" error and I just faced it myself.
Reproduction
I had just run ˜react-native init projectName˜, setup my App.js file (a simple Hello World), called it in both iOS and Android indexes and run ˜react-native run-ios˜. Then the No bundle url present error appeared.
Solution
I tried to delete my node_modules and npm install, close the packager and run the project again, but it could only be solved when I follow the steps given here (http://stackoverflow.com/questions/42610070/what-means-of-no-bundle-url-present-in-react-native).
Additional Information
This is the first project I started using RN 0.42. Since it never happened before and I am not the only one facing this issue, I guess it should be taken a closer look to it.
Here's my package.json:
If I can be more helpful to make any further test, it would be a pleasure.
The text was updated successfully, but these errors were encountered: