记录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 [email protected]

成功解决
相关推荐
TE-茶叶蛋4 分钟前
React & Vue 编译/运行流程
前端·vue.js·react.js
kuiini9 分钟前
学习 React【Plan - June - Week 1】
前端·react.js
Hilaku11 分钟前
低代码是“未来”还是“骗局”?作为前端我被内耗到了
前端·javascript·低代码
我想说一句19 分钟前
今天我又被JavaScript的this绑架了!🚨
前端·javascript·面试
AR731 分钟前
基于 VuePress 2.x 与 ElementPlus 的组件库文档搭建实践
前端·javascript
前端康师傅32 分钟前
JavaScript 数据类型详解:从基础到深入
前端·javascript
AR734 分钟前
前端业务组件封装与管理的解决方案
前端·javascript
Hilaku38 分钟前
每天都在用的 debounce 和 throttle,其实 80% 的用法都错了
前端·javascript·面试
架构个驾驾38 分钟前
前端微服务框架乾坤(Qiankun)实战指南
前端·javascript·vue.js
ch_s_t39 分钟前
Babylon.js引擎(二)
开发语言·javascript·ecmascript