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

bash 复制代码
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

解决方案

bash 复制代码
执行更新命令

 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

bash 复制代码
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

成功解决
相关推荐
GISer_Jing16 小时前
React 18的createRoot与render全面对比
前端·react.js·前端框架
我叫汪枫16 小时前
React Hooks原理深度解析与高级应用模式
前端·react.js·前端框架
我叫汪枫16 小时前
深入探索React渲染原理与性能优化策略
前端·react.js·性能优化
Ares-Wang16 小时前
Vue3》》eslint Prettier husky
开发语言·javascript·ecmascript
EveryPossible17 小时前
静态箭头连线
开发语言·javascript·ecmascript
伍哥的传说17 小时前
QRCode React 完全指南:现代化二维码生成解决方案
前端·javascript·react.js·qrcode.react·react二维码生成·qrcodesvg·qrcodecanvas
listhi52017 小时前
Map对象在JavaScript循环中的使用
开发语言·前端·javascript
雾恋1 天前
最近一年的感悟
前端·javascript·程序员
华仔啊1 天前
Vue3 的 ref 和 reactive 到底用哪个?90% 的开发者都选错了
javascript·vue.js
A黄俊辉A1 天前
axios+ts封装
开发语言·前端·javascript