700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > sudo brew install mongodb报错

sudo brew install mongodb报错

时间:2022-09-21 21:46:15

相关推荐

sudo brew install mongodb报错

报错信息如下:

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.

解决方法:

命令:sudo chown -R 用户名 /usr/local

再次报错:chown: /usr/local: Operation not permitted

在High Sierra版本中已经不能这么使用了,应该这么使用:

sudo chown -R $(whoami) $(brew --prefix)/*

brew install mongodb

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。