美文网首页
Mac升级macOS Big Sur后homebrew失效了怎么

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

作者: Enrst | 来源:发表于2022-02-25 14:55 被阅读0次

    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

    相关文章

      网友评论

          本文标题:Mac升级macOS Big Sur后homebrew失效了怎么

          本文链接:https://www.haomeiwen.com/subject/nhixrrtx.html