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
最新推荐文章于 2023-01-09 11:07:51 发布