-
Notifications
You must be signed in to change notification settings - Fork 32
[WIP] Adds minimal boilerplate #72
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running the app results in errors
Unhandled (in react-apollo:Apollo(Home)) Error: Network error: Network request failed
This error is nasty and really should be handled in a more graceful way, but is being debated over in the react-apollo ticket (#604) In the meantime, it seems you didn't have the server running. This leads me to propose that we make sure the Thoughts? |
I definitely had the server running, but I can't say if I started the app first. Is that a problem? |
Did you possibly start the server after seeing the error? I can reproduce the error by:
1. Starting the Expo packager (`yarn start`)
2. Opening the iOS simulator
3. See the error
Then I can fix it by:
1. Starting the server (`yarn start` in the server directory)
2. Pressing Reload (or `command + R` in the simulator)
… On Jan 13, 2018, at 6:51 AM, Nilan Marktanner ***@***.***> wrote:
I definitely had the server running, but I can't say if I started the app first. Is that a problem?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#72 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAVpXEoe9tY1sj7TtvOTPEBqUe0cTh2Cks5tKJi2gaJpZM4RVtNd>.
|
Thanks I'll try that again 🙂 For the record, I am using a real Android device, if that makes a difference. |
Nope, you should still see the same errors I was seeing!
We should maintain this repo in the manner that we assume any user is using either/or iOS and/or Android
:)
… On Jan 13, 2018, at 6:54 AM, Nilan Marktanner ***@***.***> wrote:
Thanks I'll try that again 🙂
For the record, I am using a real Android device, if that makes a change.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#72 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAVpXFw_l6tPjYO7j__FoTv7-ELtiUE7ks5tKJlcgaJpZM4RVtNd>.
|
Hmm, updated the Expo and the server locally tonight, and am seeing the same problem again. I now know that the problem is a network error, but haven't tracked down why the ApolloClient can't talk with the server when they are both running... |
a0c6dc4
to
e3b52d1
Compare
Please test to verify all is working!