【发布时间】:2017-05-05 00:21:26
【问题描述】:
我正在使用需要 watchman 的 React Native。在运行react-native run-ios 时,我看到了这个错误。
watchman --no-pretty get-sockname returned with exit code=1, signal=null,
stderr= 2017-05-05T08:17:49,256: [2110218240] while computing sockname:
failed to create /usr/local/var/run/watchman/foo-state: No such file or directory
经过调查,似乎是由于没有安装标准的/usr/local/ homebrew 造成的。
他们有办法改变守望者使用的statedir吗?
【问题讨论】:
-
为什么要安装非标准的自制软件?
-
这不是我可以在我的工作站上更改的。