新的反应本机和移动开发,遇到了这个问题:
我正在运行从Facebook网站使用世博会CLI作为构建工具的世界。我所做的就是安装世博会,运行expo init test,将cocoapods和cd安装到测试目录中并运行expo start。
当我在iOS模拟器或我的iPhone上打开应用程序时,在白屏幕上大约3-5分钟后,我会得到“无法连接到开发服务器”(见屏幕截图)。
在世博会的日志里。值得注意的是,每次启动时,我都会得到以下错误日志:
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我已经尝试过重新安装“守望者”和“世博”。不知道还能做什么。
复制:
运行expo init并从顶部目录expo start运行。

发布于 2019-08-26 13:55:19
解决方案:原来postgreSQL在我的库中留下了一个不相关的LaunchAgents.plist文件,这让“守望者”很困惑。重新命名它解决了这个问题。
https://stackoverflow.com/questions/57651081
复制相似问题