Reputation: 1180
Could not connect to development server:
Ensure the following
Node server is running & available on the same network -run npm start from react native root.
Node server URL is correctly setup in app delegate
- wifi is enabled & connected to same network as node server
React Native version: "react-native": "0.61.5", "node": "10.14.1"
Steps To Reproduce
Expected Results
Metro bundler should connect and app should run
Upvotes: 2
Views: 3554
Reputation: 11
This is an old question, so I hope you've resolved it, but if not or for future readers, I found a solution in this GH thread https://github.com/facebook/react-native/issues/29587
I uninstalled watchman with brew uninstall watchman
(and did not reinstall it) and my iOS app was able to connect! Tried several solutions and this is the only one that worked for me.
Upvotes: 1
Reputation: 1
I had the same issue, tried a lot but the solution is really simple. Just hit the 'i' key from the terminal and the connection occurs just fine.
Upvotes: -1
Reputation: 1180
I tried multiple solutions for the above issue.
None of the above solution worked for me except this command
After all you have to do yarn add react-native-gesture-handler react-native-reanimated react-native-screens
Close bundler & shift +cmd + k on xcode and run the app by cmd + R
Upvotes: 0