node[1265] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)jest --watch(npm t --watch)throwing errors
これはnpm t -- --watch
を実行しているときに発生します。私のシステムノードv7.4.0では正常に動作します。私の仲間の同僚(ノードv7.9)では失敗します。
ここにこの質問は、正確な問題を尋ねる:
Testing with Jest failed with Error: Error watching file for changes: EMFILE
修正プログラムは動作しませんでした "夜警がインストール" が。再びnpm t -- --watch
を実行しようとしたときに我々はbrew install watchman
その後、brew postinstall watchman
をした
はその後、我々は新しいエラーを取得:他に
/Users/user/Library/LaunchAgents/com.github.facebook.watchman.plist: Operation not permitted
誰もがjest watch
での問題に実行していますか?
普通のnpm t
が動作します。