记录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

成功解决
相关推荐
杉氧27 分钟前
状态管理变迁史:为什么我们放弃了 Redux 选择 Zustand?
android·前端·react native
鹏多多1 小时前
PC 网站接入微信登录,这 10 个坑我替你踩完了!
前端·javascript·vue.js
BreezeJiang2 小时前
为什么生成了 dist,项目还是可能跑不起来?从一个 React + Express + MySQL 项目看部署闭环
nginx·react.js
奴心2 小时前
我受够了 value / defaultValue / onChange 三连——一个 prop 重构 React 受控组件
react.js
用户298698530142 小时前
React 中 HTML 内容转 Word 文档的实现方案
javascript·react.js·html
mONESY2 小时前
我用 Next.js 16 + Supabase 从零做了个「背单词」H5 应用
javascript
boooooooom2 小时前
手把手做一个图 RAG 烹饪问答系统:Neo4j + Milvus + LLM 的工程实践
前端·javascript·后端
染指11105 小时前
103.RAG-LLamaIndex后端rag问答-聊天接口
前端·javascript·vue.js·人工智能
浮生望12 小时前
React JWT 登录鉴权实战:Zustand 状态管理 + Axios 拦截器 + 路由守卫完整链路
react.js
单线程_0113 小时前
从案例分析 Vue3 Tokenizer+Parser 源码三
前端·javascript·vue.js