Open craigell opened 10 months ago
Unable to install NGINX Unit on Mac OS M1 running Ventura 13.5 with instructions from https://github.com/nginx/unit/#macos
Getting the following output.
`Cloning into '/opt/homebrew/Library/Taps/nginx/homebrew-unit'... fatal: 'git@githubnginx/homebrew-unit' does not appear to be a git repository fatal: Could not read from remote repository.
Hmm, shouldn't that be https://github.com/nginx/homebrew-unit
?, anyway this is perhaps better asked in the homebrew-unit repository... transferring...
Seems to work just fine here. I wonder if brew allows for some debug verbosity when running the commands?
I can see the origin is not garbled on my machine:
k.pavlov@QGCD7XG9R9 ~ $ cd "$(brew --repository nginx/unit)"
k.pavlov@QGCD7XG9R9 Taps/nginx/homebrew-unit $ fgrep nginx .git/config
url = https://github.com/nginx/homebrew-unit
Seems the issue is based around git@githubnginx/homebrew-unit
. This should be git@github.com:nginx/homebrew-unit.git
@craigell are you using a https
to ssh
alias? I'm not sure how the built-in git ones would remove the .com
, but looks like your local git
has decided not to use https
.
Keep in mind that git@github.com:nginx/homebrew-unit.git
will only work if you have a matching ssh key on GH...
Hi @craigell, have you been able to get to the bottom of the issue?
Unable to install NGINX Unit on Mac OS M1 running Ventura 13.5 with instructions from https://github.com/nginx/unit/#macos
Getting the following output.
`Cloning into '/opt/homebrew/Library/Taps/nginx/homebrew-unit'... fatal: 'git@githubnginx/homebrew-unit' does not appear to be a git repository fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. Error: Failure while executing;
git clone https://github.com/nginx/homebrew-unit /opt/homebrew/Library/Taps/nginx/homebrew-unit --origin=origin --template=
exited with 128.`