Watchman crawl failed. Retrying once with node crawler

后端 未结 5 1251
礼貌的吻别
礼貌的吻别 2021-02-14 23:16

Watchman crawl failed. Retrying once with node crawler. Usually this happens when watchman isn\'t running. Create an empty .watchmanconfig file i

5条回答
  •  旧巷少年郎
    2021-02-14 23:28

    You're running watchman as root but the state dir, which may contain trigger definitions and thus allow spawning arbitrary commands, is not owned by root. This is a security issue and thus watchman is refusing to start.

    The safest way to resolve this is to remove the state dir by running:

    rm -rf /usr/local/var/run/watchman/root-state

    I'd recommend that you avoid running tools that wish to use watchman using sudo to avoid this happening again.

提交回复
热议问题