Skip to content

Watchman errors when doing a detox build #2180

@Fishbowler

Description

@Fishbowler
  • Your Rocket.Chat Experimental app version: 4.7.1
  • Your Rocket.Chat server version: n/a
  • Device (or Simulator) you're running with: iOS 13.5

When preparing to run test, I first build by running:
detox build -c ios.sim.release

Early on in the process, this sometimes occurs:

jest-haste-map: Watchman crawl failed. Retrying once with node crawler.
Usually this happens when watchman isn't running. Create an empty .watchmanconfig file in your project's root folder or initialize a git or hg repository in your project.
Error: Watchman error: too many pending cache jobs. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html.

Build still succeeds, but it's slow. Maybe it's always slow, or maybe this is causing some suboptimal behaviour 🤷

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions