[绍棠] 解决Mac OS X10.12下 Error watching file for changes: EMFILE及`brew link autoconf automake`错误
2017-11-21 10:07
871 查看
发现跑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
官方文档介绍了一些安装使用方法以及错误解决方案,英文不错的同学可以去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安装成功!
查找资料后发现原来是升级后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`错误
- MacOS Sierra下运行react-native start出现Error watching file for changes: EMFILE问题解决
- Error watching file for changes: EMFILE {"code":"EMFILE","errno":错误解决办法【ReactNative】
- react native 运行Android Error watching file for changes: EMFILE问题解决( Mac os)
- 运行React Native项目时出现Error watching file for changes: EMFILE问题解决
- react-native运行样例报错:Error watching file for changes: EMFILE
- react-native运行样例报错:Error watching file for changes: EMFILE
- React Native 报错误“Error watching file for changes: EMFILE”
- Mac OS X 编译android内核 error: elf.h: No such file or directory 的解决方法
- #error This file requires compiler and library support for the ISO C++ 2011错误解决办法
- 如何解决Error - cannot open input file C /postproc/nlscfg.inf fmerge for Windows CE (Release)
- 解决:ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad o
- MAC下解决pip安装权限问题 OSError: [Errno 13] Permission denied OSError: [Errno 1] Operation not permitted:
- 【OC错误】:fatal error: file '/Applications/Xcode 2.app/Contents/Developer/Platforms/MacOSX.platform/Dev
- Android项目在Eclipse上运行正常,在AS上出错解决办法(AAPT err(Facade for 1867654195): libpng error: Not a PNG file)
- 解决:ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad o
- Android Gradle Build Error:Some file crunching failed, see logs for details解决办法
- Error: Could not resolve SDK path for 'macosx10.8'
- 解决案例:ORA-00205: error in identifying control file, check alert log for more info
- Android项目在Eclipse上运行正常,在AS上出错解决办法(AAPT err(Facade for 1867654195): libpng error: Not a PNG file)