当前位置:   article > 正文

记录react native 环境配置 brew install watchman 警告问题_warning: you are using macos 14. we do not provide

warning: you are using macos 14. we do not provide support for this pre-rele
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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19

解决方案

执行更新命令

 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.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

重新安装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

成功解决
  • 1
  • 2
  • 3
  • 4
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/465518
推荐阅读
相关标签
  

闽ICP备14008679号