-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Relay Compiler & Relay LSP broken on latest watchman on homebrew #4874
Comments
Are you having other issues with Watchman at this point, or does it seem to only be impacting Relay compiler? |
@captbaritone Issues all-together. It seems to be an issue with the latest version that is published to homebrew (which is quite a few versions out of data). However it looks like the effort to update watchman in brew is facing a bunch of issues |
Same case here. After updating watchman using homebrew on WSL, relay dev stopped working & it keeps throwing this error:
I tried:
but nothing is working so far... Have you managed to solve the issue somehow or find a workaround? |
@MTG2000 No sadly l haven't gotten it to work, my "work-around" now is to uninstall |
A temporary workaround for this problem is to use a tool that can watch the npm script, such as turborepo. |
@sho-pb |
Hey,
TLDR: do not install the latest version of watchman on homebrew.
The latest version of watchman published on the homebrew repository, is currently not working, and failing out due to various issues that can be seen here: facebook/watchman#1264.
I understand that watchman published on homebrew is a community effort, but sadly that has been stuck in trying to get the latest versions to work. (as seen here: Homebrew/homebrew-core#201422).
I have also tried to to install a previous version of watchman on homebrew, but that fails on building.
I have also tried to build the project from source, but again that has failed due to
folly
exceptions.I'm currently running on WSL2 hardware, and have 0 issues with relay until now, and it looks like relay heavily depends on watchman for a smooth developer experience.
Any help would be appreciated, l realise that this is not specifically a relay issue, however this does heavily impact the local development environment.
The text was updated successfully, but these errors were encountered: