报错信息如下:
Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system.
解决方法:修改/user/local文件所有者为自己,命令为:sudo chown -R 用户名 /usr/local
再次:brew install erlang 即可。
本文介绍了解决使用Homebrew时遇到的权限错误的方法。通过修改/usr/local文件夹的所有权给自己,可以避免运行Homebrew时产生的风险,并顺利完成安装。

445

被折叠的 条评论
为什么被折叠?



