简体   繁体   中英

Watchman installation fails on mac os version 10.12

I'm trying to set up the development environment for react-native on my MacBook Pro 2012. I'm trying to install watchman with Homebrew as the documentation suggests but I get this error and the build fails:

Error: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull-requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

I'm fairly new to mac os and I don't know how to fix this. I read a lot about it and there does not seem to be a fix for my situation.

I am sorry about your installation issue, but homebrew does only support the latest macOS three versions, which would be Mojave (10.14), Catalina (10.15), BigSur (11.0).

With the most recent release Monterey (12.0), the Mojave artifact would be dropped pretty soon. So you can to build from source yourself.

I would recommend you to upgrade to a more recent macOS version to have a smooth formula installation experience.

I have managed to install facebook watchman in High Sierra 10.13.6 using MacPort tools.

1- Download MacPorts package related to your version from: https://www.macports.org/install.php#installing

2- Extract and install it.

3- Run $sudo port -v selfupdate for any update.

4- Once successfully installed run the command: sudo port install watchman

For more details go: https://facebook.github.io/watchman/docs/install.html https://www.macports.org/install.php#installing

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM