Mac升级macOS Big Sur后homebrew失效了怎么

2022-02-25  本文已影响0人  Enrst

Mac升级macOS Big Sur后安装brew install node时报错

homebrew-core is a shallow clone.

To `brew update`, first run:

  git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

This command may take a few minutes to run due to the large size of the repository.

解决办法运行brew update-reset即可

运行结果如下即可正常执行brew install node

上一篇下一篇

猜你喜欢

热点阅读