观看文件更改时出错:EMFILE {“code”:“EMFILE”,“errno”:“EMFILE”,“syscall”:“查看文件更改时出错:”,“filename”:null}?

时间:2017-08-05 08:14:57

标签: ios facebook reactjs mobile react-native-ios

观看文件更改时出错:

  

EMFILE {“code”:“EMFILE”,“errno”:“EMFILE”,“syscall”:“看错了   更改文件:“,”“filename”:null}?

  "dependencies": {
        "react": "16.0.0-alpha.12",
        "react-native": "0.47.1",
        "react-native-router-flux": "^4.0.0-beta.16",
        "react-redux": "^5.0.5",
        "redux": "^3.7.2",
        "redux-thunk": "^2.2.0"
      }

2 个答案:

答案 0 :(得分:4)

您需要通过brew安装watchman

brew install watchman

答案 1 :(得分:-1)

如果您收到错误Error watching file for changes: EMFILE

运行以下命令以解决此问题:

  1. brew uninstall --force watchman
  2. brew link automake
  3. brew install --HEAD watchman