-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 #3436
Comments
This problem exists with the following versions
It works in
|
Does it happen in v20? |
Yes, the error is present in 2017-05-08 05:30 node[6062] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2017-05-08 05:30 node[6062] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2017-05-08 05:30 node[6062] (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. |
And have you tried it with watchman ( |
Yes |
Any chance for a repro? It's hard to debug without it :( |
|
Same here, it did not work with
I installed watchman using brew, and Jest v20.0.4 |
I get similar error when i install "pact" and then i tried to run npm test. I using create-react-app to setup my project and using node v7.9.0 |
new sane version fixed this error for me see amasad/sane#97 (comment) |
Same problem, |
|
Upgrade jest to address issue jestjs/jest#3436
Upgrade jest to address issue jestjs/jest#3436
|
I had this error, but found that if I changed the command I used to run jest in watch mode, it worked.
became:
|
brew install watchman worked... until it didn't... :-/ quit my tests and ran it again. And we're back at square one. uninstalled watchman, reinstalled watchman. no-dice. |
|
Yeah! |
Yeah! |
Yeah! brew install watchman for work (3) |
ditto to watchman |
The extra
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
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:
Versions:
The text was updated successfully, but these errors were encountered: