问题:
watchman装不上
1 2
| watchman -v watchman command not found
|
解决方法:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| git clone https://github.com/facebook/watchman.git
cd watchman
# change to master branch git checkout -b v4.6.0 v4.6.0
# run compiler ./autogen.sh ./configure --enable-lenient --without-pcre --with-python make sudo make install
watchman -v
|
原文地址:https://github.com/facebook/react-native/issues/9309#issuecomment-238966924