node[1265] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
This happens when running npm t -- --watch
. On my system node v7.4.0 it works fine. On my fellow coworker (node v7.9) it fails.
This question here asks the exact problem:
Testing with Jest failed with Error: Error watching file for changes: EMFILE
However the fix "install watchman" didn't work.
We did brew install watchman
then brew postinstall watchman
Then when trying to run npm t -- --watch
again we get a new error:
/Users/user/Library/LaunchAgents/com.github.facebook.watchman.plist: Operation not permitted
Anyone else running into a problem with jest watch
?
The regular npm t
will work.