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

how to install without root privileges ? #124

Closed
akabab opened this issue Aug 6, 2015 · 5 comments
Closed

how to install without root privileges ? #124

akabab opened this issue Aug 6, 2015 · 5 comments

Comments

@akabab
Copy link

akabab commented Aug 6, 2015

it seems necessary to have some root privileges to install watchman. Is it possible to do without ?
from source:
screen shot 2015-08-06 at 13 44 24
from brew: I keep getting abort error when lauching watchman commands
screen shot 2015-08-06 at 12 54 33

So then I can't use react-native, having “Watcher took too long to load” error.

@wez
Copy link
Contributor

wez commented Aug 6, 2015

Homebrew doesn't have watchman 3.7 yet (Homebrew/legacy-homebrew#42519 is tracking that) and it sounds like there is something not quite right with your build environment.

Please try:

brew uninstall --force watchman
brew update
brew install watchman

You do not need to perform a HEAD install (and really should not right now, as we just landed a bunch of slightly experimental code in head).

If the brew build fails, it should suggest some troubleshooting steps to you.

Regarding root privileges, it is not strictly needed to have root privileges, but I have to ask why you don't have root access on your mac, as it seems unusual?

@stefanpenner
Copy link

I suspect homebrew hasn't been set up correctly. The following link: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/FAQ.md#why-does-homebrew-say-sudo-is-bad- may be of value.

@akabab
Copy link
Author

akabab commented Aug 6, 2015

@wez, I'm at school.

@wez
Copy link
Contributor

wez commented Aug 6, 2015

@akabab in that case, I'd recommend that you do something like this:

cd watchman
./configure --prefix=$HOME
make
make install
PATH=$HOME/bin:$PATH

@akabab
Copy link
Author

akabab commented Aug 6, 2015

thanks @wez

@akabab akabab closed this as completed Aug 6, 2015
facebook-github-bot pushed a commit that referenced this issue Jan 27, 2023
Summary:
X-link: facebook/fboss#124

X-link: facebookincubator/reindeer#6

X-link: facebook/sapling#497

X-link: facebook/mvfst#284

X-link: facebook/wangle#212

X-link: facebookincubator/velox#3785

X-link: facebookexperimental/rust-shed#37

X-link: facebook/hhvm#9317

X-link: facebookexperimental/edencommon#6

X-link: facebookincubator/hsthrift#108

X-link: facebook/proxygen#436

X-link: facebookincubator/katran#183

X-link: facebook/openr#143

X-link: facebook/fbthrift#536

X-link: facebook/fb303#33

X-link: facebook/folly#1924

FBOSS OSS on-diff job is failing due to random test failures.

Disabling the tests for now to avoid build breakages.

Reviewed By: shri-khare

Differential Revision: D42550176

fbshipit-source-id: a40a4d39c2176e4a201f6c49c6e7837c4c7c90e5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants