question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Watchman crawl failed.

See original GitHub issue

I’m running into this error on master with a project created with npm run create-react-app ../test

jest-haste-map: Watchman crawl failed. Retrying once with node crawler. Error: Watchman error: resolve_projpath: none of the files listed in global config root_files are present in path /Users/vjeux/random/test or any of its parent directories. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html.

screen shot 2016-08-03 at 9 52 57 am

I came up with the “Painless unit testing” sentence. It’s now a reality 😃

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:28 (13 by maintainers)

github_iconTop GitHub Comments

16reactions
gaearoncommented, Aug 3, 2016

None of these words make any sense to our users: jest-haste-map watchman crawl node crawler resolve_projpath config root_files. They shouldn’t be in our messages.

If we recommend installing Watchman we should explain why and what it gives you (faster watching)? The message should not include any references to configs and jargon.

7reactions
theapache64commented, Jun 19, 2018

watchman shutdown-server worked for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Watchman crawl failed. Retrying once with node crawler
Watchman crawl failed. Retrying once with node crawler. Usually this happens when watchman isn't running. Create an empty .watchmanconfig ...
Read more >
Error: jest-haste-map: Watchman crawl failed. Retrying once ...
Retrying once with node crawler. Usually this happens when watchman isn't running. Create an empty `. watchmanconfig` file in your project's ...
Read more >
FIXED Watchman Crawl Failure - YouTube
In this video I walk you through repairing the Watchman Crawl failure error. 01:17 Terminal code for fixes02:17 Explanation of the fixThis ...
Read more >
jest-haste-map: watchman crawl failed. retrying once with ...
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 ......
Read more >
How to solve Error jest-haste-map Watchman crawl failed.
Here is the solution on how to solve Error: jest-haste-map: Watchman crawl failed. Retrying once with node crawler when running Jest Test.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found