2017-08-05 57 views
1

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

EMFILE {"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","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" 
     } 
+0

得到同样的错误: “错误看文件更改:EMFILE {” 代码 “:” EMFILE “,”errno“:”EMFILE“,”syscall“:”错误监视文件的更改:“,”文件名“:空} 错误:观察文件更改时出错:EMFILE at exports._errnoException(util.js:1050 :11) at FSEvent.FSWatcher._handle.onchange(fs.js:1374:11)“ – Tom

回答

3

您需要通过BREW安装watchman

brew install watchman 
-1

如果你所得到的误差为Error watching file for changes: EMFILE

运行这些命令来解决这个问题:

  1. 酿造卸载--force守望
  2. 酿造环节的automake
  3. 酿造安装--HEAD守望