react-native -v
: 0.47.0npm ls rnpm-plugin-windows
: 0.47.0-RC5npm ls react-native-windows
: yesnode -v
:8.2.1npm -v
:5.3.0yarn --version
:n/aThen, specify:
initialize new react-native project (react-native init project_name)
(Write your steps here:)
(Write what you thought would happen.)
App should load on the screen showing the contents of index.windows.js page
(Write what happened. Add screenshots!)
Error message stating unable to download JS Bundle.
(Paste the link to an example project and exact instructions to reproduce the issue.)
https://github.com/ballySingh/repo2.git
Download the zip and run npm install. Please follow step 4 from the reproduction section, above.
Did you run react-native start
?
Yes I had, I've mentioned it in step 10.
Ah right, you did, sorry I missed it.
I've only recently set this up, and I ran into this issue as well - only worked after trying a couple of different things.
Did the packager log anything out?
Another thing I did was running react-native run-windows
and then opening the project up in VS.
Packager does'nt show any error. Or the index.window.js loading.
@ballySingh did you modify the URL of the packager server in the native code before deploying to your device? The dev options is configured to try and reach the packager at localhost:8081, but if you're on an ARM device, you'll need to specify the reachable IP address of your dev machine here: https://github.com/Microsoft/react-native-windows/blob/master/ReactWindows/ReactNative.Shared/DevSupport/DevServerHelper.cs#L22
We have an open issue to make this configurable: https://github.com/Microsoft/react-native-windows/issues/358
@rozele yes I did, you will see in step 7.
change deviceServerHelper,cs to point to ip address of machine
Let me apologize but I was misinformed by our support team. I told that the Ethernet and Wifi internet was using the same internet connection, which I found out was not the case. Once I connected to the same connection it worked.