未安装React Native Watchman

时间:2019-03-20 15:47:15

标签: react-native hybrid-mobile-app watchman

我正在使用此cmd

git clone https://github.com/facebook/watchman.git
$ cd watchman
$ git checkout v4.9.0  # the latest stable release
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install

当我输入make cmd时,其返回错误如下

Makefile:1960: recipe for target 'cppclient/libwatchmanclient_la-WatchmanClient.lo' failed
make[1]: *** [cppclient/libwatchmanclient_la-WatchmanClient.lo] 
Error 1
make[1]: Leaving directory '/tmp/watchman'
Makefile:1101: recipe for target 'all' failed
make: *** [all] Error 2

1 个答案:

答案 0 :(得分:1)

您的内部版本正在从您的系统中提取folly的某个版本。 使用./configure --without-folly来配置构建。