Questions tagged [watchman]

Questions about the file watching service from Facebook

Filter by
Sorted by
Tagged with
389votes
25answers
303kviews

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 ...
user avatar
36votes
8answers
41kviews

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 ...
user avatar
  • 458
27votes
1answer
15kviews

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 (...
user avatar
  • 24.6k
26votes
1answer
33kviews

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 ...
user avatar
24votes
4answers
12kviews

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 $ ./...
user avatar
18votes
5answers
8kviews

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 ...
user avatar
  • 1,307
17votes
4answers
10kviews

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:...
user avatar
  • 1,951
17votes
8answers
15kviews

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: ...
user avatar
  • 1,721
15votes
2answers
7kviews

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 ...
user avatar
  • 700
11votes
9answers
11kviews

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 ...
user avatar
  • 1,468
11votes
7answers
20kviews

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 ...
user avatar
11votes
5answers
6kviews

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 ...
user avatar
  • 6,766
9votes
1answer
6kviews

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 ...
user avatar
  • 1,536
9votes
9answers
23kviews

Hot Reload not working in react-native android

I tried it on windows 10 and Ubuntu 16.04. In both cases the Hot Reload only works with changes in jsx, but not, when I change a variabel or function or something else in javascript. The Hot Reload is ...
user avatar
  • 203
9votes
0answers
2kviews

react native ios build take long time

React native project I build in Xcode, always stuck on "Running 2 of 4 custom shell script" and take nearly 5 min to continue. After that the bundling process in react packager also take very long ...
user avatar
  • 2,421
8votes
2answers
2kviews

Watchman Error with ember-cli

I am trying to follow the examples in Ember 101. I have worked through this code once before without any issue. After reinstalling my ubuntu 14.04 for unrelated reasons I am getting an error [see ...
user avatar
  • 1,909
7votes
2answers
8kviews

watchman.plist permission denied when running a react-native initial project

I'm start using react-native and I followed the tutorials on the website, but when running the example project, it returned some error messages on the terminal: Looking for JS files in /Users/...
user avatar
  • 107
7votes
2answers
3kviews

How to watch react-native node_modules changes

When I run react-native start or npm start the packager starts and prompts to be Looking for JS files in /Users/map/repos/myrepo/ I've got Hot reloading enabled. When I change a file located within /...
user avatar
  • 4,064
7votes
1answer
1kviews

Configuring watchman in ember-cli

In my ember-cli app, .watchman config file, I've mentioned what directories to ignore while watching, like "ignore_dirs": ["tmp"]. Now I want to watch files in a directory which is outside my app ...
user avatar
7votes
3answers
518views

Watcher took too long time to load(NodeWatcher) - React Native

I am trying to run already built application in my mobile. When i start the app with "react-native start" code, it returns the following error message after some time ERROR Watcher took too long to ...
user avatar
  • 1,656
7votes
2answers
2kviews

ember cli could not find watchman on ubuntu, there is only solution for mac not for ubuntu

ember -v version: 2.3.0 Could not start watchman; falling back to NodeWatcher for file system events. Visit http://www.ember-cli.com/user-guide/#watchman for more info. node: 5.0.0 os: linux x64 ...
user avatar
  • 437
6votes
3answers
11kviews

React Native `npm start` with watchman error

I was first getting this issue: https://github.com/facebook/react-native/issues/10088 Then I followed this solution to resolve for that issue: https://github.com/facebook/react-native/issues/910#...
user avatar
  • 2,295
6votes
1answer
2kviews

FSEvents error when running create-react-native-app tests

I am getting the following errors when running yarn run test on a create-react-native-app: $ yarn run test yarn run v1.0.1 $ node node_modules/jest/bin/jest.js --watch 2017-09-13 14:53 node[2839] (...
user avatar
  • 867
6votes
1answer
3kviews

Error when starting watchman

hi when i want to start my app with 'react-native start', i get this error. Somebody know what to do? I tried to change the permission of the watchman folder and the project folder to chmod -R 777 '...
user avatar
  • 1,405
6votes
1answer
953views

Wrong version of Watchman. Version found: 2021.09.06.00 Version supported: 4.x

After expo eject I run npx @react-native-community/cli doctor It shows ✖ Watchman - Used for watching changes in the filesystem when in development mode Version found: 2021.09.06.00 Version supported:...
user avatar
  • 61
6votes
0answers
828views

Watchman keep crashing when I developing react-native

OS:macOS 10.12.6 node -v 6.9.0 npm -v 3.10.8 watchman -v 4.9.0 installed via brew create-react-native-app --version:1.0. As I found, watchman fails to work after I change several files, although it ...
user avatar
  • 317
6votes
0answers
708views

Expo watchman Hot reloading not detecting code change in Docker volume

We are currently building a react-native app with expo inside a Docker container. This Expo-app uses watchman to handle hot reloading. Is there a polling mechanism which constantly polls the code in ...
user avatar
6votes
1answer
1kviews

How can I direct output of watchman trigger to terminal on OS X instead of watchman log file

I am using the following line to watch a directory and run a script on changes: watchman -- trigger my_directory runTransitionChecker '*' -- ruby ./my_script.rb Everything works as I expect except ...
user avatar
  • 8,259
5votes
5answers
8kviews

React-Native Failed to build DependencyGraph: Watchman error

I getting this error when I want to run my project on Android emulator. [Hot Module Replacement] Server listening on /hot React packager ready. Failed to build DependencyGraph: Watchman error: ...
user avatar
5votes
2answers
2kviews

watchman: error while loading shared libraries: libpcre.so.1

I'm on Ubuntu 15.10 and I am developing an Android (SDK 23) app using react-native (0.20.0). I'm using node 5.6.0 and npm 3.6.0. I encountered a watchman error when running react-native start ERROR ...
user avatar
4votes
1answer
7kviews

Do I need to keep .watchmanconfig file in react-native project

default react native project generates .watchmanconfig file that is simply empty object {}, can I safely delete this? A subquestion would be: is there any watchman configuration I can do / refference ...
user avatar
  • 40.4k
4votes
3answers
1kviews

Installing watchman when having a non-standard homebrew install

I am using React Native which needs watchman. When running react-native run-ios, I see this error. watchman --no-pretty get-sockname returned with exit code=1, signal=null, stderr= 2017-05-05T08:17:...
user avatar
  • 4,791
4votes
1answer
973views

Cannot read property 'root' of null React Native iOS

I have been facing this issue since yesterday and am unable to resolve. I have gone through all github issues filed for react native and watchman, none helped to resolve the issue. When I try to ...
user avatar
  • 13k
4votes
2answers
1kviews

when using Watchman's watch-make I want to access the name of the changed files

I am writing a watchman command with watchman-make and I'm at a loss when trying to access exactly what was changed in the directory. I want to run my upload.py script and inside the script I would ...
user avatar
4votes
1answer
2kviews

"Error watching file for changes: EMFILE" when init a react-native project

I want to init a react-native project, and steps: First react-native init testproject then react-native run-ios Error watching file for changes: EMFILE {"code":"EMFILE","errno":"EMFILE","syscall":"...
user avatar
4votes
1answer
105views

Error received: "unable to resolve root". How to grant access to watchman?

I installed a react-native starter project and when running, it asked to grant permission to watchman to access my system's files. I naively declined, but now I get the following error whenever trying ...
user avatar
4votes
0answers
3kviews

Installing watchman for Reach Native in Mac OS X Catalina

I'm having trouble getting the latest version of Watchman to install property on Mac OS X Catalina. I am using Homebrew 2.2.1. I get this error when doing a clean install of brew install watchman. ==...
user avatar
  • 13.9k
4votes
1answer
2kviews

Building react native project on xcode takes for ever (very slow) on the process Running 1 of 1 custom shell script

It seems a strange behavior. I have zsh and for development I use nvm But I also seem to have node installed by brew. The packager runs but the xcode appears to wait till the packager is ready but ...
user avatar
  • 372
4votes
0answers
573views

Watchman: failed to identify PDU: fill_buffer: EOF

I built a Android APP with React-Native. But when I run react-native run-android I got this error Watchman: failed to identify PDU: fill_buffer: EOF. [3:42:00 PM] <END> Building Dependency ...
user avatar
  • 272
4votes
0answers
324views

watchman, how to wait until file has copied before subscribe event emits

I am watching a directory and subscribed to any files that are added. When I get a subscribe event, I move that file to another directory where I do some stuff. Issue: When I copy files into that ...
user avatar
  • 171
3votes
6answers
24kviews

the command `brew install watchman` runs `chmod` but fails to install eventually

brew install --HEAD watchman ==> Cloning https://github.com/facebook/watchman.git Updating /Library/Caches/Homebrew/watchman--git ==> Checking out branch master ==> ./autogen.sh ==> ./...
user avatar
  • 1,684
3votes
4answers
3kviews

Homebrew can't install Watchman: No similarly named formulae found | MacOS Big Sur

Homebrew error screen capture Anybody know why my Homebrew can't install any packages and keep showing this error? I've tried to install watchman but homebrew shows me this error, then I tried to ...
user avatar
3votes
3answers
2kviews

React-native Fast Refresh broken

recently my Fast Refresh stopped working across ALL of my react native projects, I have even tried init-ing a new project and it is not working there too I have tried all the attempts below: -. ...
user avatar
  • 4,966
3votes
1answer
4kviews

ember CLI - "Could not find watchman, falling back to NodeWatcher for file system events installing"

While using ember CLI, I get this: version: 0.1.5 Could not find watchman, falling back to NodeWatcher for file system events I don't really care if it uses watchman or NodeWatcher ... - but I don't ...
user avatar
  • 8,510
3votes
2answers
5kviews

watchman warning in react native app running through expo

While running react native app using expo, I am getting this warning on watchman. watchman warning: opendir(/Users/saashwath/Library/Caches/CloudKit/com.apple.Safari) -> Operation not permitted. ...
user avatar
3votes
2answers
1kviews

Watchman: Library/LaunchAgents/com.github.facebook.watchman.plist for write: Not a directory

I'm trying to run a basic react native project (tutorial) on Mac, but when running emulator or deploying to a device I'm getting this: Error: watchman--no-pretty get-sockname returned with exit code ...
user avatar
  • 1,555
3votes
1answer
1kviews

compiling python file with Watchman

what's the best way to capture files/path info from watchman to pass to 'make' or another app? here's what im trying to achieve: when i save a .py(s) file on the dev server, i'd like to retrieve ...
user avatar
3votes
1answer
4kviews

ERR! code ELIFECYCLE while running npm start

I've run npm start, npm run start, sudo npm start and sudo npm run start, yarn start, sudo yarn start and am getting the same error: Loading dependency graph...jest-haste-map: Watchman crawl failed. ...
user avatar
  • 1,035
3votes
0answers
651views

cli : unable to talk to your watchman

I am new to React Native and I am trying to set up my development environment on Windows 8.1 as described in the official documentation. But I have a problem Steps : react-native init ...
user avatar
3votes
0answers
636views

React Native javascript changes not reflecting in ios simulator

I'm building a React Native application, and the javascript code updates are not reflecting in the ios Simulator. I have restarted the development server with react-native start and react-native start ...
user avatar

15 30 50 per page