Skip to content

Instantly share code, notes, and snippets.

@steveluscher
Created September 4, 2022 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveluscher/d0ae13225b57bc59dc0eac871509dcd7 to your computer and use it in GitHub Desktop.
Save steveluscher/d0ae13225b57bc59dc0eac871509dcd7 to your computer and use it in GitHub Desktop.
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: std::__1::system_error: open: /Users/alice/Documents/SolanaReactNative: Operation not permitted. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.
node:events:491
throw er; // Unhandled 'error' event
^
Error: std::__1::system_error: open: /Users/alice/Documents/SolanaReactNative: Operation not permitted
at BunserBuf.<anonymous> (/Users/alice/Documents/SolanaReactNative/node_modules/fb-watchman/index.js:95:23)
at BunserBuf.emit (node:events:513:28)
at BunserBuf.process (/Users/alice/Documents/SolanaReactNative/node_modules/bser/index.js:292:10)
at /Users/alice/Documents/SolanaReactNative/node_modules/bser/index.js:247:12
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
Emitted 'error' event on WatchmanWatcher instance at:
at Client.<anonymous> (/Users/alice/Documents/SolanaReactNative/node_modules/metro/node_modules/jest-haste-map/build/watchers/WatchmanWatcher.js:150:10)
at Client.emit (node:events:513:28)
at BunserBuf.<anonymous> (/Users/alice/Documents/SolanaReactNative/node_modules/fb-watchman/index.js:107:12)
at BunserBuf.emit (node:events:513:28)
at /Users/alice/Documents/SolanaReactNative/node_modules/bser/index.js:249:12
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
watchmanResponse: {
error: 'std::__1::system_error: open: /Users/alice/Documents/SolanaReactNative: Operation not permitted',
version: '2022.07.04.00'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment