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

成功解决
相关推荐
Maer0910 分钟前
Cocos Creator3.x设置动态加载背景图并且循环移动
javascript·typescript
大怪v23 分钟前
前端恶趣味:我吸了juejin首页,好爽!
前端·javascript
反应热37 分钟前
浏览器的本地存储技术:从 `localStorage` 到 `IndexedDB`
前端·javascript
刘杭38 分钟前
在react项目中使用Umi:dva源码简析之redux-saga的封装
前端·javascript·react.js
某公司摸鱼前端42 分钟前
js 如何代码识别Selenium+Webdriver
javascript·selenium·测试工具·js
有一个好名字1 小时前
Vue Props传值
javascript·vue.js·ecmascript
pan_junbiao1 小时前
Vue使用axios二次封装、解决跨域问题
前端·javascript·vue.js
秋沐1 小时前
vue3中使用el-tree的setCheckedKeys方法勾选失效回显问题
前端·javascript·vue.js
南斯拉夫的铁托3 小时前
(PySpark)RDD实验实战——取最大数出现的次数
java·javascript·spark
GoppViper3 小时前
uniapp js修改数组某个下标以外的所有值
开发语言·前端·javascript·前端框架·uni-app·前端开发