对本机和移动开发人员做出反应的新功能,遇到了此问题:
我正在使用Expo CLI作为构建工具从Facebook网站运行React Native hello世界。我要做的是安装Expo,运行expo init test
,安装cocoapods,并cd进入测试目录并运行expo start
。
当我在iOS模拟器或iPhone上打开该应用程序时,白屏约3-5分钟后,我收到“无法连接到开发服务器”(见屏幕截图)。
在Expo日志中。值得注意的是,每次启动时,我都会收到以下错误日志:
2019-08-25T21:49:21,474: [cli] Failed to open /Users/nsadeh/Library/LaunchAgents/com.github.facebook.watchman.plist for write: Not a directory
ERROR
21:49
Watchman: watchman --no-pretty get-sockname returned with exit code=null, signal=SIGABRT, stderr= 2019-08-25T21:49:21,474: [cli] Failed to open /Users/nsadeh/Library/LaunchAgents/com.github.facebook.watchman.plist for write: Not a directory
我已经尝试卸载并重新安装Watchman以及Expo。不知道该怎么办。
要复制:
答案 0 :(得分:1)
解决方案:事实证明,postgreSQL在我的库中留下了一个不相关的LaunchAgents.plist文件,这使Watchman感到困惑。重命名可以解决该问题。