解决Mac OS X10.12下 Error watching file for changes: EMFILE及`brew link autoconf automake`错误
来源:互联网 发布:街机网络对战平台 编辑:程序博客网 时间:2024/05/29 08:13
把Mac系统升级到10.12后发现跑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
- 遇到迷惑时,不用抛硬币了!!!
- java运行的程序占用哪些资源如何优化
- Linux应急常用命令
- xcode,在webView中引入本地html,image,js,css文件的方法
- Matlab与线性代数 -- 矩阵的秩
- 解决Mac OS X10.12下 Error watching file for changes: EMFILE及`brew link autoconf automake`错误
- Backbone入门指南(三):Events(事件管理)
- Android-键盘遮挡登录或注册按钮
- [BZOJ3450]Easy(期望dp)
- 关于go语言中的Slice切片问题
- 《深入理解jvm》读书笔记之——类加载机制(类的初始化)
- IE不支持js的checkbox遍历使用for in语法
- IOS 在自己的app内唤起地图APP
- 295. Find Median from Data Stream