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: query failed: synchronization failed: Permission denied. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html.
Error: Watchman error: query failed: synchronization failed: Permission denied. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html.
at /Users/Ali/Desktop/app/Test/node_modules/react-native/node_modules/node-haste/lib/crawlers/watchman.js:63:11
at process._tickCallback (node.js:368:9)
I tried "watchman watch ~path" , "sudo" & "chmod" but they didn't help me.
Can someone advise me please?
solved by reinstalling watchman
brew update
brew reinstall watchman
cd AwesomeProject, and execute chmod -R 777 *
it still failed.
after i give the permission to the top dir, it work!
chmod 777 AwesomeProject
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With