我用 React-Native 构建了一个 Android APP。但是当我运行时,react-native run-android
我得到了这个错误Watchman: failed to identify PDU: fill_buffer: EOF
。
[3:42:00 PM] <END> Building Dependency Graph (2049ms)
[sane] Warning: Lost connection to watchman, reconnecting..
[sane] Warning: Lost connection to watchman, reconnecting..
2016-06-18T15:42:03,841: [cli] failed to identify PDU: fill_buffer: EOF
2016-06-18T15:42:03,842: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/4.5.0/var/run/watchman/kevin-state/sock! (Undefined error: 0)
2016-06-18T15:42:03,841: [cli] failed to identify PDU: fill_buffer: EOF
2016-06-18T15:42:03,842: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/4.5.0/var/run/watchman/kevin-state/sock! (Undefined error: 0)
Watchman: watchman--no-pretty get-sockname returned with exit code 1 2016-06-18T15:42:03,841: [cli] failed to identify PDU: fill_buffer: EOF
2016-06-18T15:42:03,842: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/4.5.0/var/run/watchman/kevin-state/sock! (Undefined error: 0)
ERROR watchman--no-pretty get-sockname returned with exit code 1 2016-06-18T15:42:03,841: [cli] failed to identify PDU: fill_buffer: EOF
2016-06-18T15:42:03,842: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/4.5.0/var/run/watchman/kevin-state/sock! (Undefined error: 0)
Error: watchman--no-pretty get-sockname returned with exit code 1 2016-06-18T15:42:03,841: [cli] failed to identify PDU: fill_buffer: EOF
2016-06-18T15:42:03,842: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/4.5.0/var/run/watchman/kevin-state/sock! (Undefined error: 0)
当我开始时它也会得到react-native start
。