美文网首页
react-native开发中遇到的watchman问题终极解决

react-native开发中遇到的watchman问题终极解决

作者: yohyow | 来源:发表于2017-08-23 14:51 被阅读0次

react-native开发中遇到的watchman问题终极解决办法

注意:本人系统是mac, windows系统未经测试!

$brew uninstall pcre

在重新安装

1、卸载所有已安装的watchman:brew uninstall --force watchman

2、删除watchman相关文件:rm -rf /usr/local/var/run/watchman/

3、重启下终端

4、重新安装watchman:brew install watchman

如果出现权限问题,就执行此行,否则不需要sudo chown -R `whoami` /usr/local

brew postInstall watchman

相关文章

网友评论

      本文标题:react-native开发中遇到的watchman问题终极解决

      本文链接:https://www.haomeiwen.com/subject/qtwddxtx.html