brew 安裝 yarn 時候失敗


1.mac 安裝 

brew install yarn

 

報錯

Error: Failure while executing; `git config --local --replace-all homebrew.analyticsmessage true` exited with 1.

 

解決辦法

 

在terminal輸入:

 

xcode-select --install

安裝成功之后可以解決

 

2.brew 安裝慢

1.cd "$(brew --repo)" && git remote set-url origin https://git.coding.net/homebrew/homebrew.git
2.cd ~
3.brew update

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM