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

成功解决
相关推荐
Data_agent13 分钟前
CNFANS模式淘宝1688代购系统搭建指南
大数据·开发语言·前端·javascript
美酒没故事°18 分钟前
vue3+element 滚动触底加载选择器
javascript·vue.js·ecmascript
澄江静如练_27 分钟前
表单输入绑定
服务器·前端·javascript
狗头大军之江苏分军41 分钟前
Node.js 原生功能越来越强,我们是不是被 npm 玩坏了?
前端·javascript·架构
独自破碎E44 分钟前
TS7016: Could not find a declaration file for module ‘vue-router‘.解决办法
前端·javascript·vue.js
TAEHENGV2 小时前
导入导出模块 Cordova 与 OpenHarmony 混合开发实战
android·javascript·数据库
GISer_Jing2 小时前
交互式圣诞树粒子效果:手势控制+图片上传
前端·javascript
放逐者-保持本心,方可放逐2 小时前
PDFObject 在 Vue 项目中的应用实例详解
前端·javascript·vue.js
捻tua馔...3 小时前
mobx相关使用及源码实现
开发语言·前端·javascript
cypking3 小时前
解决 TypeScript 找不到静态资源模块及类型声明问题
前端·javascript·typescript