问题描述
我在安装Brew时遇到了一些麻烦.所以我做了以下事情:
I am having some trouble with brew installs. So I have done the following:
通过以下方式卸载自制软件:
Uninstalled homebrew with:
通过以下方式重新安装自制软件:
Reinstalled homebrew with:
已经是最新的.
$酿造医生
您的系统正在酝酿中.
尝试运行任何安装&我得到以下输出:
Try running any install & I get the following output:
错误:权限被拒绝-/Library/Caches/Homebrew/Formula/node.brewing
Error: Permission denied - /Library/Caches/Homebrew/Formula/node.brewing
这是怎么回事?这也给了我使用npm和yeoman的问题,我真的很想用它:(
What is going on here? This is also giving me issues with using npm and yeoman which I'd really like to use :(
推荐答案
您可能是与其他用户或以前与sudo
一起安装brew的吗?
Did you perhaps install brew with an other user, or with sudo
previously?
检查/Library/Caches/Homebrew
的权限,并通过更改其所有者或权限来强制它对您的用户可写.
Check the permissions of /Library/Caches/Homebrew
, and force it to be writable for your user, by either changing its owner, or its permissions.
您也可以尝试使用 https://gist.github.com/1173223,然后再次尝试安装.
You might also try to uninstall with something like https://gist.github.com/1173223 and try the install again.
这篇关于自制软件安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!