Open ArindamRayMukherjee opened 11 months ago
I have the same issue on linux.
Having a similar issue. Seemed to just randomly start happening. I tried restarting watchman
no luck..
React Native - 0.72.6 Metro - 0.76.8 Watchman - 2023.09.18.00
Seeing this in my terminal where i run metro. Could it be from metro being on different version than RN, not sure if thats a thing?
Waiting for Watchman `query` (10s)...
Waiting for Watchman `query` (30s)...
Waiting for Watchman `query` (50s)...
Watchman `query` finished after 60.0s.
metro-file-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: watchman::QueryExecError: query failed: synchronization failed: syncToNow: timed out waiting for cookie file to be observed by watcher within 60000 milliseconds: Operation timed out. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.
Having a similar issue. Seemed to just randomly start happening. I tried restarting
watchman
no luck..React Native - 0.72.6 Metro - 0.76.8 Watchman - 2023.09.18.00
Seeing this in my terminal where i run metro. Could it be from metro being on different version than RN, not sure if thats a thing?
Waiting for Watchman `query` (10s)... Waiting for Watchman `query` (30s)... Waiting for Watchman `query` (50s)... Watchman `query` finished after 60.0s. metro-file-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: watchman::QueryExecError: query failed: synchronization failed: syncToNow: timed out waiting for cookie file to be observed by watcher within 60000 milliseconds: Operation timed out. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.
have you solved that issue or not? because I am facing same issue please give the solution for it
My react-native/metro/watchman setup is not syncing changes to my JS code for the app.
Versions MacOS(Ventura 13.0) react-native(0.72) iOS simulator/metro(0.76.7) watchman(2023.08.07.00)
Symptoms
1) I run the app using
react-native run-ios
2) Sometimes when the app comes up I see warnings like these(some other times I don't)
3) In watchman logs I see the following appear every minute or so
4) On making a JS change to the app code - a) Pressing
R
on the metro terminal, most of the times the new changes are not reflected b) If I do not pressR
, on some occasions after about 30 seconds of making the change something starts to wake up and I see "Refreshing..." on the iOS simulator. Once that get's done, it seems metro is running two versions of the code(old and new), I see console log statements from both versions of the ocde. If now I pressR
on metro the new code starts to run. c) At times b above just does not happen and metro just keeps running the old code.What could I be doing to fix/diagnose this?