更新时间:2023-10-15 22:46:16
在 RN 0.55 中,您可以通过以下方式解决此问题:
In RN 0.55 you can fix this with:
react-native start --port=1234
然后在另一个窗口:
react-native run-ios --port 1234
版本:
✗ react-native --version react-native-cli: 2.0.1 react-native: 0.55.4
“react-native run-ios"时端口 8081 已在使用中