mac 安装 brew 卡在安装过程不动

news/2024/7/16 10:18:37 标签: macos, xcode, ide

problem

mac 安装 brew 卡在安装过程不动

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The Xcode Command Line Tools will be installed.

Press RETURN to continue or any other key to abort:
==> /usr/bin/sudo /usr/sbin/chown -R jackie.huang:admin /usr/local/Homebrew
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress

solution

安装xcdoe
Command Line Tools for Xcode 13.1
https://developer.apple.com/download/all/?q=Command%20Line%20Tools
iCloud账号+text信息(注意要选择)接受手机短信


http://www.niftyadmin.cn/n/1462999.html

相关文章

如何 vscode 文件标签栏多行显示?

ref https://blog.csdn.net/mj475002864/article/details/115456004 如何 vscode 文件标签栏多行显示? 步骤: ctrl shift p输入:open workspace settings搜索:wrap勾选:wrap tabs 设置之后 第二次打开vscode 还是…

查看git提交记录好用的2条命令

查看git提交记录好用的2条命令 前提条件 # 前提条件 git version > 1.8.4 [rootiZbp1560750pcozwmd20reZ note-front-js] % git --version git version 2.35.1命令1 # 命令1:git blame -L 11,10 -- ./var/1.type.md # 功能:查看文件1.typ…

[vue]vue.config.js: “plugins“ is not allowed

vue.config.js: “plugins” is not allowed problem vue-cli 创建vue工程,生成 vue.config.js需要再 vue.config.js 中使用 ModuleFederationPlugin按照 webpack 官方配置 此plugin后 重启服务报错信息如下 $ vue-cli-service serve ERROR Invalid options in…

[vue]Failed to resolve async component: function Header()

Failed to resolve async component: function Header() problem 想要使用 webpack ModuleFederationPlugin vue-cli5vue2webpack5 功能 app1(8080) provider 提供Header组件app2(8081) consumer 消费Header组件 配置 webpack app1 成功 export http://localhost:8080/r…

error TS2583: Cannot find name ‘WeakMap‘. Do you need to change your target library? Try changing th

error TS2583: Cannot find name ‘WeakMap’. Do you need to change your target library? Try changing the lib compiler option to es2015 or later. problem test.ts中包含使用 WeakMap, 执行tsc test.ts 时报错: error TS2583: Cannot find name WeakMap…

Uncaught ReferenceError: regeneratorRuntime is not defined

Uncaught ReferenceError: regeneratorRuntime is not defined problem react webpack 工程中使用 async await语法 控制台报错:Uncaught ReferenceError: regeneratorRuntime is not defined reason 缺少依赖包 solution yarn add -D babel/plugin-transfor…

[webpack-cli] TypeError: merge is not a function

[webpack-cli] TypeError: merge is not a function problem 使用 webpack-merge 合并配置 将webpack分成3个 webpack.common.jswebpack.dev.jswebpack.prod.js 启动命令 "start": "webpack serve --config webpack.dev.js","build": &quo…

实战:redux的基本使用

redux数据流 整体流程 初始化工程 创建react npm i create-react-app -g create-react-app react-redux-demo 添加react-redux npm i redux --save npm i react-redux --save 工程目录结构: [容器组件]连接[展示组件]和[store]展示组件《》容器组件connect《》s…