Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Error watching file for changes: EMFILE #458

Closed
kirkstrobeck opened this issue May 2, 2017 · 3 comments
Closed

Error: Error watching file for changes: EMFILE #458

kirkstrobeck opened this issue May 2, 2017 · 3 comments

Comments

@kirkstrobeck
Copy link

kirkstrobeck commented May 2, 2017

See jestjs/jest#3436


I know others have posted this issue, but it seems that they are aging and using old versions. I have tried everything from other issues.

Here is the error I get:

$ jest --watch # or with $ jest --watch --no-watchman
2017-05-02 09:49 node[8980] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2017-05-02 09:49 node[8980] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2017-05-02 09:49 node[8980] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
events.js:163
      throw er; // Unhandled 'error' event
      ^

Error: Error watching file for changes: EMFILE
    at exports._errnoException (util.js:1050:11)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1376:11)
error Command failed with exit code 1.

Versions:

  • node: v7.9.0
  • jest: 19.0.2
  • watchman: 4.7.0 (installed via brew)
  • mac: Sierra 10.12.4 (16E195)
@kirkstrobeck
Copy link
Author

May not be watchman

@yogieputra8
Copy link

yogieputra8 commented Nov 4, 2017

@kirkstrobeck Hi, I'm facing the same issue. What is the answer?

@jabezGit
Copy link

I was running into the same issue, and this solved it: #910

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants