Questions tagged [watchman]

Questions about the file watching service from Facebook

Watchman is a file watching service that can be used to answer questions about how files have changed in a directory tree over time, or simply to trigger actions as files are changed.

You can read more about it at https://facebook.github.io/watchman

195 questions
563
votes
34 answers

React Native Error: ENOSPC: System limit for number of file watchers reached

I have setup a new blank react native app. After installing few node modules I got this error. Running application on PGN518. internal/fs/watchers.js:173 throw error; ^ Error: ENOSPC: System limit for number of file watchers reached, watch…
Badis Merabet
  • 13,970
  • 9
  • 40
  • 55
65
votes
16 answers

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 file in your project's root folder or initialize a git or hg repository in your project. Error: watchman…
Mandar Belkunde
  • 744
  • 1
  • 5
  • 10
42
votes
1 answer

How to fix `error: invalid command 'bdist_wheel'`?

I try to install watchman on Ubuntu 20.04.01: guettli@yoga15:~/tmp$ python3 -m venv pywatchman-test guettli@yoga15:~/tmp$ cd pywatchman-test guettli@yoga15:~/tmp/pywatchman-test$ . bin/activate (pywatchman-test)…
guettli
  • 25,042
  • 81
  • 346
  • 663
40
votes
10 answers

How to install Watchman on Windows (win10)?

I am trying to install Watchman to my computer for npm for React Native. I opened the docs http://facebook.github.io/watchman/docs/install.html and can't understand how it should be done. Could you please explain me more detailed?
pto3
  • 513
  • 1
  • 5
  • 13
31
votes
1 answer

what is the use of watchman for react native?

Can anybody describe clearly what the use of watchman available in npm library? ----Details I found--- npm - npm is the largest NodeJS package manager NodeJS - Server-side Javascript runtime Watchman - Simple utility that watches files/directories…
Lakshitha Kanchana
  • 844
  • 2
  • 12
  • 32
24
votes
4 answers

Can't find "Python.h" file while installing Watchman

I use Linux Mint 17 'Quiana' and I want to install Watchman to use later Ember.js. Here were my steps: $ git clone https://github.com/facebook/watchman.git then $ cd watchman $ ./autogen.sh $ ./configure.sh and, when I ran make to compile files,…
AlexNikolaev94
  • 1,169
  • 2
  • 16
  • 40
22
votes
9 answers

Error when running watchman

When I run react-native start, I am getting the following message Error: A non-recoverable condition has triggered. Watchman needs your help! The triggering condition was at timestamp=1489123194:…
Geethu Jose
  • 1,953
  • 2
  • 14
  • 30
21
votes
5 answers

Can't use Watchman: "Operation not permitted"

Since updating Watchman recently (with Homebrew) I can no longer use it to watch projects. I get { "version": "2022.05.30.00", "error": "std::__1::system_error: open: /Users/Path/To/Project: Operation not permitted" } I initially assumed…
orome
  • 45,163
  • 57
  • 202
  • 418
21
votes
14 answers

Why "Watchman crawl failed" error in react-native immediately after updating to macOS catalina?

Trying to run react-native run-ios or build RN project from xcode, as soon as metro bundler starts, this error appears in the terminal: Loading dependency graph...jest-haste-map: Watchman crawl failed. Retrying once with node crawler. Usually this…
Jim
  • 1,988
  • 6
  • 34
  • 68
18
votes
5 answers

Serving Firebase Functions doesn't hot reload on Windows

Serving Firebase Functions locally with the firebase serve command is supposed to enable hot reloading but this doesn't seem to work on windows, even with watchman installed. Is there a better solution aside from running npm build after each code…
galki
  • 8,149
  • 7
  • 50
  • 62
18
votes
6 answers

React Native STUCK starting packager

For some reason when I want to start my React Native project, it's stucks at 'Starting Packager...' part. I tried to delete the node packages, and reinstall them, intall them via yarn, npm, but no luck. I got no idea how should I fix this :/ (so…
Istvan Orban
  • 1,607
  • 3
  • 18
  • 34
17
votes
4 answers

How to install facebook watchman on ubuntu?

I got watchman from github link https://github.com/facebook/watchman.git, then I got watchman folder and tried this ./autogen.sh ./autogen.sh: 9: ./autogen.sh: aclocal: not found ./autogen.sh: 10: ./autogen.sh: autoheader: not…
Thor Samsberg
  • 2,219
  • 5
  • 22
  • 30
15
votes
2 answers

Can't link pcre thru brew in max os yosemite

When I install watchman using brew install watchman, it got this Error: You must brew link pcre before watchman can be installed. So I try brew link pcre and brew link --overwrite pcre, I just got linking /usr/local/Cellar/pcre/8.36... Error: Could…
Tom
  • 770
  • 9
  • 18
12
votes
1 answer

Homebrew Permissions for Watchman on Muti-user Mac

I have two users on my Macbook Pro running macOD Mojave 10.14.2 - one for work and one for personal. I set up React Native on both users installing the react native cli & watchman brew install watchman sudo npm install -g react-native-cli This…
yevg
  • 1,846
  • 9
  • 34
  • 70
10
votes
6 answers

jest-haste-map: Watchman crawl failed. Retrying once with node crawler

I just found an error while running the metro of react native it came after upgrading the os the error was jest-haste-map: Watchman crawl failed. Retrying once with node crawler. Usually this happens when watchman isn't running. Create an…
Dongjae0324
  • 103
  • 1
  • 4
1
2 3
12 13