【发布时间】:2021-11-14 15:03:45
【问题描述】:
https://facebook.github.io/watchman/docs/install.html 的这些说明不适用于 mac osx:
$ git clone https://github.com/facebook/watchman.git
$ cd watchman
$ git checkout v4.9.0
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
./autogen.sh...
The error:
pkg-config appears to be missing (not available to autoconf tools)
please install the pkg-config package for your system.
我怀疑的原因是并非所有相同的 linux 软件包都可以在 mac 上使用。我怎样才能让它在 Mac 上运行?
【问题讨论】:
-
在运行
react-native doctor之后,我发现自己也在问同样的问题。它输出✖ Watchman - Used for watching changes in the filesystem when in development mode - Version found: 2021.09.13.00 - Version supported: 4.x但我的版本比 4.x bc 更新 FB 特别声明“注意:二进制文件仅由 master 构建。我们不提供 v4.9.0 的二进制文件”我想知道doctor是否标记了假阴性。他们甚至不再使用semver的那种形式。因此,除非有使用 4.9 的特定原因,否则我会抓住最新的并继续前进。 -
请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。
标签: macos installation version watchman