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

来源:互联网 发布:淘宝自动提货机器人 编辑:程序博客网 时间:2024/05/20 09:48

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
终端输入命令,重新运行就可以了

阅读全文
0 0