Could not connect to development server running React Native even though development server receives ping

落花浮王杯 提交于 2019-12-11 06:08:20

问题


This is for React Native on Android.

When I try to start my React Native screen in my app I get the red screen that says Could not connect to development server. However this can't be true. Every time I try to reload the Javascript I see the following update in the terminal that's running my react native server:

Bundling `index.android.js`
  Transforming modules  100.0% (390/390), done.
Bundling `index.android.js`
  No module changed.
Bundling `index.android.js`
  No module changed.

Clearly it's making a request to the server, but the error says something else. What's going on here?

来源:https://stackoverflow.com/questions/42233514/could-not-connect-to-development-server-running-react-native-even-though-develop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!