react-native运行样例报错:Error watching file for changes: EMFILE
Posted YanceChen2013
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了react-native运行样例报错:Error watching file for changes: EMFILE相关的知识,希望对你有一定的参考价值。
Error watching file for changes: EMFILE
“code”:”EMFILE”,”errno”:”EMFILE”,”syscall”:”Error watching file for changes:”,”filename”:null
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1008:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1406:11)
有人说:升级最新MacOS系统后,需要重新安装一次brew install watchman
此时会提示你:
Error: You must brew link autoconf automake
before watchman can be installed
VictordeMacBook-Pro:AwesomeProject victor$ brew link autoconf automake
在brew install watchman之前要:brew link autoconf automake
终端输入命令,重新运行就可以了
以上是关于react-native运行样例报错:Error watching file for changes: EMFILE的主要内容,如果未能解决你的问题,请参考以下文章
Spark执行样例报警告:WARN scheduler.TaskSchedulerImpl: Initial job has not accepted any resources
运行命令“npx react-native start”后出错
pytest文档53-命令行实时输出错误信息(pytest-instafail)
react-native deploy to android device error 3 活动类不存在
SyntaxError - node_modules/react-native/Libraries/polyfills/error-guard.js:缺少分号。 (14:4) 在 react nati