记录react native 环境配置 brew install watchman 警告问题

brew install watchman

警告

Warning: You are using macOS 14.
We do not provide support for this pre-release version.
It is expected behaviour that some formulae will fail to build in this pre-release version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

报错

Error: unknown or unsupported macOS version: :dunno

解决方案

执行更新命令

 cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update
 
等待命令结束

No analytics have been recorded yet (nor will be during this `brew` run).

Already up-to-date.

重新安装watchman

brew install watchman
==> Fetching dependencies for watchman: icu4c, xz, lz4, zstd, boost, double-conversion, fmt, gflags, glog, ca-certificates, openssl@3, libevent, libsodium, snappy, folly, edencommon, fizz, wangle, fb303, mpdecimal, readline, sqlite and python@3.11

成功解决
  • 8
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值