小编Chr*_*rvi的帖子

如何解决“无法与您的值班员交谈”错误

几天前我在 Facebook/react-native 上创建了一个问题,但尚未收到回复。为了尝试让我启动并运行,我也会在这里询问。问题链接

我检查了有关此事的其他 SO 帖子,但没有任何建议有帮助。

我正在按照 Mac/iOS 的入门文档来创建 AwesomeProject 示例应用程序。当我使用启动项目时

npx react-native start
Run Code Online (Sandbox Code Playgroud)

并在 Xcode 中构建 iOS 应用程序,应用程序启动(在模拟器中)以显示白色初始屏幕,顶部显示“正在从 Metro 加载...”。大约一分钟后,我收到以下错误:

Could not connect to development server.

Ensure the following:
- Node server is running and available on the same network - run 'npm start' from react-native root
- Node server URL is correctly set in AppDelegate
- WiFi is enabled and connected to the same network as the Node Server

URL: http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.AwesomeProject
Run Code Online (Sandbox Code Playgroud)

在我启动服务器的终端中,我看到:

2021-11-13T16:46:53,199: [cli] unable to talk …
Run Code Online (Sandbox Code Playgroud)

macos watchman react-native

7
推荐指数
0
解决办法
1771
查看次数

标签 统计

macos ×1

react-native ×1

watchman ×1