您的位置:首页 > Web前端 > React

react-native运行样例报错:Error watching file for changes: EMFILE

2017-06-09 16:57 411 查看
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 EMFILE
相关文章推荐