Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build DependencyGraph: Watchman error #7675

Closed
aliajoudanian opened this issue May 21, 2016 · 8 comments
Closed

Failed to build DependencyGraph: Watchman error #7675

aliajoudanian opened this issue May 21, 2016 · 8 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@aliajoudanian
Copy link

aliajoudanian commented May 21, 2016

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.

@zeroleo12345
Copy link

i have the same problem. and maybe this cause the emulator could not connect to development server.
still finding solution.

@zeroleo12345
Copy link

cd AwesomeProject, and execute chmod -R 777 * it still failed.
after i give the permission to the top dir, it work!
chmod 777 AwesomeProject

@neverlous
Copy link

same issue

@ide
Copy link
Contributor

ide commented Sep 19, 2016

Can you post your watchman version if you are commenting on this issue? The latest version is 4.7.0 so try upgrading if you have an old version.

@neverlous
Copy link

I don't know why, it is OK when I uninstall watchman. Can't understand....

@sajjidakr
Copy link

anyone figured out the solution yet ?

@RGTimothy
Copy link

If you are using ubuntu, try to run it with superuser mode. Run sudo su first, input your password, then try again to run your project.
This is working for me.

@hramos
Copy link
Contributor

hramos commented May 25, 2017

Closing this issue because it has been inactive for a while. If you think it should still be opened let us know why.

@hramos hramos closed this as completed May 25, 2017
@hramos hramos added the Icebox label May 26, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Jul 19, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

8 participants