npm test error for create-react-app

2019-03-01 06:06发布

I'm getting this error when I run npm run test for a create-react-app application for the sample test provided. I tried looking for the EMFILE error but I'm unable to understand what's going wrong.

Error: Error watching file for changes: EMFILE at exports._errnoException (util.js:1022:11) at FSEvent.FSWatcher._handle.onchange (fs.js:1406:11)

1条回答
兄弟一词,经得起流年.
2楼-- · 2019-03-01 06:52

I had the same issue and discovered watchman was not installed. Run brew install watchman.

查看更多
登录 后发表回答