[绍棠] 解决Mac OS X10.12下 Error watching file for changes: EMFILE及`brew link autoconf automake`错误
来源:互联网 发布:当天 today sql 编辑:程序博客网 时间:2024/06/04 18:47
发现跑React-navtive项目报错了,错误标题为:Error watching file for changes: EMFILE具体表现如下图
查找资料后发现原来是升级后watchman不可用了,需要重装watchman。
第一种解决方案是打开终端后依次键入以下命令:
1.卸载原来安装的watchman: brew uninstall --force watchman
2.删除原来的安装文件: rm -rf /usr/local/var/run/watchman/
3.重新安装watchman: brew install watchman
第二种解决方案来自watchman的官方说明文档:https://facebook.github.io/watchman/docs/install.html
$ git clone https://github.com/facebook/watchman.git$ cd watchman$ git checkout v4.7.0 # the latest stable release$ ./autogen.sh$ ./configure$ make$ sudo make install
官方文档介绍了一些安装使用方法以及错误解决方案,英文不错的同学可以去Lock一下。
在安装watchman的过程中可能会报错,如果遇到“Error: You must `brew link autoconf automake` before watchman can be installed”错误。请在安装的时候先在终端中依次键入以下命令:
1.链接到autoconf : brew link autoconf
2.链接到automake: brew link automake
3.重新安装watchman:brew install watchman
在安装的时候当你看到
==> Downloading https://homebrew.bintray.com/bottles/watchman-4.7.0.sierra.bottl
######################################################################## 100.0
表示watchman安装成功!
- [绍棠] 解决Mac OS X10.12下 Error watching file for changes: EMFILE及`brew link autoconf automake`错误
- 解决Mac OS X10.12下 Error watching file for changes: EMFILE及`brew link autoconf automake`错误
- react native 运行Android Error watching file for changes: EMFILE问题解决( Mac os)
- React Native 报错误“Error watching file for changes: EMFILE”
- Error watching file for changes: EMFILE {"code":"EMFILE","errno":错误解决办法【ReactNative】
- react-native运行样例报错:Error watching file for changes: EMFILE
- MacOS Sierra下运行react-native start出现Error watching file for changes: EMFILE问题解决
- 运行automake 命令出现(error while making link)的错误及解决
- linux虚拟机运行automake 命令出现(error while making link)的错误及解决
- 转 mac下autoconf automake安装
- 在mac os 中安装 autoconf and automake
- 在mac os 中安装 autoconf and automake
- 在mac os 中安装 autoconf and automake
- 在mac os 中安装 autoconf and automake
- 在mac os 中安装 autoconf and automake
- 在mac os 中安装 autoconf and automake
- 在mac os 中安装 autoconf and automake
- Mac os下安装brew
- 从超级玛丽说起,谈谈如何为机器赋予好奇心
- 多个Tomcat之间实现Session共享
- Elasticsearch与Solr 选型
- 读书笔记:提高C++性能的编程技术
- div悬浮固定
- [绍棠] 解决Mac OS X10.12下 Error watching file for changes: EMFILE及`brew link autoconf automake`错误
- Telerik ajax
- 批量导入数据从一张表复制到另一张表
- 使用机构证书为jar包签名
- Hive入门操作使用及常用配置
- FAST特征点检测
- 物料帐结算,库存差异为何在下月初冲回
- leetcode: 80. Remove Duplicates from Sorted Array II
- sql语句纵向转横向