-
Notifications
You must be signed in to change notification settings - Fork 999
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
watchman took too long to load with ReactNative #90
Comments
Can you try:
and see if that helps? |
I've got the same error. EDIT: it works...I had to restart all. Thanks! |
If you're arriving here with this issue, please don't just reboot. Help us figure out the root cause by working through the following steps:
|
Can you clarify what you mean by restart all? |
Hi @wez.... Been having this issue on my main account on multiple computers. However, the issue does not come up when creating a new user account. Have done a HEAD install of watchman but to no avail.
|
Here is a gist - https://gist.github.com/kellyjandrews/394097ae8786e2a352a1 |
@rywhee ah, interesting. Can you |
@kellyjandrews what happens if you run |
In all fairness - I could have no idea what I'm doing. :) |
Ok - I went to the folder I'm trying to use this in -
|
@kellyjandrews that actually looks like watchman is working to me. Does the react-native stuff work? Can you do:
|
@wez - watchman watch-list after chmod on the plist:
|
@rywhee sounds like watchman is now working for you; does the react native stuff work now? |
Totally workin - I had to restart my React packager. FWIW - I had a ton of clean up work to brew that I needed to do. Running Not sure which step I did that ended up resolving it, but the out of date-ness may have played a factor. Thanks for the guidance - now I can go play :) |
@wez - Indeed.... live reload working as expected after the permissions change. Thank you! Any idea what that would vary? |
@rywhee I'm guessing that your umask is set differently, causing the plist file to get created with bad permissions. I'll push a diff that forces the permissions to be correct shortly |
Don't rely on the user have the same umask as me, force the permissions to be correct. I'm guessing that the ownership is something that gets fixed on reboot, which would explain why things start working for folks that reboot. Refs #90
@kellyjandrews, @rywhee thanks for working through this with me! |
@wez happy to - appreciate the assistance! |
@wez Anytime |
Hi @wez, I'm getting the same error on OSX 10.9.5. I've tried installing the HEAD version as described above but I'm getting the following when just running
I've tried
Any ideas? Cheers, |
@MarcL what does Did you uninstall watchman between some of these attempts? What does What does |
Had the same issue, was able to resolve it by: removing any pre-existing install of watchman in brew
ran /usr/local/Cellar/watchman/HEAD/bin/watchman became non executable and I kept getting permissions issue the next time I ran so I tried and my issue became fixed. |
Sorry, 81507da fixes this weird permission problem (doh!)
to pick up that change. |
Cool. Thanks |
@wez - This is an FYI in case you need it but it looks like watchman is now working. This is after getting the permissions error and not re-installing watchman:
I've tried reinstalling watchman again (as per your recent commit above) and also removing the plist files as described by @emekanw but I still get the same "invalid command" issue when just running However,
I'm looking forward to playing with React Native and contributing some components back to the community. Cheers, |
Added quick reinstall --HEAD fix for watchman facebook/watchman#90
I think we have this covered now in the react-native docs. We'll soon cut watchman 3.1 and update brew to pick that up, so I'm going to close this issue now. |
@wez thank you! I know this is an old issue but for some reason I had to deal with this issue last night. Glad to get back to work! |
Hi,
I'm facing this error when I run 'npm start' on react-native folder.
[Error: Watcher took too long to load
Try running
watchman
from your terminalhttps://facebook.github.io/watchman/docs/troubleshooting.html]
Error: Watcher took too long to load
Try running
watchman
from your terminalhttps://facebook.github.io/watchman/docs/troubleshooting.html
at null._onTimeout (/Users/niccolo/Desktop/iOS Projects/react-native/packager/react-packager/src/FileWatcher/index.js:71:16)
at Timer.listOnTimeout (timers.js:110:15)
I've just installed watchman via homebrew.
How can I fix this error?
The text was updated successfully, but these errors were encountered: