Selasa, 30 Januari 2018

error when install brew on Mac OSX 10.12


error message:

fatal: cannot copy '/usr/local/git/share/git-core/templates/hooks/pre-receive.sample' to '/usr/local/Homebrew/.git/hooks/pre-receive.sample': Permission denied
Failed during: git init -q

solution:
sudo chown -R $USER /usr/local

source:  https://github.com/Homebrew/legacy-homebrew/issues/36262

Tidak ada komentar: